We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

3 posts • Page 1 of 1
ajsw
Posts: 2
Joined: Wed Aug 06, 2025 8:36 pm

Retraining AI model for image detection

Wed Aug 06, 2025 8:42 pm

Ive been experimenting with object detection in images on my Pi5 using OpenCV. Ive found the Caffe Mobile SSD model from here https://github.com/chuanqi305/MobileNet-SSD performs the best in terms of CPU usage however i would like to improve its accuracy.

Is there any guides on how to start with retraining? I cannot find anything and the instructions on GitHub make no sense to someone new to AI models.

Thanks

ajsw
Posts: 2
Joined: Wed Aug 06, 2025 8:36 pm

Re: Retraining AI model for image detection

Thu Aug 07, 2025 10:42 pm

Ive discovered I can annotate images using the website cvat.ai and then export the data in PASCSL VOC 1 format which I think is correct for Mobile SSD caffe models? Any advice from there would be great thanks

Akash Jana
Posts: 5
Joined: Tue Sep 16, 2025 3:09 pm

Re: Retraining AI model for image detection

Sat Nov 15, 2025 5:03 am

Hi! MobileNet-SSD is fast but limited in accuracy for new objects. To improve it:

Collect & label images – use LabelImg
in VOC format.
Set up training – better on a PC with GPU, install Caffe.
Modify model – change num_classes in .prototxt to match your objects.
Fine-tune – start from pre-trained weights (MobileNetSSD_deploy.caffemodel) and train with your data.
Test – load new model in OpenCV using cv2.dnn.readNetFromCaffe().
Tip: start small (2–3 classes) before scaling up.

3 posts • Page 1 of 1

Return to "General programming discussion"

AltStyle によって変換されたページ (->オリジナル) /