Visicam

From Leeds Hackspace Wiki
Revision as of 13:48, 22 January 2016 by Swwils (talk | contribs)
Jump to navigation Jump to search

Work in progress

Visicam mount inside the laser cutter.
Visicam mount inside the lid of the Laser Cutter.

The Laser Cutter operating on Visicut has been amended with a complementary Raspberry Pi 2 with a Class 10 8gB SDCard running Raspbian Jessie and VisiCam.

The Raspberry Pi should be accessible on the local network at visicam.hackspace once setup with the local DNS service on the server. Else you'll have to scan for it, provided it has been linked up via ethernet.

Visicam allows you to view a live image of your material laid in the laser cutter and overlay the design you want to cut/etch/etc onto the material directly.

The steps followed for setting up the Raspbian image used the latest Raspbian Jessie download as of 22nd of January 2016 along with the steps here with the exception that OpenCV dev did not have to be compiled as the package was up to date in the repository. Also, javacv / javacpp did not have to be compiled as the pre-compiled binaries were used for visicam.

Visicam can be configured on: http://visicam.hackspace:8080/configPage.html

With the normal access page being: http://visicam.hackspace:8080

The resolution was setup with the defaults specified in the visicam github wiki, though it should probably be scaled up to 1280x720, the resource allocation on the Pi 2 is already setup to allow this.

Todo:

Utilising the GPU on the RaspberryPi 2 is probably the best idea and this is possible with VisicamRPiGPU.

VisicamRPiGPU has to be compiled and at the time of writing a package dependency problem with python-argparse in Raspbian Jessie meant that the package had to be acquired from the Debian repository, installed manually, and omitted from the visicamrpigpu install script.

Unfortunately Visicam was not happy to use the rpigpu binary so use of this is still in testing.