Question

I am getting image captured from vuforia as RGB888 bytes[] . I want to pass this to zbar which is expecting the format to be Y800 . How can i do that.

i tried

Image barcode = new Image(width, height, "RGB3");

    barcode.setData(imgRGB888);
    int result = scanner.scanImage(barcode.convert("Y800"));

but its not giving right result

Was it helpful?

Solution

check this Thread and Review Your Full Code :

http://sourceforge.net/p/zbar/discussion/2308158/thread/ce0d36f8

By the Way : zbar Accepts "GREY" format too

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top