Asked — Edited

Camera Motion

Hi guys! I have been trying to get my box robot up and running but cant get past the camera tracking. It just wont follow me or any colors. I have checked with motion control and everything is A O.K! I just find that the videos for helping are dated when it comes to the new software which becomes frustrating and at times over whelming! I must be getting it all wrong with the Script for Command Contrals! But what D.J Sures suggests does not exist anymore on the list! I love Robots and would just like some help! PLEASE! I have the new 16.0 version. Thanks!


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

United Kingdom
#17  

Hi are you tracking in both X & Y? as you have the Y axis servo invert direction ticked but with no servo movement possible as Min is set to 45 and Max is set to 45 as well

I would avoid D0 as a port in case you want to use it for another control

Try tracking a colored object 1st and adjust the color control carefully so the object is solidly highlighted by the camera control. Room lighting looks ok though

I drew a simple face on a piece of paper that was easier to move around in front of the camera rather than my own face. I also wear glasses and have noticed that wearing them sometimes the detection isn't as good

Also try using the custom Haar control and load up haarcascade_frontalface_alt2.xml from the example site listed.

I found that the highest camera resolution worked best for me on Face detection as I didn't get many false squares popping up which are smaller

United Kingdom
#18  

Also adjust your brightness on the settings, the lighting in my house is very dim (that's energy saving LED lamps for you...) but when increasing the brightness detection was improved.

I get a lot of "phantom faces" or false detection still though, but nothing so bad that it throws off the tracking, he just has a little twitch now and then, which adds to his character:)

United Kingdom
#19  

I just noticed motion tracking is really good now as you can adjust the check frames setting. I like sitting my Omnibot to look at my big TV screen and his head goes back and forward with the action its quite spooky especially if football is on (his favourite!)

#20  

Thanks you guys. Finally I have got it to track me around. I just changed ports like winstn60 said! Need to work on the smoothness though. Any suggestions? I got the wii remote going on it and now I'm working on the voice recognition and I'm stuck again. Any tips will save me some time. Thanks!

#21  

I am having the same issues with tracking color or face. I am going to try out the settings you guys are talking about. However, the biggest problem is after about a couple of minutes the camera image freezes and I can't get it to work again unless I power off and back on the EZ-B. Don't know what is up with that. Still troubleshooting.

#22  

Hi all!

I just got my BoxBot running. This is all very cool stuff. I even got the Wii controller working. I searched the forum and cant find any help with my camera issue. The camera works and I see video but cant get the "Processed Video" to show up? I can control the V&H servo with the Wii controller, but no tracking. I see screen shots and in videos that everyone has a video with grid, but I cant get mine to show up. Am I missing something simple?

Any help would be great.

Thanks!

Added info: I wanted to add that this is showing up in the debug: Camera Initialized: USB Video Device @ 640x480 Error Camera.SetCaptureImage: System.OutOfMemoryException: Insufficient memory to continue the execution of the program. at System.Runtime.InteropServices.Marshal.AllocHGlobal(IntPtr cb) at AForge.Imaging.UnmanagedImage.FromManagedImage(BitmapData imageData) at AForge.Imaging.UnmanagedImage.FromManagedImage(Bitmap image) at EZ_B.Camera.SetCaptureImage(Bitmap bmIn)

I have plenty of RAM and Disk available, so what is out of memory?

I found the issue. Was simple, need WIN7 will not work in XP:)

United Kingdom
#23  

Great to hear its working now