This provides a simple graphical user interface to use SimpleCV
to capture images from a webcam.
Further this script uses a serial connection to control the quanti-fly
/ egg-counter
. More information here
https://github.com/dwaithe/quantifly
http://eggcounter.polygonaltree.co.uk/
- it only work in Linux
- PySide
conda install PySide
- SimpleCV
pip install simplecv
- qimage2ndarray (
pip install https://github.com/hmeine/qimage2ndarray/archive/master.zip
) - pyserial (comes with anaconda)
- Download and install Anaconda https://www.continuum.io/downloads (make sure to use version 2.7 and not the 3.x version)
- During installation, install for User only and leave all standard settings like the are
- open
anaconda prompt
- type:
pip install simplecv
, conda install pyside
(confirm by pressing y) andpip install https://github.com/hmeine/qimage2ndarray/archive/master.zip
,conda install -c menpo opencv3
,conda install pyserial
Download the windows installer from http://www.arduino.org/downloads and install it keeping all the standard settings. (a couple of drivers will be installed as well, including the Atmel drivers)
- type
pip install https://github.com/groakat/webcamSeriesCapture/archive/master.zip
- right-click on Desktop
- new -> shortcut
- set as location:
python.exe C:\Users\XXXXX\Anaconda2\Lib\site-packages\webcamSeriesCapture\acquisition\acquisition.py
(replaceXXXXX
with the name of theC:\Users\
folder of the active user)
Download logitech driver from http://support.logitech.com/en_us/product/hd-pro-webcam-c920#download
- In the system tray (bottom right next to the clock) click on the small webcam icon (right click) -> Logitech Webcam Controller.
- Click
Webcam options
(make sure it is expanded) - Click
Advanced Settings
at the bottom - Make sure that all checkboxes are unticked (RightLight, Auto) to be able to move all sliders
- Change settings so that the live image looks like the reference image
- also: make sure to switch auto-focus off! (in the small window)