I'm seeing framerates that are either 1 or zero depending on the size of the polygon I draw on camera.html. This is using Chrome Dev Beta Version 66.0.3346.8 on a MacBook Pro (Retina, 15-inch, Mid 2014). Camera is a Logitech BRIO via USB.
I ran some basic profiling in Chrome and as expected it looks like a lot of time is spent in the compiled opencv code.
I'm wondering if I need to write some code that uses WebGL to analyze the frame or if there's another simpler approach here that will work.
Has much effort been put into performance yet? Any low hanging fruit I can help investigate?
I'm seeing framerates that are either 1 or zero depending on the size of the polygon I draw on camera.html. This is using Chrome Dev Beta Version 66.0.3346.8 on a MacBook Pro (Retina, 15-inch, Mid 2014). Camera is a Logitech BRIO via USB.
I ran some basic profiling in Chrome and as expected it looks like a lot of time is spent in the compiled opencv code.
I'm wondering if I need to write some code that uses WebGL to analyze the frame or if there's another simpler approach here that will work.
Has much effort been put into performance yet? Any low hanging fruit I can help investigate?