Make a contour by pictures, version with separated camera.
- Python 3
- FastAPI
python3 -m venv venv
to create virtual environment.
source venv/bin/activate
to activate the virtual environment.
pip install --upgrade pip && pip install -r requirements.txt
to install dependencies.
uvicorn --host 0.0.0.0 --port 8000 --reload main:app
to launch the server.
Then http://0.0.0.0:8000/
is the end point.
To see API document, access to http://0.0.0.0:8000/docs
or http://0.0.0.0:8000/redoc
.
Using httpie
http --form POST http://0.0.0.0:8000/ file@samples/Airplane.jpg -o output.jpg
The software is distributed freely under GOOD DADDY LICENSE, see LICENSE.