Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. Stereo Cameras and OpenCV

Stereo Cameras and OpenCV

Scheduled Pinned Locked Moved Graphics
question
9 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MikeMarq
    wrote on last edited by
    #1

    I'm working on an artificial intelligence program of my own and I am planning to use OpenCV to capture the input data from digital cameras/webcams. I want to use 2 of them and have them in a stable mount that will keep there relative orientation the same so I can obtain 3d information. My question is does anybody know of such a camera that I can buy (preferably one that doesn't cost a mint)? Also is there anything in OpenCv that will allow simple audio capture like OpenCv does video capture? thanks, Mike

    T 1 Reply Last reply
    0
    • M MikeMarq

      I'm working on an artificial intelligence program of my own and I am planning to use OpenCV to capture the input data from digital cameras/webcams. I want to use 2 of them and have them in a stable mount that will keep there relative orientation the same so I can obtain 3d information. My question is does anybody know of such a camera that I can buy (preferably one that doesn't cost a mint)? Also is there anything in OpenCv that will allow simple audio capture like OpenCv does video capture? thanks, Mike

      T Offline
      T Offline
      Tim Craig
      wrote on last edited by
      #2

      I have a friend who's using two of these Logitech[^] cameras on his robot. He has stereo image capture working with OpenCV running on a Beagle Board[^] under Linux. They're not the cheapest webcam but a lot cheaper than trying to buy a commercial stereo camera rig. OpenCV has no audio capability but it certainly doesn't preclude using other audio capture libraries. You didn't mention what OS you'll be using. The OpenCV frame caputure routines in the HighGUI library have some problems on Vista but are fine under XP. The simple streaming cam routines based on DirectShow work on Vista, however. I'm investigating a fix I found and am looking into other capture routines.

      Your silly assed, irrelevant opinion has been duly noted. Now take it elsewhere!

      M 1 Reply Last reply
      0
      • T Tim Craig

        I have a friend who's using two of these Logitech[^] cameras on his robot. He has stereo image capture working with OpenCV running on a Beagle Board[^] under Linux. They're not the cheapest webcam but a lot cheaper than trying to buy a commercial stereo camera rig. OpenCV has no audio capability but it certainly doesn't preclude using other audio capture libraries. You didn't mention what OS you'll be using. The OpenCV frame caputure routines in the HighGUI library have some problems on Vista but are fine under XP. The simple streaming cam routines based on DirectShow work on Vista, however. I'm investigating a fix I found and am looking into other capture routines.

        Your silly assed, irrelevant opinion has been duly noted. Now take it elsewhere!

        M Offline
        M Offline
        MikeMarq
        wrote on last edited by
        #3

        Thank you for your help.

        Tim Craig wrote:

        I have a friend who's using two of these Logitech[^] cameras on his robot. He has stereo image capture working with OpenCV running on a Beagle Board[^] under Linux. They're not the cheapest webcam but a lot cheaper than trying to buy a commercial stereo camera rig.

        I was thinking of doing the same thing but I couldn't find any webcams with bolts or holes on them that would allow me to securely mount it to a piece of wood or metal or something. How did your friend secure the camera to the robot so the cameras don't shake or move (I see it has a flap on it that could possibly be used but that flap is on a swivel it looks like)? You're right most of the ready made things are really expensive but I guess I should also mention I found this thing http://www.slipperybrick.com/2008/10/minoru-robot-webcam-for-3d-video-chat/[^] after posting the previous message but it won't be released for another month it looks like and all the info on it is pretty vague.

        Tim Craig wrote:

        You didn't mention what OS you'll be using. The OpenCV frame caputure routines in the HighGUI library have some problems on Vista but are fine under XP. The simple streaming cam routines based on DirectShow work on Vista, however. I'm investigating a fix I found and am looking into other capture routines.

        Fortunately I'm using XP. Thanks again for your help, Mike

        T 2 Replies Last reply
        0
        • M MikeMarq

          Thank you for your help.

          Tim Craig wrote:

          I have a friend who's using two of these Logitech[^] cameras on his robot. He has stereo image capture working with OpenCV running on a Beagle Board[^] under Linux. They're not the cheapest webcam but a lot cheaper than trying to buy a commercial stereo camera rig.

          I was thinking of doing the same thing but I couldn't find any webcams with bolts or holes on them that would allow me to securely mount it to a piece of wood or metal or something. How did your friend secure the camera to the robot so the cameras don't shake or move (I see it has a flap on it that could possibly be used but that flap is on a swivel it looks like)? You're right most of the ready made things are really expensive but I guess I should also mention I found this thing http://www.slipperybrick.com/2008/10/minoru-robot-webcam-for-3d-video-chat/[^] after posting the previous message but it won't be released for another month it looks like and all the info on it is pretty vague.

          Tim Craig wrote:

          You didn't mention what OS you'll be using. The OpenCV frame caputure routines in the HighGUI library have some problems on Vista but are fine under XP. The simple streaming cam routines based on DirectShow work on Vista, however. I'm investigating a fix I found and am looking into other capture routines.

          Fortunately I'm using XP. Thanks again for your help, Mike

          T Offline
          T Offline
          Tim Craig
          wrote on last edited by
          #4

          True to the Maker Faire motto (if you can't open it, you don't own it), he took the circuit boards out of the cameras and mounted them directly to a piece of plastic. I think he screwed them using existing mounting holes in the board but maybe he had to drill some. Here's a picture of his robot.[^] Sorry, I don't have a closer view handy at the moment. The cameras are the horizontal black rectangle at the top. One of the things he likes about the Logitech cams is that there's a lot of technical data available and they have power focus. I'm working on a motorized camera platform for some of my experiments. I was thinking of just mounting the camera to a bracket with a dab of hot melt glue. Fairly secure but fairly easily removed. Minoru looks intersting if the cameras are decent and you have a standard interface to them.

          Your silly assed, irrelevant opinion has been duly noted. Now take it elsewhere!

          1 Reply Last reply
          0
          • M MikeMarq

            Thank you for your help.

            Tim Craig wrote:

            I have a friend who's using two of these Logitech[^] cameras on his robot. He has stereo image capture working with OpenCV running on a Beagle Board[^] under Linux. They're not the cheapest webcam but a lot cheaper than trying to buy a commercial stereo camera rig.

            I was thinking of doing the same thing but I couldn't find any webcams with bolts or holes on them that would allow me to securely mount it to a piece of wood or metal or something. How did your friend secure the camera to the robot so the cameras don't shake or move (I see it has a flap on it that could possibly be used but that flap is on a swivel it looks like)? You're right most of the ready made things are really expensive but I guess I should also mention I found this thing http://www.slipperybrick.com/2008/10/minoru-robot-webcam-for-3d-video-chat/[^] after posting the previous message but it won't be released for another month it looks like and all the info on it is pretty vague.

            Tim Craig wrote:

            You didn't mention what OS you'll be using. The OpenCV frame caputure routines in the HighGUI library have some problems on Vista but are fine under XP. The simple streaming cam routines based on DirectShow work on Vista, however. I'm investigating a fix I found and am looking into other capture routines.

            Fortunately I'm using XP. Thanks again for your help, Mike

            T Offline
            T Offline
            Tim Craig
            wrote on last edited by
            #5

            I saw Nathan at the IEEE-RAS meeting tonight and he confirmed he used existing holes in the circuit boards to mount them to a machined piece of plastic using #0 screws.

            Your silly assed, irrelevant opinion has been duly noted. Now take it elsewhere!

            M 1 Reply Last reply
            0
            • T Tim Craig

              I saw Nathan at the IEEE-RAS meeting tonight and he confirmed he used existing holes in the circuit boards to mount them to a machined piece of plastic using #0 screws.

              Your silly assed, irrelevant opinion has been duly noted. Now take it elsewhere!

              M Offline
              M Offline
              MikeMarq
              wrote on last edited by
              #6

              Thank you again. You and your friend have been a big help. I'll probably use the same or a similar method myself as soon as I get the other stuff done. I've got my feature detection algoritm working perfectly and I think I'm close to solving the edge detection problem I just have to work out a few bugs and then it will be on to trying to construct a 3d sceen. ps That's a cool club you got there. Thanks, Mike

              T 1 Reply Last reply
              0
              • M MikeMarq

                Thank you again. You and your friend have been a big help. I'll probably use the same or a similar method myself as soon as I get the other stuff done. I've got my feature detection algoritm working perfectly and I think I'm close to solving the edge detection problem I just have to work out a few bugs and then it will be on to trying to construct a 3d sceen. ps That's a cool club you got there. Thanks, Mike

                T Offline
                T Offline
                Tim Craig
                wrote on last edited by
                #7

                MikeMarq wrote:

                ps That's a cool club you got there.

                Yes, it is. I've been going for two years now. There's a quite diverse crowd and some of them are very active in robots and even a couple who manage to make a living at it. One of the members is a 17 year old kid who currently has an internship at Willow Garage.[^] BTW, you do know about the OpenCV group on Yahoo?

                Your silly assed, irrelevant opinion has been duly noted. Now take it elsewhere!

                M 1 Reply Last reply
                0
                • T Tim Craig

                  MikeMarq wrote:

                  ps That's a cool club you got there.

                  Yes, it is. I've been going for two years now. There's a quite diverse crowd and some of them are very active in robots and even a couple who manage to make a living at it. One of the members is a 17 year old kid who currently has an internship at Willow Garage.[^] BTW, you do know about the OpenCV group on Yahoo?

                  Your silly assed, irrelevant opinion has been duly noted. Now take it elsewhere!

                  M Offline
                  M Offline
                  MikeMarq
                  wrote on last edited by
                  #8

                  Tim Craig wrote:

                  Yes, it is. I've been going for two years now. There's a quite diverse crowd and some of them are very active in robots and even a couple who manage to make a living at it. One of the members is a 17 year old kid who currently has an internship at Willow Garage.[^]

                  He must be pretty smart.

                  Tim Craig wrote:

                  BTW, you do know about the OpenCV group on Yahoo?

                  I think so. I just bought an OpenCV book a few days ago and started reading it and I recall them mentioning something about a yahoo group. I'll probably join it after I read a little more of the book.

                  T 1 Reply Last reply
                  0
                  • M MikeMarq

                    Tim Craig wrote:

                    Yes, it is. I've been going for two years now. There's a quite diverse crowd and some of them are very active in robots and even a couple who manage to make a living at it. One of the members is a 17 year old kid who currently has an internship at Willow Garage.[^]

                    He must be pretty smart.

                    Tim Craig wrote:

                    BTW, you do know about the OpenCV group on Yahoo?

                    I think so. I just bought an OpenCV book a few days ago and started reading it and I recall them mentioning something about a yahoo group. I'll probably join it after I read a little more of the book.

                    T Offline
                    T Offline
                    Tim Craig
                    wrote on last edited by
                    #9

                    I have a copy of that book coming. Last I checked, FedEx was driving it around the Midwest. Nathan found the chapter on camera calibration helpful.

                    Your silly assed, irrelevant opinion has been duly noted. Now take it elsewhere!

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups