- Added `resize_mode` option to `preprocess_node` for handling image resizing strategies: stretch, keep ratio, and letterbox. - Implemented `BuildLetterbox` function to create letterbox resized frames while maintaining aspect ratio. - Introduced `FrameTransformMeta` structure to store transformation metadata for frames, including scaling and padding information. - Updated detection coordinate calculations in `ai_yolo_node` to utilize transformation metadata for accurate bounding box adjustments. - Enhanced bounding box mapping in `osd_node` to account for potential discrepancies between detection and frame sizes. - Refactored image processing logic to support new resizing modes and ensure compatibility with existing formats. |
||
|---|---|---|
| .. | ||
| ai_face_det | ||
| ai_face_recog | ||
| ai_yolo | ||
| alarm | ||
| det_post | ||
| gate | ||
| input_file | ||
| input_rtsp | ||
| osd | ||
| preprocess | ||
| publish | ||
| storage | ||
| tracker | ||
| zlm_http | ||
| CMakeLists.txt | ||