make
Place the file at config/config.yml in the root of the repo.
Here is an example, but modify for your needs:
objects:
green_object:
color_lower: 70, 70, 0
color_upper: 110, 100, 50
min_area: 1000
max_area: 100000
cameras:
camera:
zones:
zone:
coordinates: 230, 530, 325, 610
objects:
- green_object
Upon opening, you should be prompted to open the project in a remote container. This will build a container on top of the base swatch container with all the development dependencies installed. This ensures everyone uses a consistent development environment without the need to install any dependencies on your host machine.
The backend runs in python and the frontend runs in flutter:
python3 -m swatch
flutter run web
After closing VSCode, you may still have containers running. To close everything down, just run docker-compose down -v to cleanup all containers.