Learning Blocks
EdgeDetect Lite
A pre-trained box-detection model with a fixed 320 × 320 input.
Try it in StudioOn this page
What is this learning block?
EdgeDetect Lite is a box-detection model. In the model list it appears as EdgeDetect Lite (320x320 only). Studio describes it as good for devices with more than 512 KB of RAM, or Linux devices.
What does it do?
For each object in the image it predicts a box, a label and a confidence score.
How does it learn?
- It starts from MobileNetV2, a network already trained on millions of everyday photos (ImageNet).
- It uses about 8,000 fixed anchor boxes of different sizes and shapes spread over the image.
- For every anchor, it learns two things: does this anchor contain an object (and which one)? And how should the anchor be moved and resized to fit the object exactly?
- Anchors that overlap a real box by at least 50 % are treated as matches; anchors with little overlap learn to say "background".
What model architecture does it use?
- 1Input image320 × 320 × 3
- 2MobileNetV2Pre-trained backbone
- 3Feature pyramidFeatures at several sizes
- 4Detection headLabel and box per anchor
- 5BoxesBox, label, confidence
What settings can I configure?
| Setting | Default | What it does |
|---|---|---|
| Maximum training cycles | Suggested | Studio suggests 90–130 based on your dataset size. |
| Learning rate | 0.001 | How big each learning step is. |
| Training device | CPU | Choose GPU only if your PetalEdge server offers it. |
| Data augmentation | on | Adds flipped and brightness/contrast-changed copies during training. |
Image size: exactly 320 × 320. Set it in Create impulse before training. Any other size stops training with a message asking you to change it.
What problems can it solve?
- Detecting objects with boxes when you have a moderate amount of data; the pre-trained start helps.
- Products on shelves, vehicles, tools, safety equipment.
Simple example
You set the image size to 320 × 320, label 200 photos of tools, and train with the suggested cycles. The evaluation reports mAP@[IoU=50], and live classification draws a box around each tool.
How do I understand the training results?
EdgeDetect Lite shows the same detection scores as Vision Pro:
- mAP@[IoU=50]: the main score; higher is better.
- mAP and mAP@[IoU=75]: stricter versions.
- mAP@[area=…] and Recall@[…]: results by object size and by number of detections.