Esoc488 fa18 tutorial
Prerequisites
You will need a computer with a camera attached (a laptop with a builtin camera is acceptable).
You will need the extension pack to use your camera. To get it, first find your version of virtualbox by going to "Help -> About Virtualbox." You should see this:
[File:Esoc488 fa18 get version.png|1000px]]
If you recently downloaded virtualbox, then you have 5.2.22; get the right extension pack from here. Otherwise You can find older extension packs here.
You should be able to double-click the extension pack file to have Virtualbox open and install it (be sure that you don't have an VM's running when you do this). Once the extension pack is installed, select the Info_Privacy_VM_OpenCV appliance, and click "settings." You should then select USB -> USB 2.0 (EHCI) Controller.
Importing the appliance
Download the appliance file if you haven't already from here.
Inside the virtualbox program, select File -> Import appliance, then select the appliance file that you saved. (You don't need to decompress it, just select the .tar.gz file itself).
Booting into the VM
Double click the VM that now appears in virtualbox to boot it. You will eventually reach this screen:
Press the space bar once to show the screen that asks for a password, which looks like this
The password for the user account 'nemo' is 'outis'. The password for 'root' is 'toor.' Type in 'outis' to authenticate.
Select from the top menu Devices -> Webcams and select your camera (there should be a check mark inside the box next to your camera's name). Test it by clicking the word 'Activities' in the upper-left of the Debian desktop, typing in 'Cheese' and pressing enter. Your laptop camera should come on, like this:
File:Esoc488 fa18 testing webcam w cheese.webm
(this video is coming
Testing OpenCV
Again click the word 'Activities' in the upper-left of the Debian desktop, but now type in 'terminal' and press enter. Navigate to the OpenCV directory, and find the examples python files. (TO BE CONTINUED)