Compare commits
No commits in common. "c5eeb8748861a68a4d9ba0e7afc8e58c25db72e2" and "0f44df8cecf4f9e798f7534dbee8c4e8a9622ac1" have entirely different histories.
c5eeb87488
...
0f44df8cec
33
.gitignore
vendored
33
.gitignore
vendored
@ -8,6 +8,9 @@ node_modules/
|
||||
config.local.json
|
||||
!config.example.json
|
||||
|
||||
# 忽略 IDE 文件
|
||||
.idea/
|
||||
*.iml
|
||||
|
||||
# 忽略编译输出目录
|
||||
dist/
|
||||
@ -15,33 +18,3 @@ build/
|
||||
|
||||
test
|
||||
*test*
|
||||
|
||||
*.pyc
|
||||
__pycache__/
|
||||
|
||||
|
||||
misc.xml
|
||||
profiles_settings.xml
|
||||
Project_Default.xml
|
||||
*test*.py
|
||||
|
||||
|
||||
# 忽略 Python 缓存文件
|
||||
*.pyo
|
||||
*.pyd
|
||||
*.mo
|
||||
*.so
|
||||
|
||||
|
||||
uvmodule.log
|
||||
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
*.iml
|
||||
.vscode/
|
||||
|
||||
|
||||
# Temp files
|
||||
*.tmp
|
||||
*.swp
|
||||
3
.idea/.gitignore
generated
vendored
Normal file
3
.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
@ -165,15 +165,13 @@ def pic_detect_func(mqtt_pub_ip, mqtt_pub_port, mqtt_pub_topic,
|
||||
try:
|
||||
frame_copy = frame.copy()
|
||||
results = counter(frame)
|
||||
|
||||
func_id=model_func_id_list[0]
|
||||
annotated_frame, box_result = cal_tricker_results(frame_copy, counter, class_names,
|
||||
func_id,
|
||||
model_func_id_list,
|
||||
local_func_cache, para, cls, chinese_label,
|
||||
model_func_id_list[0])
|
||||
|
||||
except Exception as e:
|
||||
print(f"处理帧错误1: {e}")
|
||||
print(f"处理帧错误: {e}")
|
||||
error_count += 1
|
||||
if error_count >= 5:
|
||||
print(f"连续处理错误达到5次 ,正在停止处理...")
|
||||
|
||||
BIN
pt/build-wall.pt
BIN
pt/build-wall.pt
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user