Calibrate each camera position once and track the shift from a reference image

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

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
computer-vision, python

Research direction

Start with the linked issues #104, #126, #128, #129, and #159 to understand the reference image, alignment method, and calibration bundle this work depends on. Compare aligned shifts with repeated calibrations on the #159 bundle, including the stated precision targets of about 0.2 pixel in plains and 1–2 pixels in hills. Done means camera angles and their errors are attached to each reference, updated from aligned shifts with precision, and usable by #107 to detect moved cameras.

Written by the indexing model from the issue text.

Description

computer-vision help wanted P1 T4-26 task

This issue is part of pyronear/vision-rd#104 (Full camera calibration), in the epic pyronear/roadmap#4 (Single camera localisation).

vision-rd#159 shows that calibrating every frame is noisy: haze hides far ridges, and the skyline seen changes from day to day. Instead, calibrate each camera position once, on its clearest images, and then only measure the small shift between a new image and that reference.

The shift part is already planned for occlusion masks in pyronear/vision-rd#126: a reference image per camera position (pyronear/vision-rd#129), the nature of the movement (pyronear/vision-rd#89) and an alignment method (pyronear/vision-rd#128). This issue reuses them and adds the angles.

What to do
  1. For each camera position, pick a few clear frames (far ridges visible, low fit residual), calibrate them and combine them. Attach the angles and their error to the #129 reference image.
  2. Convert the #128 image shift into azimuth, tilt and roll offsets, and check it against repeated calibrations on the #159 bundle.
  3. When #129 replaces a reference image (light, seasons), carry the angles over by aligning the new reference with the old one, instead of calibrating again.

Localisation needs a more precise alignment than masks: about 0.2 image pixel in plains and 1–2 pixels in hills (vision-rd#103, #161). Please add this target to the comparison in #128.

Done when
  • Angles and error attached to the reference image of each camera position, with the rule used to choose its frames
  • Angles of a new image = reference angles + aligned shift, with its precision
  • Used by pyronear/vision-rd#107 to detect moved cameras

Theme Computer Vision · Priority P1 · Period T4-26

Dominant language
Python
Stars
0
Forks
4
Avg merge
8d 21h
Merged PRs (30d)
2

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/vision-rd

All issues in pyronear/vision-rd

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.