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:
- 12:fdada4af384a
- Parent:
- 11:418e39749f48
- Child:
- 13:63f9a5101205
diff -r 418e39749f48 -r fdada4af384a camera_api.cpp --- a/camera_api.cpp Sat Jun 28 05:43:23 2014 +0000 +++ b/camera_api.cpp Sat Jun 28 06:33:28 2014 +0000 @@ -223,14 +223,14 @@ case 0x01: - if(f1==false&&sign_line_imageR[i]==' ') { + if(f1==false&&sign_line_imageL[i]==' ') { if(f1==false) { b_start=i; f1=true; } } - if(f1== true&& f2==false&&sign_line_imageR[i]=='O') { + if(f1== true&& f2==false&&sign_line_imageL[i]=='O') { if(f2==false) { b_end=i-1; f2=true; @@ -238,14 +238,14 @@ } - if(f3==false&&sign_line_imageR[j]==' ') { + if(f3==false&&sign_line_imageL[j]==' ') { if(f3==false) { b2_end=j; f3=true; } } - if(f3==true&&f4==false&&sign_line_imageR[j]=='O') { + if(f3==true&&f4==false&&sign_line_imageL[j]=='O') { if(f4==false) { b2_start=j-1; f4=true; @@ -259,7 +259,7 @@ case 0x02: - if(sign_line_imageR[i]=='O') { + if(sign_line_imageL[i]=='O') { if(f1==false) { b_end=i; @@ -267,7 +267,7 @@ } } - if(sign_line_imageR[j]=='O') { + if(sign_line_imageL[j]=='O') { if(f2==false) { b_start=j;