"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Extracting camera frame

Hello, in the ImageTargetsRender.Java in renderFrame function i want to call a CR Code library to check the frame for code detection. Basicly what i want is that the app will check for each frame if there is a trackable found and if not i want to send the frame to another library to check if there is a QR Code detection, How can it be done ? Where can i get the camera frame in code? Thanks

Take a look at the Frame and Image classes. Start with the State object returned by the QCAR::Renderer::getInstance().begin() method. From there you can access the Frame object, and from the Frame object you can loop through the available Image objects and choose the one with the correct format.

Thanks for the answer, Can you please show me how can i pass the data back to Java? I would like to use the image bytes in java Thanks