Train and deploy an anonymiser that blurs buildings

Open
#466 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python, pytorch

Research direction

Read the study and the preceding issue pyronear/pyro-engine#465 to identify the chosen classes and data sources, then inspect pyro_camera_api/services/vision.py and the current pyronear/yolov11n model. Build and label the dataset, train and evaluate on station images, and compare Raspberry Pi speed; export NCNN and ONNX and publish the model. Done when the chosen classes blur on a station livestream and Pi FPS and latency match today or an accepted loss is documented.

Written by the indexing model from the issue text.

Description

module: vision type: enhancement

Part of pyronear/roadmap#41 (Livestream anonymisation). After pyronear/pyro-engine#465.

Context

Train the model that replaces the current YOLO11n (persons and vehicles) with one that also detects buildings and the other classes chosen in the study, as fast as today on a Raspberry Pi.

What has to be done

  • Build the dataset from the chosen sources, plus our own labelled station images if the study says so.
  • Train. Test on station images (small, far buildings). Compare speed with the current model on a Pi.
  • Export NCNN and ONNX, publish on Hugging Face next to pyronear/yolov11n.
  • Update Anonymizer (pyro_camera_api/services/vision.py): model name, class filter, thresholds.

Done when

  • The new model blurs the chosen classes on a station livestream
  • FPS and latency on the Pi are the same as today, or the loss is accepted
Dominant language
Python
Stars
21
Forks
10
Avg merge
4d 4h
Merged PRs (30d)
13

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pyronear/pyro-engine

All issues in pyronear/pyro-engine

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.