We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 943f04d + 64f4dd3 commit bf623a2Copy full SHA for bf623a2
3 files changed
RELEASE.md
@@ -1,5 +1,15 @@
1
# Release Notes
2
3
+## Update 2025.06.27:发布 V1.2.6.1
4
+
5
+Major Changes:
6
7
+* Bug Fixed
8
9
+主要变更:
10
11
+* 修复已知 bug
12
13
## Update 2025.06.25:发布 V1.2.6
14
15
Major Changes:
cnstd/__version__.py
@@ -17,4 +17,4 @@
17
# specific language governing permissions and limitations
18
# under the License.
19
20
-__version__ = '1.2.6'
+__version__ = '1.2.6.1'
cnstd/ppocr/rapid_detector.py
@@ -245,7 +245,7 @@ def detect(
245
img = img[..., ::-1] # RGB to BGR
246
247
det_out = self._detector(img)
248
- if det_out is None or len(det_out.boxes) < 1:
+ if det_out is None or det_out.boxes is None or len(det_out.boxes) < 1:
249
out.append({
250
'rotated_angle': 0.0, # rapidocr 不支持自动旋转
251
'detected_texts': [],
0 commit comments