Go to Post "How do we make our team be like your team?" That's the sort of question everyone should be asking of these so-called "elite" or "powerhouse" teams. - sanddrag [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 28-01-2017, 08:47
AutomationFTW's Avatar
AutomationFTW AutomationFTW is offline
Registered User
FRC #5829
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Houston
Posts: 17
AutomationFTW can only hope to improve
Pipeline camera image to roborealm?

Is there a way to send a camera image through roborealm with the robofile for procesing in java?
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2017, 17:39
RoboRealm RoboRealm is offline
Registered User
FRC #0443
 
Join Date: Nov 2011
Location: United States
Posts: 36
RoboRealm is a jewel in the roughRoboRealm is a jewel in the roughRoboRealm is a jewel in the roughRoboRealm is a jewel in the rough
Re: Pipeline camera image to roborealm?

Yes, you can use the API:

http://www.roborealm.com/help/API.php

and download the examples on

http://www.roborealm.com/downloads/API.zip

which include a Java version. Inside the RR_API.java you will see a

public boolean setImage(String name, byte pixels[], int width, int height)

which can be used to send an image into RR via Java assuming you have access to the RGB pixel data. Alternatively, you can just plug your webcam into RR and grab the image out of it in a similar manner.

STeven.
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 09:46.

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