Skip to main content

selectIsVisibleAtFrame

@fovea/annotation-tool


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

Function: selectIsVisibleAtFrame()

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

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

Check if a frame is visible in an annotation.

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 visible