-
Notifications
You must be signed in to change notification settings - Fork 1
SizeAttribute
MoscowskyAnton edited this page Dec 16, 2020
·
5 revisions
This attribute checks if the object meets the size parameters in the image.
Modes | Accuracy assessment | 3D-translation | 3D-rotation | Contour extraction | Additional info |
---|---|---|---|---|---|
- | C | ❌ | ❌ | ❌ | - |
Not implemented
Checks that the object's area is greater than (MinAreaPc * image area) and less than (MaxAreaPc * image area).
Not implemented
- Name (string, must be set) attribute unique name
- Type (string, must be "Size") attribute type
- Weight (double, default: 1) attribute weight
- Probability (double, default: 0.75) not used for this aatibute
- Contour (bool, default: true) not used for this aatibute
- MinAreaPc (default: 0) The minimum threshold in percents for the ratio of object area to image area.
- MaxAreaPc (default: 100) The maximum threshold in percents for the ratio of object area to image area.
The example also contains a description of the color detection attribute, since the size attribute should be paired with attribute in the detection mode.
<AttributeLib>
<Attribute Name="HistColorPink" Type="HistColor" Histogram="histograms/Pink.yaml"/>
<Attribute Name="NotFractal" Type="Size" MinAreaPc="0.5" MaxAreaPc="100"/>
</AttributeLib>
<SimpleObjectBase>
<SimpleObject Name="PinkSticker" ID="2">
<Attribute Type="Detect">HistColorPink</Attribute>
<Attribute Type="Check">NotFractal</Attribute>
</SimpleObject>
</SimpleObjectBase>
In the example of the histogram filtering attribute, you can see that without the size attribute, unwanted noises are present in the image.
- Home
- ROS-interface
- Interacting with a package through a configuration file
- Common structure of the configuration file
-
Simple objects
- Clusterization
- Filtering
- Tracking
- Attributes
- HSVcolor
- HistColor
- HaarCascade
- Size
- Hough
- Dimension
- BasicMotion
- Aruco
- Feature
- Pose
- DNN
- QR
- QR_Zbar
- LogicAnd
- LogicNot
- LogicOr
- Blob
- Depth
- RoughDist
- Dist
- FaceDlib
- ExractedInfoId
- ExractedInfoString
- UnitTranslation
- SquareObjectDistance
- TorchYOLOv7Attribute
- TorchYOLOv7KeypointAttribute
- ROSSubcriberOpenPoseRaw
- DummyHumanPose
- Complex objects
- Install Guides
- Usage Guides
- Troubleshooting