selectInterpolationSegment
@fovea/annotation-tool / store/annotationSlice / selectInterpolationSegment
Function: selectInterpolationSegment()
selectInterpolationSegment(
state
,videoId
,annotationId
,frameNumber
):null
|InterpolationSegment
Defined in: src/store/annotationSlice.ts:789
Select interpolation segment containing a frame.
Parameters
state
Redux state
annotations
AnnotationState
videoId
string
Video ID
annotationId
string
Annotation ID
frameNumber
number
Frame number
Returns
null
| InterpolationSegment
Interpolation segment or null