문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top