Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using webcam to simulate phone camera in WP7 emulator

Does anyone know if it's possible to use a webcam to simulate the phone camera in the Windows Phone 7 emulator? This seems like it would be useful for creating augmented reality applications with the current tools.

like image 322
Jason Avatar asked May 21 '10 09:05

Jason


2 Answers

It's not possible. Also at release third party developers will not have access to the camera directly. Instead you can initiate the camera tasks which will essentially start up the camera capture dialog to allow the user to grab a picture. while they are doing this your code has no control over anything. When the user takes the picture control is returned to your program along with the picture that the user took.

like image 128
Joel Avatar answered Sep 21 '22 13:09

Joel


Here is my trick.

Add a webcam gateway to receive HTTP request and return captured image from PC webcam and modify WP7 project slightly to simulate CameraCaptureTask behavior(but not 100% identical). Not perfect, but it makes WP7 emulator more interesting.

like image 42
Darkthread Avatar answered Sep 20 '22 13:09

Darkthread