The previous study of OPENCV was the installation of a VirtualBox virtual machine, and then found that the computer's own camera could not be recognized.
Later bought a Logitech C270, still unrecognized, and inserted into the virtual machine will cause the virtual machine to panic, for unknown reasons.
-----------VirtualBox-------------
Then looked at the Raspberry Pi kernel, is 3.12, downloaded the Ubuntu 3.12 kernel, installed in Ubuntu 12.04.
But it will still get stuck.
Later, Ubuntu 13.10,kubuntu 12.04 will crash.
So the suspicion is VirtualBox, so the installation of VMware.
-----------VMware-------------
After installing VMware, I installed Ubuntu 12.04 and wanted to download a cheese to test the camera, but the NAT network was slow to download, and the network was switched to a bridge. Finally took a USB card connected to the virtual machine, Ubuntu 12.04
The NetworkManager click did not respond. So decisively delete VMware and the inside of the ubuntu12.04, download vmware player.
After installing VMware Player, reinstalling Ubuntu 12.04, still discovering networking problems, and discovering VMware tools or
I don't like vmware because I can't download it in the old way.
Finally abandoned the idea of the virtual machine, ready to use Wubi to install Ubuntu, because Ubuntu 13 does not support the Wubi in the beginning, so
I still use Ubuntu 12.04来 to install Wubi (I am using Ubuntu 12.04.5).
-----------Wubi-------------
Open Wubi and find it automatically downloads ubuntu online instead of using native Ubuntu. This is not the pit father, so I
Disconnect the network and discover that it allows for a moment to prompt for an Ubuntu 12.04.5.
So give up this version, and downloaded the Internet Ubuntu-12.04-alternate-i386.iso (helpless Ubuntu official version of those old
have been well hidden, checked a bit to find this old version.
But open this ISO a see, Wubi.exe disappeared, helpless can only search the Internet, found the
Http://dw5.cn.uptodown.com/dw/1426004476/9c1b9655a0ebfc0266a73d2c8ad1f69b54e99276/wubi-12-04-en-win.exe
Can finally install Ubuntu 12.04, but still happy too early, installed to half stuck, so forced to shut down, re-install.
After arduous hardships, finally installed, all kinds of drive also perfect operation, installed cheese and guvcviewer, finally can open webcam,
And pleasantly surprised to find that Linux is actually supporting my laptop's own webcam. It seems that VirtualBox has a bug in the camera.
The next job is to install OpenCV on the Ubuntu Wubi and debug the camera.
In fact, and online said, these cameras are out-of-box, nothing can be driven, virtual machine harm ah.
Ubuntu Drive Camera