Logo Search packages:      
Sourcecode: zebra version File versions  Download package

zebra_scanner_t* zebra_scanner_create ( zebra_decoder_t decoder  ) 

constructor. if decoder is non-NULL it will be attached to scanner and called automatically at each new edge current color is initialized to ZEBRA_SPACE (so an initial BAR->SPACE transition may be discarded)

Definition at line 77 of file scanner.c.

References zebra_scanner_create(), and zebra_scanner_reset().

Referenced by zebra::Scanner::Scanner(), zebra_image_scanner_create(), and zebra_scanner_create().

    zebra_scanner_t *scn = malloc(sizeof(zebra_scanner_t));
    scn->decoder = dcode;
    scn->y1_min_thresh = ZEBRA_SCANNER_THRESH_MIN;

Generated by  Doxygen 1.6.0   Back to index