计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
video-detection-workflows【效率与协作】Operate ImageAI video and camera object detection workflows with callbacks for standard and custom models.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to run, script, debug, or explain ImageAI object detection over video files, explicit OpenCV camera/live-stream inputs, or custom ImageAI-trained video detection models.
VideoObjectDetection and RetinaNet, YOLOv3, or TinyYOLOv3 weights.cv2.VideoCapture object.CustomObjects for selected COCO classes.CustomVideoObjectDetection, .pt/.pth weights, and the matching JSON detection config.object-detection-workflows.custom-training-and-data.image-ai skill.VideoObjectDetection; model type retinanet, yolov3, or tiny-yolov3.CustomVideoObjectDetection; model type yolov3 or tiny-yolov3, plus matching JSON config.input_file_path for files. Open a camera only when the user explicitly requests a camera index or stream URL.save_detected_video=True, provide an output base path; ImageAI appends .mp4 and returns that path string. If save_detected_video=False, use callbacks for useful output; the detection call returns None.detection_timeout, choose a practical frames_per_second, and raise frame_detection_interval on slow hardware.return_detected_frame. The complete-video callback never receives a frame argument.scripts/detect_video.py.references/api-reference.md: verified class methods, signatures, inputs, return values, and callback parameter shapes.references/workflows.md: file, camera, custom model, save/no-save, timeout, interval, and performance recipes.references/callbacks-and-analysis.md: callback data schemas and accumulator patterns.references/troubleshooting.md: OpenCV, codec, callback, threshold, timeout, model/config, and performance failures.