Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator Camera Displaying Blocks

I was working on the sample tutorials of OpenCV4Android. When I open the camera in my Emulator it's opening something wierd with White and black boxes.

Because of this camera, I was unable to run the sample Projects of OpenCV4Andorid.

Here's the Setup of my Emulator

Emulator

The result when I click on the camera button

Camera

Could anyone of you kindly let me know about this please. I haven't find any proper solution to my problem.

What's wrong with my camera. I configured it correctly.

Thanks

like image 961
WhoAmI Avatar asked Oct 31 '22 04:10

WhoAmI


1 Answers

I hooked up a webcam, and under the drop-down for "Front Camera" and "Back Camera" I selected "Webcam0". Seemed to work.

What you're seeing is the 'emulated' content that just throws up something in the buffer to simulate video data.

It looks like you may be using an older version of the emulator, too. If this doesn't work, you might consider updating it.

enter image description here

enter image description here

like image 200
Toby Deshane Avatar answered Nov 11 '22 09:11

Toby Deshane