Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Boboobooov4 by
Diff: camera_api.cpp
- Revision:
- 17:3dac99cf2b89
- Parent:
- 16:b78dce5c0e98
- Child:
- 19:4869b10a962e
diff -r b78dce5c0e98 -r 3dac99cf2b89 camera_api.cpp --- a/camera_api.cpp Sun Jun 29 14:32:30 2014 +0000 +++ b/camera_api.cpp Mon Jun 30 03:37:05 2014 +0000 @@ -84,7 +84,7 @@ int b_thr_dn=5; int b_w=0; - for(int i=r_care;i>l_care;i--){ + for(int i=l_care;i<r_care;i++){ if(l_f1==false&&sign_line_imageL[i]==' '){ @@ -98,7 +98,7 @@ } if(l_f1==true && l_f2== true){ - b_w=b_start-b_end; + b_w=b_end-b_start; if( b_thr_up>b_w&&b_w> b_thr_dn){ find=true;