Automatic tracking on a PTZ camera
Automatically detecting and tracking vessels with computer vision, and steering a motorised camera to keep them in frame.
Thales LAS · Apprenticeship

- Role
- Apprentice engineer, design and development of the processing pipeline
- Setting
- Proof of concept in an R&D environment
Confidential
This project is carried out in an industrial setting. The description deliberately stays at the level of method and publicly available technologies: no data, no figures and no architecture details are published.
Key points
- Full closed-loop pipeline, from the image to camera control
- Dataset built and annotated, detectors trained and benchmarked
- Multi-target tracking and inference optimised for real time
- Technical choices grounded in a state-of-the-art review of every link
How it works
- 1
Capture
The video stream is decoded continuously and prepared for analysis, without degrading the image shown to the operator.
- 2
Detection
A DETR-family detector, trained on a dataset built for the project, locates the vessels in every frame. Inference is optimised to hold real time.
- 3
Tracking
A multi-object tracking algorithm matches detections from one frame to the next and smooths the trajectories, giving the controller a steady set-point.
- 4
Camera control
The offset between target and frame centre becomes a camera command, in a loop designed to stay stable at any zoom level.
The assignment
As part of my apprenticeship, I am designing a proof of concept that detects vessels in a video stream, tracks them over time and steers a motorised camera to keep them in frame. A maritime scene is a demanding case: the background never stops moving, a target can take up a few pixels or the whole screen, and lighting varies widely.
Technical choices
Before settling on any technology, I reviewed the state of the art for every link: object detectors, multi-object tracking algorithms, inference optimisation and camera control protocols. Three criteria, set before any comparison, decided between the candidates: see tiny targets, hold real time and remain integrable into industrial software.
- The DETR family rather than anchor-based detectors: it needs no duplicate filtering, a step that is hard to tune when targets are small and close together
- ByteTrack, which keeps low-score detections for a second association attempt: a distant target that is hard to see keeps its track
- Licensing counted as much as performance: every block retained carries a permissive licence
- ONVIF for camera control, because it is a standard: the system is not tied to any camera model
- A reproducible test protocol, to compare two settings under the same conditions rather than by impression
What I took away
- Measure before deciding: without a reproducible test protocol you optimise what you can measure rather than what actually limits you
- The full vision pipeline, from building the dataset to deploying an optimised inference engine
- Control-theory basics learned in the field, designing a loop that must stay stable despite its own delay
- Licensing as a selection criterion, on a par with performance
- Deploying an application in a constrained environment