I was already searching through forums and this stack exchange but I couldn't find anything that helps.
So here is my problem. I have written a program in Java that analyzes pictures and outputs certain information, the algorithm itself certainly is fast enough, so there is no problem here. I am using hodping/jrpicam as my library, which is based on raspistill. I need to analyze multiple pictures per second, raspistill needs about .8s to take a picture which is just too long.
The pictures don't need to be of high quality and have a resoultion of 300x300. I have checked with other libraries and found nothing suitable in Java, but for Python. Picam apparently uses the videoport and raspivid, and with that is able to provide high FPS counts, as expected.
I would like to stick with Java since the program is quite complex. So is there an equivalent to picam in Java or any library that could provide the needed speed? If not do you guys have any other idea on how to get a higher framerate (10 FPS would be sufficient)?