|
Re: Error while processing images through OpenCV pipeline
This error occurs when you have opened 10 or more output streams, which you are presumably not trying to do. However, because you put the code that opens an output stream in the vision thread, and start the vision thread each time you run the constructor of this command, it is possible that this code will run multiple times and open a new stream each time. To remedy this you should probably create a single instance of the output stream and access it through the RobotMap instead of creating one each time you construct this command. Hope this helps.
|