
captor03
USA
Asked
— Edited
Hi,
The camera tracking isn't as "right on" as in the tutorial. I'll walk or wave my hand past the robots head, and it will start to follow, but then it will go the other way, then back again. Its definitely not locked in as in the Omnibot tutorial.
The head also will flutter back and forth at times, and the picture is shaky.
Any hints?
Thanks, Den
Camera resolution is unimportant for face tracking, low resolution will still track very well. QR Codes, Glyphs, custom HAAR etc. probably could benefit from a higher resolution but face tracking doesn't. This has been covered by a previous topic on here.
Video processing for the basic commands in ARC doesn't require a lot of resources. I have been testing my build on my HTPC whilst streaming HD movies or FLAC music and running other things in the background too and it has had very few problems (the only slow down was during poorly encoded 1080p movies), my HTPC is old and only runs 4Gb Ram and a dual core 2Ghz AMD CPU so is pretty much classed as a low end machine these days.
Lighting is the main issue with tracking anything, then for some things resolution (although the EZ-Kit camera has good enough resolution, as do pretty much all currently available cameras)
here is some more ideas you can try,look at the camera and adjust the settings for best picture and add light and see what happen,in a house there are many lighting factors that can be a problem.night and day,window blinds open or closed ,dark room he enters
So to fix this you need a light detector ,witch is fairly simple sensor ,some use photocells and some use IR diodes and then measure LUX in volts using analog input and values to adjust the lighting conditions i am mostly a expert at sensors all types ,if you need info on this type let me know
I AM DEALING WITH CAMERA,S alot and most you said are kinda wrong ,quality of camera is very important I have over 20 different camera and testing them for face tracking for a long time and the quality of the camera helps a,lot,maybe not as much in EZB that i will start testing on sometime soon,but should not make any difference
RICH how many camera's do you have and tested
ON VIDEO processing speed there is a simple test ,windows task manager and look at performance then cpu and memory usage
Here we go again...
I'm sure the resolution issue was commented on by DJ in a previous topic and that is what I based my reply on. Personally I will take the words of the guy who wrote the software over anyone else. What I have is unimportant, as stated the EZ-Kit camera is good enough for tracking testing other cameras would be redundant.
Windows task manager is not a very good tool for benchmarking and logging, it's also relative to your specific set up, a CPU load of 25% on one PC could be a lot different on another due to CPU speed and number of active cores.
Very soon will be doing some tests on ez-robot bluetooth camera ,using my computer and windows task manager and see if i can take a snapshot video processing power on the task manager depends on how many programs are installed in a computer.
then i will post the results if you want to do it you can
RICH you your self said i am a expert at sensors like you on software
ALL i do is test every type of sensor ever made and a lot at my work and a camera is a sensor,i posted long time back my results in a robot club photos and more data of almost every type of web camera's using OPENCV for face tracking.
Now so far not tested a bluetooth camera on EZB ,that will be my next test using facetrracking and more,SO RIGHT now hard to say who wrong or right.
But at least on using usb webcamera makes a big difference,using a faster frame per second rate and higher resolution and then in software set it at lower resolution for faster processing power
DJ may be right ,but the tests are much better,only ones i have are USB types and they may give better tracking ,may not be needed but can make it better.
Hi,
I worked with the robot tonight, and in the camera configuration - the box for the horizontal increment - what is a good setting? I raised it up to 30 and it seems to be working better. Strange thing is when the head follows something the motors get a quick surge, and the robot jars like the tracking is affecting the control for it.
Also how many frames should it check for under the motion screen? I have 7.
I put the robot on a block and let the motors run. Standing behind it I put my hand in front of the camera to see if the head will turn and the motors shut off.
Thanks, Den
Ok, I may have made progress. Inside the grid there is a blue box that captured the red ball. The head keeps turning back and forth, when the picture changes when the head turns back and forth, the ball remains in the box. The head just won't stop moving.
Until have my camera setup made ,cant help you yet my setup is simple a pan and tilt on a board and using EZB and a script,plus using different lighting conditions,then for the output instead of motors i am using leds ,red and green for forward and reverse. I do have a motor controller like the one DJ is selling only with LEDS so i might use that.
May be RICH or others might be able to help you with settings.
After i done my testing will do a new post on my findings.