Skip to main content

selectIsKeyframe

@fovea/annotation-tool


@fovea/annotation-tool / store/annotationSlice / selectIsKeyframe

Function: selectIsKeyframe()

selectIsKeyframe(state, videoId, annotationId, frameNumber): boolean

Defined in: src/store/annotationSlice.ts:690

Check if a frame is a keyframe.

Parameters

state

Redux state

annotations

AnnotationState

videoId

string

Video ID

annotationId

string

Annotation ID

frameNumber

number

Frame number to check

Returns

boolean

True if frame is a keyframe