Skip to main content

DetectionDialogProps

@fovea/annotation-tool


@fovea/annotation-tool / components/dialogs/DetectionDialog / DetectionDialogProps

Interface: DetectionDialogProps

Defined in: src/components/dialogs/DetectionDialog.tsx:77

Props for DetectionDialog component.

Properties

currentTime

currentTime: number

Defined in: src/components/dialogs/DetectionDialog.tsx:82


duration

duration: number

Defined in: src/components/dialogs/DetectionDialog.tsx:83


error?

optional error: null | string

Defined in: src/components/dialogs/DetectionDialog.tsx:86


fps

fps: number

Defined in: src/components/dialogs/DetectionDialog.tsx:84


isLoading?

optional isLoading: boolean

Defined in: src/components/dialogs/DetectionDialog.tsx:85


onClose()

onClose: () => void

Defined in: src/components/dialogs/DetectionDialog.tsx:79

Returns

void


onDetect()

onDetect: (request) => void

Defined in: src/components/dialogs/DetectionDialog.tsx:80

Parameters

request

DetectionRequest

Returns

void


open

open: boolean

Defined in: src/components/dialogs/DetectionDialog.tsx:78


videoId

videoId: string

Defined in: src/components/dialogs/DetectionDialog.tsx:81