get_line2 209 lib/gocr/gocr.h int get_line2(int x0, int y0, int x1, int y1, pix *p, int cs, int ret); get_line2 1464 lib/gocr/ocr0.c if( get_line2(xa,ya,xc,yc,bp,cs,100)<95 ) Break; get_line2 1468 lib/gocr/ocr0.c if( get_line2(xb,yb,xd,yd,bp,cs,100)<95 ) // right up get_line2 1469 lib/gocr/ocr0.c if( get_line2(xb-i/2,yb,xd,yd,bp,cs,100)<95 ) Break; get_line2 1470 lib/gocr/ocr0.c if( get_line2(xe,ye,xf,yf,bp,cs,100)<95 ) Break; // right down get_line2 3198 lib/gocr/ocr0.c if( get_line2(xb,yb,xd,yd,bp,cs,100)<95 ) Break; get_line2 3258 lib/gocr/ocr0.c if( get_line2(xa,ya,xc ,yc,bp,cs,100)<95 get_line2 3259 lib/gocr/ocr0.c && get_line2(xa,ya,xc-1,yc,bp,cs,100)<95 ) Break; get_line2 3261 lib/gocr/ocr0.c if( get_line2(xb,yb,xc ,yc,bp,cs,100)<95 get_line2 3262 lib/gocr/ocr0.c && get_line2(xb,yb,xc-1,yc,bp,cs,100)<95 ) { get_line2 3266 lib/gocr/ocr0.c if( get_line2(xb,yb,xc ,yc,bp,cs,100)<95 ) Break; get_line2 3268 lib/gocr/ocr0.c if( get_line2(xc,yc,xd,yd,bp,cs,100)<95 ) Break; get_line2 3273 lib/gocr/ocr0.c if( get_line2(xa,ya,xd ,yd,bp,cs,100)>95 ) get_line2 3274 lib/gocr/ocr0.c if( get_line2(xb,yb,xd ,yd,bp,cs,100)>95 ) get_line2 3497 lib/gocr/ocr0.c if( get_line2(x,1,xb,yb,bp,cs,100)>94 ) break; get_line2 3499 lib/gocr/ocr0.c if( get_line2(xb,yb-1,xc,ya ,bp,cs,100)<95 get_line2 3500 lib/gocr/ocr0.c && get_line2(xb,yb-1,xc,ya+dy/32,bp,cs,100)<95 get_line2 3501 lib/gocr/ocr0.c && get_line2(xb,yb-1,xc,ya+dy/16,bp,cs,100)<95 ) Break; get_line2 3502 lib/gocr/ocr0.c if( get_line2(xc, ya,xd, yb,bp,cs,100)<95 get_line2 3503 lib/gocr/ocr0.c && get_line2(xc+1,ya,xd, yb,bp,cs,100)<95 ) Break; get_line2 3504 lib/gocr/ocr0.c if( get_line2(xd,yb,xe ,1+dy/16,bp,cs,100)<95 get_line2 3505 lib/gocr/ocr0.c && get_line2(xd,yb,dx-1 ,1+dy/8 ,bp,cs,100)<95 // round w get_line2 3506 lib/gocr/ocr0.c && get_line2(xd,yb,xe+dx/20,1+dy/16,bp,cs,100)<95 ) Break; get_line2 4838 lib/gocr/ocr0.c if( get_line2(i1,dy/8,i2,dy-1-dy/8,bp,cs,100)<95 ) Break; get_line2 5542 lib/gocr/ocr0.c ad= get_line2(i1,y0,i2,y1,box1->p,cs,100)*ad/100; get_line2 5688 lib/gocr/ocr0.c dbg[0]=i=get_line2(x,y,x ,0,bp,cs,100); if(i<95) Break; get_line2 5692 lib/gocr/ocr0.c dbg[1]=i=get_line2(0,y,dx-1,y,bp,cs,100); if(i<95) Break; get_line2 5697 lib/gocr/ocr0.c i=get_line2(x,y,(5*dx+4)/8,dy-1,bp,cs,100); get_line2 5698 lib/gocr/ocr0.c j=get_line2(x,y,(6*dx+4)/8,dy-1,bp,cs,100); if(j>i) dbg[2]=i=j; get_line2 5701 lib/gocr/ocr0.c dbg[3]=i=get_line2(x, y,(2*dx+4)/8,dy-1,bp,cs,100); if(i<95) Break; // straight up get_line2 5704 lib/gocr/ocr0.c dbg[5]=i=get_line2( dx/4,dy/4, 0,0,bp,cs,101); if(i<95) Break; // upper left gap get_line2 5705 lib/gocr/ocr0.c dbg[6]=i=get_line2(dx-1-dx/4,dy/4,dx-1,0,bp,cs,101); if(i<95) Break; // upper right gap get_line2 5723 lib/gocr/ocr0.c dbg[0]=i=get_line2(0,dy-2-dy/8,dx-1,dy/8,bp,cs,100); if(i<95) Break; // black upwarts beam get_line2 5724 lib/gocr/ocr0.c dbg[1]=i=get_line2(0,dy/8,dx-1,dy-2-dy/8,bp,cs,100); if(i<95) Break; // black downwards beam get_line2 5726 lib/gocr/ocr0.c dbg[2]=i=get_line2(dx/2,0,dx/2, dy-1,bp,cs,100); if(i<95) Break; get_line2 246 lib/gocr/ocr0n.c if( get_line2(i1,0,i2,dy-1,bp,cs,100)<95 ) { // dont work for ocr-a-1 get_line2 248 lib/gocr/ocr0n.c if( get_line2(i1,0,i2,dy-1,bp,cs,100)<95 ) Break; get_line2 46 lib/gocr/ocr1.c if( get_line2(x1,y1,x2,y2,b,cs,100)>99 )