![]() |
Using JavaCV to detect Rectangles
I'm currently using JavaCV to detect rectangles. However, I cannot get CvArr to work, and because of this, I cannot get cvConvexHull to work.
Is there any source for something like this? Could I get some assistance? |
Re: Using JavaCV to detect Rectangles
OpenCV refers to CvArr as "metatype", "used only as a function parameter". JavaCV implements this by making CvArr the superclass of the types it stands in for, like IplImage and CvSeq. It's not really supposed to be used on its own. What issues are you having exactly?
http://opencv.willowgarage.com/documentation/index.html is a must-have site for OpenCV programming if you're looking for reference material. |
Re: Using JavaCV to detect Rectangles
I'm specifically having problems with detecting corners and drawing lines between them.
I have it threshholded right now, however any and all methods I try to use to detect the corners have yet to work. |
Re: Using JavaCV to detect Rectangles
What methods are you using? What are they doing instead of working? I don't think I can help you properly without more information.
|
Re: Using JavaCV to detect Rectangles
I have that problem as well, when I try this code, it compiles but when I use it I get errors.
Code:
public static WPIContour[] findConvexContours(WPIBinaryImage image) |
| All times are GMT -5. The time now is 09:51. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi