Skip to content

AKrekhovetskyi/spot-gazer-vision

Repository files navigation

SpotGazer Vision

Computer vision service of the parking lot occupancy recognition system. The repository is a part of a multi-service SpotGather system.

🛠️ Prerequisites

To successfully setup and run the vision kernel, your system must meet the following requirements:

poetry self add poetry-dotenv-plugin

🔩 Installation and launch

To run the vision service, execute the following commands in the Linux terminal:

git clone https://github.com/AKrekhovetskyi/spot-gazer-vision.git
cd spot-gazer-vision

Create an .env file from .env.sample and set the necessary variables

mv .env.sample .env

Install dependencies:

poetry install
pre-commit install --install-hooks

Make sure the Django server of the SpotGazer Backend service is up and running. Then run SpotGazer Vision:

poetry run python -m run_prediction

👨‍💻 Contribution

Make sure to install pre-commit and its hooks before making any commits:

pre-commit install --install-hooks

Run the tests with the following command:

poetry run pytest tests -vv -s -rA

Sometimes it might be necessary to add the ./src folder to the Python path so that to run the tests:

export PYTHONPATH=${PYTHONPATH}:$(pwd)/src

About

Computer vision service of the parking lot occupancy recognition system

Topics

Resources

License

Stars

Watchers

Forks

Languages