Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   OpenCV Troubles (http://www.chiefdelphi.com/forums/showthread.php?t=134593)

connor_shaffer 14-02-2015 15:25

OpenCV Troubles
 
2 Attachment(s)
I am currently working on vision tracking for my team, and while I have been very successful, I ran into a recent roadblock. Unfortunately, when writing files to the roborio to view them, I have had the following images show up, and they appear to be a combination of the images I have used across the various stages in my vision program. Does anyone know how I could fix this? And fyi, it isn't consistent in whether or not it will have interference.

connor_shaffer 16-02-2015 11:27

Re: OpenCV Troubles
 
So I found a solution in case anyone else runs into this problem, I had to initialize my Mat in such a way as to set the starting value of each pixel, using the constructor Mat(int rows, int cols, int type, Scalar newVal)


All times are GMT -5. The time now is 22:25.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi