Try running the application in release instead of debug in case it’s a performance problem. Also cameras might lower the fps to get a brighter image if there’s not much light, try also adding more light to see if that makes any differece
I was running it in release : ( I also tried put more lights around the camera. It still lags.
I used to try doing this in unity and the result was the same. Then I found an asset which could make the logitech webcam turn to use mjpg format instead of YUY2. And the performance is better, around 30 fps. I am thinking if I can use mjpg format in OF to solve this problem.
Hi @arturo, I still need 1080p webcam to run at high fps. I wonder if it is possible to do it in windows by using some other libraries instead of videoGrabber. Do you have any advice? Thanks in advance!
you could try ofxGStreamer but i’m not sure that the video grabber works well in windows. other than that the only solution i can think of is modifying the ofDirectShowGrabber class to add support for compressed formats.