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
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