
Explanation:
Project type: Object detection
Domain: General (compact)
The scenario requires building a Custom Vision model for a factory with intermittent internet connectivity.
The solution must:
Detect defects in packaging
Locate the defects (provide bounding box information)
Ensure each package contains four products
Support offline use due to intermittent connectivity
Step 1 - Determine Project Type
Image Classification: Assigns a label to an image, but cannot locate where objects/defects are in the image.
Object Detection: Identifies what objects are present and their location (via bounding boxes).
Since the requirement is to identify location of defects and count products, the correct choice is Object detection.
Step 2 - Determine Domain
General domain: Standard general-purpose domain, optimized for cloud inference.
General (compact) domain: A lightweight version designed for exporting models to run offline on edge devices (iOS, Android, ONNX, etc.). Perfect for scenarios with intermittent internet connectivity.
Food domain: Specialized for food image classification, not defect detection in packaging.
Logo domain: Specialized for logo recognition, irrelevant here.
Since the requirement includes offline capability, the correct domain is General (compact).
The answer:
Project type: Object detection
Domain: General (compact)
Microsoft References
Custom Vision project types: Classification vs Object detection
Domains in Custom Vision (General, General compact, Food, Logo, etc.)
Exporting compact models for offline use