![]() |
Re: Tracking Rectangles with Java/C++
Quote:
|
Re: Tracking Rectangles with Java/C++
Quote:
|
Re: Tracking Rectangles with Java/C++
Quote:
How exactly are you guys accomplishing that? Power connection, networking? Not sure how that would be done as we're also thinking of doing that. |
Re: Tracking Rectangles with Java/C++
I'm working on this problem in Java. Am I crazy or do they only make a method available for detcting ellipses and nothing else? Can we, at least, access the values for individual pixels? That way, if they give us nothing else, we could at-least write our own image processing algorithms.
|
I believe opencv and the axiscamera's JPEG is your best shot
|
Re: Tracking Rectangles with Java/C++
basicxman, I tried the code you suggested and I found that we were finding a ridiculous amount of rectangles(around 42 million). Do you have any idea why this is happening? Also, is there any documentation for the imaqDetectRectangles function?
|
Re: Tracking Rectangles with Java/C++
Quote:
|
Re: Tracking Rectangles with Java/C++
I have a sheet of printer paper with the target(with correct proportions) printed on it except where the retro-reflective tape would be, we just printed green. I am then extracting the green plane and going from there.
|
Re: Tracking Rectangles with Java/C++
Our team is also trying to figure out how to track the rectangles. Ive been spending a few hours or so looking over nivision.h as well as a few white papers and i seem to have gotten this far:
Code:
|
Re: Tracking Rectangles with Java/C++
Quote:
|
Re: Tracking Rectangles with Java/C++
Quote:
Quote:
|
Re: Tracking Rectangles with Java/C++
Would this be how to use the detectRectangles function in java. We looked at the ellipseDetect and I am thinking that hey do the same thing just based on different descriptors.
Code:
private static final BlockingFunction imaqDetectRectanglesFn = |
Re: Tracking Rectangles with Java/C++
Quote:
|
Re: Tracking Rectangles with Java/C++
What is imaqConvexHull() returning to? I have it returning to an integer but what value does the integer have?
|
Re: Tracking Rectangles with Java/C++
From the CVI documentation,
Return Value Type Description int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). Greg McKaskle |
| All times are GMT -5. The time now is 18:13. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi