-
Notifications
You must be signed in to change notification settings - Fork 33
AddBoundingBox
Chaunte W. Lacewell edited this page Aug 26, 2022
·
1 revision
Bounding Boxes are a special kind of entity, similar to images. The AddBoundingBox call allows applications to add a region of interest to VDMS, where the entity added has a preset class of BoundingBox.
- [optional] _ref: for reference
- [optional] image: reference to an existing image/frame (from an AddImage or FindImage call earlier in the transaction)
- [required] rectangle
- [optional] properties
- [optional] collections
The image parameter allows VDMS to create a connection between the image or frame and the BoundingBox. While it is not required, it is highly recommended.
In addition, there must be a rectangle block (indicating a rectangular region of interest) in order to add a BoundingBox to VDMS.
// Add a rectangular region of interest
"AddImage" : {
"_ref" : 1234,
"format" : "png",
"properties" : {
"name" : "interesting_stuff"
}
}
"AddBoundingBox" : {
"_ref" : 1,
"image": 1234,
"rectangle" : {"x": 120, "y": 50, "w": 40, "h": 40}
}
// Add a region of interest and specify properties
"AddImage" : {
"_ref" : 1234,
"format" : "png",
"properties" : {
"name" : "interesting_stuff"
}
}
"AddBoundingBox" : {
"_ref" : 1235,
"image" : 1234,
"rectangle" : {"x": 120, "y": 50, "w": 40, "h": 60},
"properties" : {
"name" : "Jane Doe"
}
}
Visual Data Management System - Intel Labs
FLINNG Library and Performance
Basic Building Blocks
Insert
- AddBlob
- AddBoundingBox
- AddConnection
- AddDescriptor
- AddDescriptorSet
- AddEntity
- AddImage
- AddVideo
- NeoAdd
Query
- ClassifyDescriptor
- FindBlob
- FindBoundingBox
- FindConnection
- FindDescriptor
- FindDescriptorSet
- FindEntity
- FindFrames
- FindImage
- FindVideo
- NeoFind
Update