Go to Post To help keep the kids on top of their game, I remind them that the school board considers a grade of 97 an A , so we can lose 3% of the kids and still be considered excellent. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 20-01-2017, 02:10
soundfx's Avatar
soundfx soundfx is offline
Registered User
AKA: Aaron J
FRC #3238 (Cyborg Ferrets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Anacortes, WA
Posts: 21
soundfx is an unknown quantity at this point
Re: Multiple Vision Targets using GRIP

The findContours method used by GRIP should generate a list of contours (MatOfPoint), and it shouldn't be limited to just one contour. I'm not too familiar with grip generated code, but you should be able to modify it if needed to either get the full list of contours or get the first and second contours.
Our team has an example based off of grip's generated code that allows getting the full list of contours here. You can tune that to accept both contours.
__________________


"I got 99 problems but 0.999 ain't 1."
~Orteil
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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