-
Notifications
You must be signed in to change notification settings - Fork 13
Raspberry Pi installation (Arch Linux)
Peter Uithoven edited this page Nov 20, 2013
·
6 revisions
These instructions are work in progress, it doesn't work yet, the installation on Raspbian was successfull, see: https://github.com/t-oster/VisiCam/wiki/Raspberry-Pi-installation-(Raspbian)
- Raspberry Pi
- Memory card
- Camera module
- Ethernet cable / wifi dongle
- USB micro power cable
- Enclosure
Install Arch Linux, I can really recommend the NOOBS install method http://www.raspberrypi.org/downloads
Login using:
username: root
password: root
pacman -Syu
pacman -S gcc pkg-config
pacman -S opencv
pacman -S git
pacman -S apache-ant
See: https://wiki.archlinux.org/index.php/Raspberry_Pi > Raspberry Pi Camera module
Run the following commands:
cd ~
git clone https://github.com/t-oster/VisiCam.git
cd VisiCam
ant jar
cp lib/javacv-pi/javacv.jar dist/lib/
cp lib/javacv-pi/javacv-linux-arm.jar dist/lib/
java -jar dist/VisiCam.jar
Goto: localhost:8080/configPage.html Use the following values:
- InputWidth: 720
- InputHeight: 576
- OutputWidth: 720
- OutputHeight: 576
- Check "CustomCapture"
- CaptureCommand: raspistill -n -w %w -h %h -o %f
If you need to flip the camera image you can add -vf and/or -hf. - CaptureResult: capture.jpg
Lasercut an enclosure like:
http://www.thingiverse.com/thing:183621
Lasercut a mount like:
http://www.thingiverse.com/thing:183627
- Place 4 Markers (Circles within circles) at the corners of you laser-bed
- Place a webcam over the laser-cutter, so that it's image contains all the markers
- Connect the webcam to a PC running VisiCam
- Go to you webbrowser and enter the VisiCam URL (is printed on the Command Line after starting)
- Click on "Get image from your webcam" to check if the camera is working and the markers are visible
- Click on "Show Configuration". Here you can specify the resolutions and more important:
- For each Marker-Position (top-left...) select a rectangle on the image, where VisiCam should search the marker
- Save the configuration
- In VisiCut go to Preferences->Manage Lasercutters->Edit and enter the CameraURL, which is the VisiCam URL with /image at the end. If you have the latest version, you can just click "search" and all VisiCam instances in your Network should appear.