RemoteCV is a queued mechanism to run OpenCV computations and store them for later usage.
Currently, Thumbor uses remotecv to outsource facial or feature detection, but nothing stops you from integrating it into your product.
RemoteCV supports both PyRes and Celery for queueing back-end.
pip install remotecv
Clone the repository:
git clone https://github.com/thumbor/remotecv.git
Create a virtualenv:
cd remotecv
mkvirtualenv remotecv
Install dependencies:
make setup
Run:
make run
After installing the project, you can execute
remotecv
If you want a healthcheck handler, you must pass an argument in remotecv execution. You can also specify the http server port, the default http server port is 8080.
remotecv --with-healthcheck --server-port=8888
make unit