Go to Post Before you fix something, it's worthwhile to make a concerted effort to figure out why it failed. - Ether [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2017, 07:10
Noam Noam is offline
Registered User
None #3034 (galileo)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Israel
Posts: 13
Noam is an unknown quantity at this point
image processing using opencv - how to combine with the bobot code

I have code for image processing using opencv, and i'm trying to combine it with the robot code - now I have just a opencv program, that find the reflective (and the size and the position of the reflective) - when the camera is connected to the computer. How can I combine the opencv code, with the robot code ?

Thanks in advance
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2017, 07:23
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 377
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: image processing using opencv - how to combine with the bobot code

OpenCV is now included in WPILib projects. So just copy and paste your OpenCV processing code into your robot program, and use cscore to get Mats from a USB or AXIS camera connected to the roboRIO.
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2017, 11:01
Noam Noam is offline
Registered User
None #3034 (galileo)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Israel
Posts: 13
Noam is an unknown quantity at this point
Re: image processing using opencv - how to combine with the bobot code

Quote:
Originally Posted by euhlmann View Post
OpenCV is now included in WPILib projects. So just copy and paste your OpenCV processing code into your robot program, and use cscore to get Mats from a USB or AXIS camera connected to the roboRIO.
oh ok thanks

so what I need to write instead of mat, rect, imgproc, matofpoint, matofpoint2f, cvtype, scalar, size, and etc..?
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2017, 11:31
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 136
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: image processing using opencv - how to combine with the bobot code

You can use GRIP to generate code straight into your robot project. See the Screensteps pages
__________________
WPILib
GRIP, RobotBuilder
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2017, 16:19
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 377
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: image processing using opencv - how to combine with the bobot code

Quote:
Originally Posted by Noam View Post
oh ok thanks

so what I need to write instead of mat, rect, imgproc, matofpoint, matofpoint2f, cvtype, scalar, size, and etc..?
Nothing. As I said already, OpenCV is included. So go ahead and use mat, rect, imgproc, etc
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
Reply


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 12:58.

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