Video Motion Tracking with Java and JMF

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,078
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 10, 2009

A basic video motion tracking program: tracks moving objects seen in a webcam or video, drawing a rectangle around them. Applications: surveillance, interactive games, using motion for mouse input, etc., etc.

Written in Java. Used JMF for video input. C++ would be better for performance, but Java allowed me to finish the project in a short amount of time.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ThereIsOneTruth)

  • hi, I'm working on final year project on motion detection and object tracking , I finished the work that's related to motion detection but I haven't done anything in object tracking, could you send me your code if possible?

    thanks

  • @muqatil80 hi there. You can download the code from my website (displayed in the video) :)

  • Hi,

    JMF is supposed to be old/shit and only supports mpeg-1 so the video quality is what, what codecs did you use because there are no open source Java based mpeg-2 decoders, did you write one (definitely not in JMF!!) ?

    There is a Java based theora codec which I am trying to wade through....very difficult though.

    How did you get the camera input to pc, over ethernet (rtp ?), usb ?

    Hope you put the code up for download as I am trying to do something similar and I need help !!

  • @donnyab Hi. For live feed I just used a Video for Windows URL: "vfw://0", and for recorded video I just used AVI, but I don't remember what kind of compression was wrapped in the AVI. I didn't put any work into using different video codecs; I just wanted to experiment with motion tracking algorithms. When I get around to posting the code it will be on my website (just google tech joelbecker).

  • Great job!  is it possible to publish the sors code?

  • @KaloyanMironov Hi. Thank you. I'm considering publishing the source once I organize it a bit better, on my website (joelbecker net)

see all

All Comments (25)

Sign In or Sign Up now to post a comment!
  • Can software made compactible with cellphone?

  • can u tel me wat is running average algorithm based on motion detection

  • Next: IRL Wallhacking in Java.

    Lolol

  • @ThereIsOneTruth

    Thank you for sharing the code, that's exactly what I needed for my thesis.

  • @donnyab FOBS for JMF (Java FFMPEG wrapper) - latest codecs

  • i just imported the files on eclipse but it didn't run..

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more