x


Access Multiple Camera Streams

Hi to all the Unity 3D pros.

We are trying to write an application in unity 3d that will allow us to access multiple cameras in unity. We have two of the same cameras plugged into the computer that we need to access at the same time when the application is running.

  • We tried to use the default webcam plugin but it only accesses one camera.

A member from my group has tried to write a dll in (opencv/c++) to access multiple camera and merge them as one stream. This dll is then used as a plugin in unity to call the methods that merge the stream to set the pixels/texture in unity onto a plane.

The problem that we are encountering is that there is a lag in the video as well as only about 5/6 fps.

The question now is, does anyone else know how to access multiple cameras in Unity or does anyone know how we can speed up the fps and remove the delay?

webcam, plugin, dll, opencv, c++

more ▼

asked Dec 12 '11 at 12:46 AM

lavellramon gravatar image

lavellramon
16 1 1 1

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x392
x231
x57
x25

asked: Dec 12 '11 at 12:46 AM

Seen: 840 times

Last Updated: Dec 12 '11 at 12:46 AM