Results 1 to 3 of 3

Thread: Motion tracking with a webcam

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Leicestershire, England
    Posts
    5

    Question Motion tracking with a webcam

    I want to create a program that is capeable of tracking the motion of an object through a field of vision by input of a webcam. the idea is that the webcam will eventually be mounted on a servo platform and will follow motion throughout a room. the application has recently been interfaced with a webcam however the most recent version on theweb has not. download it from http://craig552.tripod.com/vdo.zip .
    it basicly works by comparing two images together, one frame and the next, at the moment its my friends finger waving across the screen. the images are compared by every 10th pixel, increasing this value slows the process but increases resoloution and vice-versa. at the moment the program marks the point of focus as the pixel with the greatest difference between the two images, i want it to make the point of focus the largest region of difference. if you run the application you can clearly see the shadow of the finger move across the motion window however i do not know how to make the computer recognise this. any help would be greatly appreciated. secondly it takes far too long to compare each frame, and annoyingly the process does not work when the pictureboxes are invisible, off the screen of covered by another control, is there another function out there that does the same job but doesnt take so long, again any help would be greatly appreciated.

    craig

  2. #2
    NOMADMAN
    Guest
    First thing, try making your picture boxes AutoReDraw = True and see if you can then make the program work with the pic boxes invisible

    I'll look into the rest later

    NOMAD

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Leicestershire, England
    Posts
    5

    Thumbs up

    Thanks that worked great, didn't speed it up much tho. i gues my code could be better.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width