Fix: some formats of models require fixed-size input images
Update 2024.06.24: V1.1.1.1 Released
Major Changes:
- Added a new parameter
static_resized_shape
when initializingMathFormulaDetector
, 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
.
主要变更:
MathFormulaDetector
初始化时加入了参数static_resized_shape
, 用于把输入图片 resize 为固定大小。某些格式的模型在推理时需要固定大小的输入图片,如CoreML
。