We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

USB Hub on Omega



  • USB Hub + 2 WebCam(640x480) streaming.
    R0147001.JPG



  • What exactly do you have setup there?



  • @Rudy-Trujillo
    If you have two webcam, both are already tested with mjpg_streamer on Omega.
    1: Just plug a Hub and Cams.
    2: Check /dev

    # ls /dev/video*
    /dev/video0
    /dev/video1
    

    3: Start two mjpg_streamer

    mjpg_streamer -i "./input_uvc.so -f 30 -r 640x480 -d /dev/video0" -o "./output_http.so -w ./www -p 8080" -b
    
    mjpg_streamer -i "./input_uvc.so -f 30 -r 640x480 -d /dev/video1" -o "./output_http.so -w ./www -p 8081" -b
    

    4: put HTML file /www/webcam/doubleview.html

    <html>
      <body>
    <script language="JavaScript">
    document.write('<img src="' + window.location.protocol + '//' + window.location.hostname + ':8080/?action=stream" width="320" height="240">' );
    </script>
    <script language="JavaScript">
    document.write('<img src="' + window.location.protocol + '//' + window.location.hostname + ':8081/?action=stream" width="320" height="240">' );
    </script>
      </body>
    </html>
    

    5: Open http://[ OmegaIP ]/webcam/doubleview.html .



  • Ok, you have two cameras plugged into the hub which then plugs into the Omega via the USB port. And the software setup is what you show. Pretty nice setup will have to try this out. Thanks



  • @Rudy-Trujillo Welcome to the stereo camera world šŸ˜‰



  • @Hiro-AsO can you advise the model name of your smaller webcam in the photo - I need that size for my projects. Thanks.



  • @Ken-Conrad It is Japanese maker ELECOM's UCAM-DLY300TA .

    [71400.810000] usb 1-1: new high-speed USB device number 2 using ehci-platform
    [71401.000000] uvcvideo: Found UVC 1.00 device UCAM-DLY300TA (056e:7008)
    [71401.020000] input: UCAM-DLY300TA as /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/input/input0
    

    Unfortunately this one was already discontinued...



  • I did the above and connected a Microsoft 720p HD camera.
    I changed the stream to 1280x720 and auto-started the mjpg stream.

    Just edit /etc/rc.local and paste this:

    cat rc.local
    echo before-mjpg
    /usr/bin/mjpg_streamer -i "/usr/lib/input_uvc.so -f 30 -r 1280x720 -d /dev/video0" -o "./output_http.so -w ./www -p 8080" -b

    echo after-mjpg
    exit 0

    Then reboot and then you have it!



  • Was excited bout your post and was wondering have you recorded any video for community viewing or is this not at that stage?
    I am trying to get to a point where I can start connecting one extender at the edge of wifi from house to a vehicle on the street which will house another wifi omega adding external antenna if needed. From there will be getting into an area of no expertise getting video from "a camera" mounted on vehicle omega.
    I have heard that motion detection is not available on the omega but and again no idea how but opencv does this somehow. As you can see this may or may not work out but sounds like fun and the learning curve is steep.
    Thanks for your post.



  • Need some help with this can you trace the steps to setting up the Webcam? In my case the /dev/video is missing. Keeping in mind this is all new to me.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.