JJRobots COMMUNITY

Full Version: Camera settings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi I can't get the vision system to reliably pick up the puck or the robot. The camera color balance drives the table to a yellowish color. If I go to the camera app, I can change settings and get a bright white table and saturated colors for the puck and robot. Is there a way to use the camera app settings in the robot app? Or is there a way to change settings other than ISO?
greg
Which Android version are you using? How many FPS can you achieve (check the value on the smartphone screen when the APP is running). Are you using the CALIBRATION OPTION of the control APP?
A tip: You can use different colors for the PUCK and Robot not just the ones of the foams provided. But remember to recalibrate the control APP if you are using another options
The Android version is 7.1.1. The video is running at 30 fps. I have tried manual calibration of the puck and robot. I have used different color pieces of paper to try and get as blue and green as I can from the camera's point of view, re-calibrating each time. I have tried different ISO settings in that calibration menu.
greg
This is strange. Which smartphone is it?
Try re-positioning the smartphone closer to the zenith in order to avoid light/objects reflections on the playing court.
Which color did you use for the 3D parts?
Can you use another smartphone just to discard any camera problem?
The primary device is Galaxy Tab A. The smartphone I used is a Moto Z running 8.0.0. There was no difference. I tried a bunch of different orientations and lighting conditions. The robot is blue. I've tried a few different shades of blue to get the image on the phone as blue as possible. Used a bigger target as well.

One thing I have found is blocking some of the image in front of the camera will cause the camera system to turn up the brightness and it looks like the system sees the two targets better. The +'s are in the right place and the app draws a trajectory line on the puck. If I do that though some of the "playable area" is blocked, so that doesn't really work as a solution.
thanks
greg
Could you upload some screencaptures of what the smartphone is "seeing" while it misbehave?
Hmm.... Keep the size the of both foam circles as indicated in the assembly guide. The control APP will use the size of the foam circle as an object to detect feature. From the second photo: It looks like the light is not enough for the smartphone camera. Check the illumination of the playing court on this photo: https://www.jjrobots.com/wp-content/uplo...12/fps.jpg
Hi
Thanks for the response. There are two 1000W halogen lights above the table about 2 feet. It's not realistic for me to put bigger lights in. They have very bright white light. If that's not enough, then this won't be feasible for me to do.
thanks
greg
(11-29-2018 03:19 PM)nagspohn Wrote: [ -> ]Hi
Thanks for the response. There are two 1000W halogen lights above the table about 2 feet. It's not realistic for me to put bigger lights in. They have very bright white light. If that's not enough, then this won't be feasible for me to do.
thanks
greg
Those are more than enough. Actually, a lot. This is strange. Could you try with less illumination?
To be on the same page:
- The foam circles have the right diameter
- You have tried two different cameras /smartphones and they can reach 30fps
- You have change the tilt angle of the camera
- The camera is not detecting other features on the playing field than the circles (when they are detected)...
Pages: 1 2
Reference URL's