![]() Only YUYV frame data is supported! If you want to support other camera formats, add interfaces as what I did. The library is also capable of using getUserMedia to get direct access to the user's camera stream. Bool ConvertCameraGrayDataToDIBBuffer ( unsigned char * psrc, int size, int width, int height, unsigned char ** ppdist, int * psize ) // gray conversion ConvertCameraGrayDataToDIBBuffer ( data, size, width, height, & pdibdata, & dibsize ) // read barcode ret = DBR_DecodeBuffer ( pdibdata, dibsize, & ro, & pResults ) // release memory delete data, data = NULL delete pdibdata, pdibdata = NULL QuaggaJS is a barcode-scanner entirely written in JavaScript supporting real- time localization and decoding of various types of barcodes such as EAN, CODE 128, CODE 39, EAN 8, UPC-A, UPC-C, I2of5, 2of5, CODE 93 and CODABAR. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |