Author Topic: Generating 3D Frame-packed HDMI output from two USB cameras  (Read 797 times)

0 Members and 1 Guest are viewing this topic.

Offline windsmurfTopic starter

  • Frequent Contributor
  • **
  • !
  • Posts: 625
  • Country: us
Generating 3D Frame-packed HDMI output from two USB cameras
« on: September 12, 2019, 06:20:35 pm »
I'd like to output 3D Frame-packed HDMI video to a 3D viewer that decodes this type of signal.   I'd like the video source for this to be my two USB cameras. 
Does anyone know how this can be achieved? 
Thanks in advance!
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8526
Re: Generating 3D Frame-packed HDMI output from two USB cameras
« Reply #1 on: September 13, 2019, 11:49:10 am »
How much do you know already? How much are you willing to learn?
 

Offline windsmurfTopic starter

  • Frequent Contributor
  • **
  • !
  • Posts: 625
  • Country: us
Re: Generating 3D Frame-packed HDMI output from two USB cameras
« Reply #2 on: September 13, 2019, 11:50:01 pm »
I don't know much in this area unfortunately.  I'm definitely wanting to learn a lot more :)

I'm thinking a SideBySide video out might be the easiest way to get stereo vision realtime from two cameras... I can do this by just displaying two outputs in two windows... but is there a program that already does this for you within a single window?  Working on this on Win10 now but also work with Ubuntu frequently.

Thank you in advance!
 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 7198
  • Country: fi
    • My home page and email address
Re: Generating 3D Frame-packed HDMI output from two USB cameras
« Reply #3 on: September 14, 2019, 02:36:50 am »
To program one yourself, you might start by looking at libuvc (documentation).  If you look at the src/test.c example program, you'd need to open two devices, and two different src/test.c:cb() callback functions (to distinguish left/right frames).
 
The following users thanked this post: windsmurf

Offline windsmurfTopic starter

  • Frequent Contributor
  • **
  • !
  • Posts: 625
  • Country: us
Re: Generating 3D Frame-packed HDMI output from two USB cameras
« Reply #4 on: September 14, 2019, 07:42:34 am »
To program one yourself, you might start by looking at libuvc (documentation).  If you look at the src/test.c example program, you'd need to open two devices, and two different src/test.c:cb() callback functions (to distinguish left/right frames).

Thank you for the suggestion.  I'd played with pyuvc when I did a Deeplens project, but was hoping I wouldn't have to code for this. 
I'll check Github to see if someone's already done this.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf