Advise for new video analysis program

  • I am new to this list, and to developing in Cocoa and I could use
    some advise for a new video analysis program. I am trying to write a
    program that will let me detect and count certain objects of interest
    in a video recording. As an example, imagine recording a video of a
    busy street, and then writing an app that will tell you how many
    people walked by. I know how to detect objects in frames of video
    computer vision techniques. What I don't know how to do is load video
    into a cocoa app, get access to each of the video frames, and perform
    operations on them and record the results. Basically, what I want to
    do is this:

    1) open a proprietary video file (not QuickTime)
    2) examine the video frame by frame
    3) find objects of interest in each frame
    4) record information about the objects, such as their location, size
    5) Use information in #4 to accomplish #3
    6) display a summary of the results

    What I need is someone to give ma nudge in the right direction.  Do I
    use Core Video, QTKit, or something else? I've made my way through
    the "Cocoa Programming for Mac OS X" book, and the documents on the
    Apple developer site for Core Video and such.  There are so many
    holes in my knowledge that I don't want to start down the wrong road
    here. Can anyone give me a few pointers / ideas?

    Thanks!
  • > 1) open a proprietary video file (not QuickTime)
    > 2) examine the video frame by frame
    > 3) find objects of interest in each frame

    Probably not much in Cocoa to benefit you. Consider standard C library
    functions.

    > 4) record information about the objects, such as their location, size
    > 5) Use information in #4 to accomplish #3

    Whether you use Objective-C or C++/STL techniques to keep track of this,
    doesn't make much difference in the amount of work it will take, but if you
    use Cocoa for the UI, probably easier to use Objective-C collections and so
    forth.

    > 6) display a summary of the results

    Cocoa has a lot of features to make this easy ;-)

    --
    Scott Ribe
    <scott_ribe...>
    http://www.killerbytes.com/
    (303) 722-0567 voice
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today