Internship
Road-marking segmentation with Mask2Former
Fine-tuned a Mapillary-pretrained Mask2Former to segment lane lines, yellow boxes, dividers and other road features in LTA CCTV views, after replacing its label set with the classes the project needed.

The problem
Traffic analytics on fixed CCTV needs to know where the lanes, dividers and box junctions are in each camera view. Off-the-shelf segmentation models know generic classes like “road” and “lane marking”, but not the specific features the project needed.
What I built
- Started from Mask2Former pretrained on Mapillary Vistas, a large street-level dataset, so the model already understood road scenes.
- Replaced the original label set with the project’s own classes, such as lane lines, yellow boxes and dividers, and adapted the model head to match.
- Annotated lanes and road features on CCTV frames to build the training set.
- Fine-tuned the model for panoptic segmentation on these views.
Image to comesegmentation output on a CCTV view (before and after fine-tuning, if available)16/9
Result
TODO: Result: a metric such as mIoU or PQ, or a before-and-after example.
What I learned
TODO: One or two sentences in my own words.