Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Can JeVois output bounding box coordinate data?

0 votes
I haven't gotten my JeVois Smart Camera yet, but a question came to mind that I wanted to ask beforehand: can the JeVois output simple coordinates for a target's bounding box?

I'm working with a team that needs a robot with simple vision capabilities and approaching colored targets is one task we'd like to accomplish. The way I planned to do this was to have a bounding box drawn around the target and then get information about the coordinates of its corners. I don't really care about the image itself, only the coordinates so the robot can find centers and rotate to bring them into the middle of the image.

Is the JeVois capable of doing this? The robot's processor is a NI roboRIO, which has USB A and B ports, I2C, SPI, RS232, analog inputs, and an expansion port. I'll have a link to the device itself along with the expansion port's pinout below.

Any advice is appreciated. I'm not afraid to make changes to the JeVois itself to accomplish this goal, but I'm unfamiliar with it and will probably need a bit of guidance in that direction. Thank you!

https://forums.ni.com/t5/FIRST-Robotics-Competition/roboRIO-Details-and-Specifications/ta-p/3494658

https://forums.ni.com/t5/FIRST-Robotics-Competition/roboRIO-MXP-Developer-s-Guide/ta-p/3532923
asked Dec 1, 2017 in Programmer Questions by carson.fitz (140 points)

1 Answer

0 votes
Hi Carson,
The simple answer is yes.
Please reach out to me on Chief Delphi, I am Billbo911.
I am putting together a Whitepaper on using JeVois in FRC.
In the meantime,  OpenCV will provide the following when it creates a Bounding rectangle.

(X  , Y , Height , Width).  X and Y are the top left corner of the rectangle in the image matrix. Height and width of the rectangle are the next two parameters. You can calculate the four corners from that data set. Sending that data out to the robot controller (RoboRio) is then a simple matter of sending it over the hardware serial port or USB.
answered Dec 2, 2017 by Billbo911 (1,110 points)
...