Skip to content

Latest commit

 

History

History
123 lines (76 loc) · 2.97 KB

README.md

File metadata and controls

123 lines (76 loc) · 2.97 KB

Video VCP - computer vision

Video VCP - Test computer vision features

Download LinuxCNC ISO

Install linuxcnc using the stretch iso

http://www.linuxcnc.org/testing-stretch-rtpreempt/

once boot upgrade to linuxcnc version 2.8 or master

Dependencies

$ sudo apt install python-pyqt5 python-pyqt5.qtquick python-dbus.mainloop.pyqt5 python-pyqt5.qtopengl python-pyqt5.qsci python-pyqt5.qtmultimedia qml-module-qtquick-controls gstreamer1.0-plugins-bad libqt5multimedia5-plugins pyqt5-dev-tools python-dev python-setuptools python-pip git python-opencv

VCP Installation

there are two ways to install the VideoVCP "quick install" or "developer"

Quick Install

This will install the VideoVCP and allow you to use it

$ pip install --user git+https://github.com/kcjengr/qtpyvcp.computer-vision.git
$ pip install --user git+https://github.com/TurBoss/VideoVCP.git

Developer Install

This will install the VideoVCP from a local directory allowing us to make any modifications without having to reinstall each time

clone the VideoVCP repository

$ git clone https://github.com/TurBoss/VideoVCP.git
$ git clone https://github.com/kcjengr/qtpyvcp.computer-vision.git

Install the computer vision widget

$ cd qtpyvcp.computer-vision
$ pip install -e .
$ cd ..

Install localy using pip.

$ cd VideoVCP
$ pip install -e .
$ cd ..

Now you can run editvcp to edit the interface.

$ editvcp VideoVCP

Running the VideoVCP

plug your camera and make sure its show in /dev/video0 or /dev/video1

then run

$ linuxcnc VideoVCP/linuxcnc/configs/sim.video_vcp/xyz.ini

Documentation

QtPyVCP documentation.

Resources

Dependancies

VideoVCP is developed and tested using the LinuxCNC Debian 9 and 10

It should run on any system that can have PyQt5 installed, but Debian 9 and 10 arr the only OS that are officially supported.

DISCLAIMER

THE AUTHORS OF THIS SOFTWARE ACCEPT ABSOLUTELY NO LIABILITY FOR ANY HARM OR LOSS RESULTING FROM ITS USE. IT IS EXTREMELY UNWISE TO RELY ON SOFTWARE ALONE FOR SAFETY. Any machinery capable of harming persons must have provisions for completely removing power from all motors, etc, before persons enter any danger area. All machinery must be designed to comply with local and national safety codes, and the authors of this software can not, and do not, take any responsibility for such compliance.

This software is released under the GPLv2.