Deep Learning

How can I improve YOLOv8 detection accuracy for small objects in low-light surveillance footage?

SA Asked by Sarah Jenkins · 14-03-2024
0 upvotes 14,808 views 0 comments
The question

I am currently working on a security project using YOLOv8 for real-time monitoring. The model performs well during the day, but at night, the precision for small objects like bags or handheld items drops significantly. I’ve tried basic data augmentation, but the false negatives are still too high. Has anyone successfully tuned hyperparameters or used specific pre-processing to fix this? 

3 answers

0
EM
Answered on 18-05-2024

To address the precision drop at night, you should implement Histogram Equalization or CLAHE (Contrast Limited Adaptive Histogram Equalization) during your pre-processing stage to enhance visibility without adding noise. Additionally, ensure your training dataset includes a heavy mix of synthetic "night-time" images created through brightness reduction and Gaussian noise injection. In your YOLOv8 config, try increasing the 'imgsz' (input image size) to 1280 to help the model perceive smaller pixel clusters. Using a larger model version like YOLOv8x can also capture more complex features.

0
MI
Answered on 22-05-2024

Are you using a custom dataset for the night-time training, or are you relying solely on the pre-trained COCO weights? If you haven't labeled specific low-light frames from your own cameras, the domain gap might be too large for the model to generalize effectively.

S 25-05-2024

Michael makes a great point. I switched to a custom dataset of 2,000 infra-red frames and the mAP increased by 15%. I also recommend adjusting the 'iou' threshold in your validation settings. Sometimes the default 0.7 is too strict for grainy footage; dropping it to 0.5 helped me reduce those frustrating false negatives significantly in my project.

0
D
Answered on 10-06-2024

You might want to experiment with Mosaic augmentation. It’s built into YOLOv8 and helps the model recognize objects at various scales, which is vital for detecting small items in cluttered scenes.

EM 15-06-2024

I agree with David. Mosaic augmentation is a game-changer. I also found that adding a "no-object" class for empty dark frames helps reduce the false positive rate in surveillance.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session