Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.

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!


asked Dec 1 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 by Billbo911 (390 points)