wu

Dependencies:   mbed-rtos mbed

Fork of Bov3 by kao yi

Revision:
12:fdada4af384a
Parent:
11:418e39749f48
Child:
13:63f9a5101205
--- 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;