A Java application, that turns a webcam into a VisiCut compatible network camera with marker detection and perspective correction. Uses OpenCV through JavaCV
For detailed information, please have a look at the VisiCam Wiki.
./lib/fetch-javacv.sh
on the command line in the unzipped VisiCam directory.ant
on the command linejava -jar dist/VisiCam.jar
on the Command Line or double click on the VisiCam.jar file in finder/explorerIf you use it on ARM, you need to replace the javacv.jar in the dist/lib folder with the javacv.jar from the lib/javacv-pi folder. It works on ArchLinux (opencv can be installed through pacman). But is VERY SLOW. Any help is appreciated.
TODO: currently broken?
Download and install Microsoft Visual C++ 2010 Redistributable Package (x86) http://www.microsoft.com/download/en/details.aspx?id=5555 or Microsoft Visual C++ 2010 Redistributable Package (x64) http://www.microsoft.com/download/en/details.aspx?id=14632
Download OpenCV from http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.3/OpenCV-2.4.3.exe/download
Add either the build/vc10/bin folder to PATH or copy all the dlls to the VisiCam folder
Install the required dependencies with: sudo apt-get install openjdk-8-jdk ant libopencv2.4
You can also have a look at the Dockerfile for a more up-to-date list of all commands.
The following is a short summary of how to use VisiCut. For more detailed information, have a look at the VisiCam Wiki.
Preferences -> Manage Lasercutters -> Edit
and enter the CameraURL, which is <VisiCam URL>/image
. If you have the latest version, you can just click "search" and all VisiCam instances in your Network should appear.Options -> Calibrate Camera...
and choose a laser setting. Then click on the Send Calibration Page
-Button. VisiCut will send a calibration file to your lasercutter. It will cut two crosses (with the choosen settings) at (20%/20%) and (80%/80%) of the laser-bed. In the following dialog, you have to take a picture and move the red reference crosses matching to the ones you did just cut.