- 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. |
||
|---|---|---|
| .. | ||
| face | ||
| frame | ||
| hw | ||
| media | ||
| utils | ||
| ai_scheduler.h | ||
| graph_manager.h | ||
| http_server.h | ||
| media_server_app.h | ||
| node.h | ||
| plugin_loader.h | ||
| version.h | ||