View Single Post
  #7   Spotlight this post!  
Unread 21-01-2017, 12:02
Storcky's Avatar
Storcky Storcky is offline
Registered User
FRC #3634 (Hard Botties)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Oakland, MD
Posts: 128
Storcky is on a distinguished road
Re: 2017 Bridge Connection Issues

Figured it out. We had GRIP running which was also connected to the webcam.

However, now we're running into a different problem.

Code:
CS: ERROR: Blur: PutFrame: 2-channel images not supported (CvSourceImpl.cpp:125)
The CameraServer code doesn't appear to have much documentation on the types of Mats allowed. The filterContoursOutput returns ArrayList<MapOfPoint>. Any suggestions on how to display the results of the pipeline on the SmartDashboard for debugging purposes? Ideally, the output would be the same as the final stage of the GRIP pipeline.

Current pipeline:
blur (Mat) -> hsvThreshold (Mat) -> findContours (ArrayList<MatOfPoint>) -> filterContours (ArrayList<MatOfPoint>)
__________________
Alum of 1629 - GaCo [2005-2008]
Mentor for 3634 - Hard Botties [2013-2015]
Mentor for 230 - Gaelhawks [2013-2015]
Pittsburgh Regional Planning Committee [2016-?]

Last edited by Storcky : 21-01-2017 at 13:03. Reason: Added new issue with the code.
Reply With Quote