3588上python=3.9.6版本测试完成

This commit is contained in:
llyg777
2026-02-27 15:08:35 +08:00
parent beb8c8f1e6
commit b1e3b40dee
9 changed files with 4 additions and 4 deletions

0
wood_detect/1.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 333 KiB

After

Width:  |  Height:  |  Size: 333 KiB

0
wood_detect/wood_detect.py Normal file → Executable file
View File

0
wood_detect/wood_detect.rknn Normal file → Executable file
View File

0
wood_exist/1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

4
wood_exist/wood_exist.py Normal file → Executable file
View File

@ -13,7 +13,7 @@ ROI RKNN 图像分类模块
""" """
import os import os
from typing import Dict from typing import Dict,Union
import cv2 import cv2
import numpy as np import numpy as np
@ -37,7 +37,7 @@ CLASS_NAMES: Dict[int, str] = {
# 全局 RKNN 实例(单例) # 全局 RKNN 实例(单例)
# ===================================================== # =====================================================
_global_rknn: RKNNLite | None = None _global_rknn: Union[RKNNLite, None] = None
def _init_rknn_model(model_path: str) -> RKNNLite: def _init_rknn_model(model_path: str) -> RKNNLite:

0
wood_exist/wood_exist_cls.rknn Normal file → Executable file
View File

0
wood_ng/1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

4
wood_ng/wood_ng.py Normal file → Executable file
View File

@ -13,7 +13,7 @@ ROI RKNN 图像分类模块
""" """
import os import os
from typing import Dict from typing import Dict,Union
import cv2 import cv2
import numpy as np import numpy as np
@ -37,7 +37,7 @@ CLASS_NAMES: Dict[int, str] = {
# 全局 RKNN 实例(单例) # 全局 RKNN 实例(单例)
# ===================================================== # =====================================================
_global_rknn: RKNNLite | None = None _global_rknn: Union[RKNNLite, None] = None
def _init_rknn_model(model_path: str) -> RKNNLite: def _init_rknn_model(model_path: str) -> RKNNLite:

0
wood_ng/wood_ng_cls.rknn Normal file → Executable file
View File