Hi, I am building a library for camera input processing and I would like to expose an image preview for apps (including Juce apps) that use my library.
I am using OpenCV but I don’t want my client apps to care anything about it. So the way I have chosen to do this for now is to expose an unsigned char * (pointing to an array of pixel values) and provide the image height, image width, and channels (1, grayscale or 3, RGB) to the client.
What is the best way to preview this image (at 30 fps) in Juce? Keep in mind I am a Juce beginner.