Fix: some formats of models require fixed-size input images
Update 2024.06.22:发布 V1.2.4.2
Major Changes:
- Added a new parameter
static_resized_shapewhen initializingYoloDetector, which is used to resize the input image to a fixed size. Some formats of models require fixed-size input images during inference, such asCoreML.
主要变更:
YoloDetector初始化时加入了参数static_resized_shape, 用于把输入图片 resize 为固定大小。某些格式的模型在推理时需要固定大小的输入图片,如CoreML。