OpenFTC / EasyOpenCV

Finally, a straightforward and easy way to use OpenCV on an FTC robot!
213 stars 95 forks source link

startStreaming() does not send frames to processFrame() after a call to stopStreaming() #65

Closed ftc14140 closed 1 year ago

ftc14140 commented 1 year ago

After a call to stopStreaming(), a subsequent call to startStreaming() on the same webcam does not result in further frames being sent to the attached pipeline. Logs are attached for the events after the initial call to start, the call to stop, and the subsequent call to (re)start.

start.txt stop.txt restart.txt

Windwoes commented 1 year ago

Wow, how has this bug not been found before now? It's specific to webcams, and usually I just test with the internal camera so I guess that's how I didn't notice it, but surprised nobody else has.

Fixed in https://github.com/OpenFTC/EasyOpenCV/commit/4d050a5cb13daa3c81f5fadc478aabe8477068ca

Will turn the release crank for a new point release soon.

Windwoes commented 1 year ago

Fixed in v1.6.1