Object Detection(Recognize Orientation)
Description
This operator performs object detection on input images based on deep learning. Unlike standard rectangular box detection, this operator can identify and output the rotation angle of objects, thereby distinguishing the orientation of targets and generating rotated rectangular boxes that fit the objects more closely.
Overview
Performs object detection on input images based on deep learning, capable of identifying object rotation angles and distinguishing orientation.
Scenarios
Select this operator when the application scenario requires not only locating the object but also knowing its precise placement pose or orientation. For example, ensuring parts are aligned and installed at the correct angle in automated assembly processes; checking if specific features on a product are at the correct rotation angle; classifying based on object orientation, etc.
Inputs and Outputs
Inputs |
Image: A single color image to be detected. |
Outputs |
Detection Results: A list of detection instances. Each element in the list represents an identified object, containing its category, confidence score, and a rotated rectangular box describing its precise position and direction. |
Parameters
Weight File
Description |
Loads a pretrained model file for rotated object detection. |
Tuning Instructions |
Select and upload a model file trained for the current specific application scenario and target objects. The quality of the model directly determines the accuracy and robustness of the results. |
Parameter Range |
The file format is required to be .pth. |
Parameter Range |
Values/Range:
|
Confidence Threshold
Description |
Sets the "confidence" threshold for the model’s output results. When identifying each object, the model assigns a score between 0 and 1 indicating how confident it is in that result; only objects with a score above this threshold are output as valid results. |
Tuning Instructions |
If many non-target objects are being incorrectly output, try increasing this threshold. If obvious targets are not being detected, try decreasing this threshold appropriately. |
Parameter Range |
[0,1], Default value: 0.5 |
Parameter Range |
Values/Range: [0.0, 1.0] Default: 0.5 |
Enable GPU Acceleration
Description |
Controls whether the operator uses CPU or GPU for calculation. Since deep learning models have large computational loads, using a GPU can greatly improve processing speed. |
Tuning Instructions |
|
Parameter Range |
Default: False |
Enable Rotation
Description |
Sets whether the model is trained with angle rotation, used to rotate the detection box to fit the target more closely. |
Tuning Instructions |
|
Parameter Range |
Values/Range:
Default: False |
Legacy Labeling Model
Description |
Used to handle models trained with a legacy data annotation method. |
Tuning Instructions |
If you are unsure whether the model uses the legacy annotation format, try both settings. When the detection box angle is clearly incorrect (e.g., the angle is consistently offset by 90 degrees), toggle this option to attempt to resolve the issue. For newly trained models, this option is disabled by default. |
Parameter Range |
Default: False |