Cnstd

Latest version: v1.2.5.2

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2023.06.20

主要变更:
* 基于新标注的数据,重新训练了 **MFD YoloV7** 模型,目前新模型已部署到 [P2T网页版](https://p2t.behye.com) 。具体说明见:[Pix2Text (P2T) 新版公式检测模型 | Breezedeus.com](https://www.breezedeus.com/article/p2t-mfd-20230613) 。
* 之前的 MFD YoloV7 模型已开放给星球会员下载,具体说明见:[P2T YoloV7 数学公式检测模型开放给星球会员下载 | Breezedeus.com](https://www.breezedeus.com/article/p2t-yolov7-for-zsxq-20230619) 。
* 增加了一些Label Studio相关的脚本,见 [scripts](scripts) 。如:利用 CnSTD 自带的 MFD 模型对目录中的图片进行公式检测后生成可导入到Label Studio中的JSON文件;以及,Label Studio标注后把导出的JSON文件转换成训练 MFD 模型所需的数据格式。注意,MFD 模型的训练代码在 [yolov7](https://github.com/breezedeus/yolov7) (`dev` branch)中。

1.2.5.2

Bug Fixes:

* Fix compatibility issue of setting environment variables on Windows systems
* Use subprocess.run instead of os.system for better cross-platform support

Bug Fixes:

* 修复在 Windows 系统下设置环境变量的兼容性问题
* 使用 subprocess.run 替代 os.system 以提供更好的跨平台支持

1.2.5.1

Major Changes:

* en_PP-OCRv3_det still uses the previous version and does not use RapidDetector

Bug Fixes:

* en_PP-OCRv3_det 依旧使用之前的版本,不使用 RapidDetector

1.2.5

Major Changes:

* Integrated latest PPOCRv4 text detection functionality based on RapidOCR for faster inference
* Added support for PP-OCRv4 detection models, including standard and server versions
* Added support for PP-OCRv3 English detection model
* Optimized model download functionality with support for domestic mirrors

主要变更:

* 基于 RapidOCR 集成 PPOCRv4 最新版文本检测功能,提供更快的推理速度
* 新增支持 PP-OCRv4 检测模型,包括标准版和服务器版
* 新增支持 PP-OCRv3 英文检测模型
* 优化模型下载功能,支持从国内镜像下载模型文件

1.2.4.2

Major Changes:

* Added a new parameter `static_resized_shape` when initializing `YoloDetector`, which is used to resize the input image to a fixed size. Some formats of models require fixed-size input images during inference, such as `CoreML`.

主要变更:

* `YoloDetector` 初始化时加入了参数 `static_resized_shape`, 用于把输入图片 resize 为固定大小。某些格式的模型在推理时需要固定大小的输入图片,如 `CoreML`。

1.2.4.1

Major Changes:

* Fixed a bug in the `detect` method of `YoloDetector`: when the input is a single file, the output is not a double-layer nested list.

主要变更:

* 修复了 `YoloDetector` 中 `detect` 方法的一个bug:输入为单个文件时,输出不是双层嵌套的 list。

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.