|
Re: Error while processing images through OpenCV pipeline
Thanks for the responses guys!
Regarding the 15 second thread sleep: Fromhttps://wpilib.screenstepslive.com/s/4485/m/24194/l/288984-camera-settings
"To custom-calibrate the white balance, place a known neutral object in front of the camera. A sheet of white paper is a reasonable object to start with. Set the white balance setting to auto, wait for the camera to update its filters (ten seconds or so), and switch the white balance to hold."
I'll move the code that creates the stream and server outside of the command and put it into RobotMap. I'll also try to move the thread outside of the constructor to see if that works.
Thanks for the help, I'll respond back if any of these end up not working or if a new issue arises due to this!
- Team 1245 Programming
|