-
Notifications
You must be signed in to change notification settings - Fork 33
FindBoundingBox
FindBoundingBox will not return anything by default. If the bounding box was associated with an image or frame, the blob keyword can be set to true in the results block and the pixel data will be returned. Likewise, including the _coordinates keyword in the list option of the results parameter will return a list of the coordinates matching the specified criteria.
- [optional] _ref: local id to be used as reference for a given entity.
- [optional] unique: indicates whether a single element is expected to match that condition.
- [optional] image: reference to an image or a frame
- [optional] rectangle
- [optional] constraints
- [optional] collections
- [optional] results
If nothing is specified, all bounding boxes in VDMS are returned. If rectangle is specified, the bounding boxes returned must be fully within the dimensions indicated by the given rectangle. If image is specified, the bounding boxes must be from that image or frame.
Common usage of this call is to specify an image that contains bounding boxes (as in "find all the regions of interest in this image") or to find all bounding boxes with a given name ("find all regions of interest that correspond to Jane").
// Find the regions of interest from the image named "interesting_stuff"
"FindImage" : {
"_ref" : 1,
"constraints" : {
"name" : [ "==", "interesting_stuff"]
}
}
"FindBoundingBox": {
"_ref" : 2,
"image" : 1,
"results": {
"list": ["_coordinates"]
}
}
// Find all regions of interest that represent Jane Doe
"FindBoundingBox": {
"_ref" : 2,
"constraints" : {
"name" : ["==", "Jane Doe"]
}
"results": {
"blob": true
}
}
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