-
Notifications
You must be signed in to change notification settings - Fork 33
FindFrames
Works similar to FindVideo, except that the return type is a list of frames within the video rather than the video blob itself. All operations that can be performed on images are also applied for this command.
The list of images to be returned is defined in two ways: either by specifying the frames parameter, or by passing interval as part of operations block. The command fails in presence of both parameters, or in absence of either one of them.
Note that the interval parameter is not supported by commands that operate on images. This is an exception for FindFrames command, as the interval parameter is used as means to specify the list of frames.
- frames: list of frame indexes
- [optional] _ref: for reference
- [optional] format: Specify the format used for returned images [jpg, png]. Default is png.
- [optional] unique: [True or False]. Indicates whether a single element is expected to match that condition.
- [optional] operations: in addition to image operations, an interval can be specified (if frames parameter is not given already)
- [optional] results
- [optional] constraints
- [optional] link
// Find the video and returns 1st, 10th, and 100th frames of it
{
"FindFrames": {
"frames" : [0, 9, 99],
"constraints" : {
"name" : ["==", "Spongebob Squarepants"},
}
}
}
// Same as above, except for using the interval operation
{
"FindFrames": {
"constraints" : {
"name" : ["==", "Family Guy"},
},
"operations": [
{
"type": "interval",
"start": 0,
"stop" : 99,
"step" : 5
},
{
"type": "threshold",
"value": 155,
}
]
}
}
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