Results 1 to 7 of 7

Thread: OpenML - what is it exactly?

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    Houston, TX
    Posts
    3

    OpenML - what is it exactly?

    I've looked at the info on the OpenML website but I still have a question and feel free to flame me if I've misunderstood what OpenML is.

    What I'm looking for is interface capability to a video stream. Say, I connect a TV input into my video card, can I use OpenML to display the video and be able to click in the video window and have OpenML return to me the click coordinates? That is, if I wanted to track an object on the screen (in the video). Oh and can you draw on top of this video window (say draw an overlay)?

    I'd appreciate any info..

    thanks,

    Mario

  2. #2
    Member
    Join Date
    Jul 2003
    Location
    Montreal
    Posts
    75

    Re: OpenML - what is it exactly?

    You can use the ML API to stream video from your video card (***uming it is OpenML-compliant) to your application. You can then display the video to a window, as you would display any image.

    Clicking in the window, and drawing overlays, would be handled by the normal UI mechanisms in your OS -- eg, Win32/GDI on Windows. This is independent of OpenML.

    In order to track an object in the video, you would need to implement image analysis algorithms in your app.

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    2

    Re: OpenML - what is it exactly?

    What does "Open ML compliant" mean ???

    I currently detect video devices in a wxWidgets-application with a vfw-wrapper, and that works fine for webcams (this is what have tried so far) and I use Portaudio for getting audio Input.
    Will bring Open ML as replacement of the solutions above any benefits to me ? Does it support DV ?

    When will it be released ? (The Betaversion did only work the first time I tried it, afterwors not anymore, I don't know why)

    regards
    Roberto

  4. #4
    Member
    Join Date
    Sep 2003
    Location
    Silicon Valley
    Posts
    57

    Re: OpenML - what is it exactly?

    <BLOCKQUOTE><font size="1" face="Arial, Verdana, Helvetica, sans-serif">quote:</font><HR>Originally posted by rsaccon:
    What does "Open ML compliant" mean ???<HR></BLOCKQUOTE>

    It means that there are OpenML hardware drivers for the device.
    Jon Leech
    EGL & OpenGL Specification Editor / OpenGL ARB Ecosystem TSG Chair / Khronos API Registrar

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Location
    Houston, TX
    Posts
    3

    Re: OpenML - what is it exactly?

    Given that OpenML is "based/related to" on OpenGL (unless I'm wrong about this)... can I use it together with OpenGL? That is can I have it run in an OpenGL (or GLUT) window and hence have my click callbacks available to me?

    Basically, this is what I'm doing: I work for NASA Johnson Space Center in the Visiting Vehicles Office. We support (in particular) the Russian vehicles docking to the space station. Unfortunately the Russians don't give us much data (like the xyz location of the approaching vehicle). The provide us with range and range rate. Using cameras on the space station and the range data we can figure out (calculate) where the vehicle is in xyz coordinates by clicking in a graphic window that represents the video screen. Of course this is quite hard to get down accurately because the video is on one monitor and the graphic window is on our computer monitor...so we need a way to send the video into the computer and also put it into a window that we can click in directly over the image to get the actual vehicle position in the 2D pane (which is then coverted by simply math rotations into the location in 3D space).

    Having overlays display on the screen would be nice too....but not a necessary.

    If figured if OpenML and OpenGL are closely tied then I can simply use the GLUT mouse functions glutMouseFunc(), etc

    can i?


    thanks,

    Mario

  6. #6
    Member
    Join Date
    Jul 2003
    Location
    Montreal
    Posts
    75

    Re: OpenML - what is it exactly?

    You could transfer the video stream from a OpenML capture card to memory, using ML. You could then take the images and use them as texture maps for an OpenGL surface -- thus integrating the video into your OpenGL rendering environment.

  7. #7
    Junior Member
    Join Date
    Apr 2004
    Location
    Houston, TX
    Posts
    3

    Re: OpenML - what is it exactly?

    yes, but can you do that in real time...that sounds kind of slow to me.

    I figure if you can have a video stream displayed that you should be able to click on it and return the mouse location of the click.
    I've been able to achieve a similar thing in Windows using Java with JMF (Java Media Framework) and my Geforce3 V8200 Deluxe capture card...now I'm trying to replicate it under Linux.

    Mario

    Mario

Similar Threads

  1. Where is OpenML audio going?
    By msipkema in forum Suggestions for the next OpenML revision
    Replies: 1
    Last Post: 08-01-2003, 07:54 AM
  2. OpenML
    By Hauptmann in forum OpenML Coding & Technical Issues
    Replies: 1
    Last Post: 03-11-2003, 06:22 AM

Posting Permissions

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