|
Re: Corrupt jpg data when using OpenCv on roboRIO
Alright, we have solved our issue above, however we ran into another issue when saving an image from the sub camera to the roboRio. Whenever we save an image through converting the image to a mat and using imwrite, all we get is a uniform gray image. We can get a regular image to the smart dashboard using the camera server class without modification, but as soon as we bring it into Opencv, it breaks the image.
Any suggestions?
|