import { useTranslation } from 'react-i18next' interface Props { open: boolean onClose: () => void } const GUIDELINES = [ { en: 'Draw bounding boxes tightly around the target', ua: 'Малюйте рамки щільно навколо цілі' }, { en: 'Do not include shadow in the box unless the target is the shadow itself', ua: 'Не включайте тінь у рамку, якщо ціль не є тінню' }, { en: 'If the target is partially occluded, annotate the visible part', ua: 'Якщо ціль частково перекрита, анотуйте видиму частину' }, { en: 'Choose the correct class for each detection', ua: 'Обирайте правильний клас для кожної детекції' }, { en: 'Set the affiliation (Friendly/Hostile/Unknown) for military targets', ua: 'Встановіть приналежність (Свій/Ворожий/Невідомий) для військових цілей' }, { en: 'Validate annotations before they are used for training', ua: 'Валідуйте анотації перед використанням для навчання' }, ] export default function HelpModal({ open, onClose }: Props) { const { i18n } = useTranslation() if (!open) return null const lang = i18n.language === 'ua' ? 'ua' : 'en' return (
e.stopPropagation()}>

How to Annotate

    {GUIDELINES.map((g, i) => (
  1. {i + 1}. {g[lang]}
  2. ))}

Keyboard Shortcuts

SpacePlay / Pause ← →Frame step Ctrl + ← →5 second skip EnterSave annotation DeleteDelete selected XDelete all detections 1-9Select detection class MMute / Unmute Ctrl + ScrollZoom canvas EscClose dialog / editor VValidate (Dataset) PageUp/DownNavigate media / pages
) }