Allied Vision AVT-Prosilica camera controller with PLICO
Project description
# PYSILICO: Prosilica AVT camera controller for Plico
| [![Build Status][travis]][travislink] | [![Coverage Status][coveralls]][coverallslink] |
pysilico is an application to control [Allied AVT/Prosilica][allied] cameras (and possibly other GigE cameras) under the [plico][plico] environment.
[plico]: https://github.com/lbusoni/plico
[allied]: https://www.alliedvision.com
[travis]: https://travis-ci.com/lbusoni/pysilico.svg?branch=master "go to travis"
[travislink]: https://travis-ci.com/lbusoni/pysilico
[coveralls]: https://coveralls.io/repos/github/lbusoni/pysilico/badge.svg?branch=master "go to coveralls"
[coverallslink]: https://coveralls.io/github/lbusoni/pysilico
## Installation
On the client
```
pip install pysilico
```
On the server
First install Vimba (that comes with the camera, or download Vimba SDK from
```
pip install pysilico-server
```
The pysilico-server package installs also the client package.
## Usage
### Starting Servers
Starts the 2 servers that control one device each.
```
pysilico_start
```
### Using the GUI
Run `pysilico_gui`
### Using the client module
In a python terminal on the client computer:
```
In [1]: import pysilico
In [2]: cam1= pysilico.camera('192.168.1.18', 7100)
In [3]: cam2= pysilico.camera('192.168.1.18', 7110)
In [4]: frames= cam1.getFutureFrames(10)
```
### Stopping pysilico
To kill the servers run
```
pysilico_stop
```
More hard:
```
pysilico_kill_all
```
## Administration Tool
For developers.
### Testing
Never commit before tests are OK!
To run the unittest and integration test suite cd in pysilico source dir
```
python setup.py test
```
### Creating a Conda environment
Use the Anaconda GUI or in terminal
```
conda create --name pysilico
```
To create an environment with a specific python version
```
conda create --name pysilico python=2.6
```
It is better to install available packages from conda instead of pip.
```
conda install --name pysilico matplotlib scipy ipython numpy
```
### Packaging and distributing
See https://packaging.python.org/tutorials/distributing-packages/#
To make a source distribution
```
python setup.py sdist
```
and the tar.gz is created in ../dist
You can make a universal wheel
```
python setup.py bdist_wheel
```
The wheels are created in ../dist. I suppose one can delete
pysilico/build now and distribute the files in ../dist
To upload on pip (but do you really want to make it public?)
```
twine upload ../dist/*
```
| [![Build Status][travis]][travislink] | [![Coverage Status][coveralls]][coverallslink] |
pysilico is an application to control [Allied AVT/Prosilica][allied] cameras (and possibly other GigE cameras) under the [plico][plico] environment.
[plico]: https://github.com/lbusoni/plico
[allied]: https://www.alliedvision.com
[travis]: https://travis-ci.com/lbusoni/pysilico.svg?branch=master "go to travis"
[travislink]: https://travis-ci.com/lbusoni/pysilico
[coveralls]: https://coveralls.io/repos/github/lbusoni/pysilico/badge.svg?branch=master "go to coveralls"
[coverallslink]: https://coveralls.io/github/lbusoni/pysilico
## Installation
On the client
```
pip install pysilico
```
On the server
First install Vimba (that comes with the camera, or download Vimba SDK from
```
pip install pysilico-server
```
The pysilico-server package installs also the client package.
## Usage
### Starting Servers
Starts the 2 servers that control one device each.
```
pysilico_start
```
### Using the GUI
Run `pysilico_gui`
### Using the client module
In a python terminal on the client computer:
```
In [1]: import pysilico
In [2]: cam1= pysilico.camera('192.168.1.18', 7100)
In [3]: cam2= pysilico.camera('192.168.1.18', 7110)
In [4]: frames= cam1.getFutureFrames(10)
```
### Stopping pysilico
To kill the servers run
```
pysilico_stop
```
More hard:
```
pysilico_kill_all
```
## Administration Tool
For developers.
### Testing
Never commit before tests are OK!
To run the unittest and integration test suite cd in pysilico source dir
```
python setup.py test
```
### Creating a Conda environment
Use the Anaconda GUI or in terminal
```
conda create --name pysilico
```
To create an environment with a specific python version
```
conda create --name pysilico python=2.6
```
It is better to install available packages from conda instead of pip.
```
conda install --name pysilico matplotlib scipy ipython numpy
```
### Packaging and distributing
See https://packaging.python.org/tutorials/distributing-packages/#
To make a source distribution
```
python setup.py sdist
```
and the tar.gz is created in ../dist
You can make a universal wheel
```
python setup.py bdist_wheel
```
The wheels are created in ../dist. I suppose one can delete
pysilico/build now and distribute the files in ../dist
To upload on pip (but do you really want to make it public?)
```
twine upload ../dist/*
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysilico-0.15.0.tar.gz
(21.4 kB
view details)
Built Distribution
File details
Details for the file pysilico-0.15.0.tar.gz
.
File metadata
- Download URL: pysilico-0.15.0.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f29027f55add19d7d96698e20652dee16dd489dec1fbc8856d942d56b6c6585a |
|
MD5 | 09c178c9b2632be01d60afc559ab6d4b |
|
BLAKE2b-256 | 06fd5180b4d5f2704cb8eac1d25c30af6463ebd73ed4638eac181e4ce95a652b |
File details
Details for the file pysilico-0.15.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pysilico-0.15.0-py2.py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02b5ed911bdcb1feeafc211637f80d00f9a76ababcb2cbe6cfc01990c04731b3 |
|
MD5 | 409ed127b2c1bc7f61d168509eb7269e |
|
BLAKE2b-256 | 430b706c55be30761439739711b8a066e7f076c495b8a352685cc61848eec963 |