03-09-2020 05:35 AM
Hi everyone, I am trying to acquire a cloud of points using a camera. The camera takes RGB images really fast (250 fps). I have to process the images to save the cloud of points, the cloud of points should have the pixel coordinates of the pixels over a threshold. I convert the image to grayscale but it takes to much time around 4 ms, after this function, I use a dll and it takes also 5 ms and the result is 100 fps. How could I optimize the process?.
03-09-2020 08:45 AM
Since you did not post your code we have to guess at what you are currently doing with your code.
I would have one loop that acquires your images and dumps them to a queue. I would have a second loop that processes the images in the queue. You cam process more than one picture at a time so this should help with getting the frame rate closer to what you are trying to achieve.