We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
该怎么转换后的yolov5模型,调用摄像头,检测模型中的某个类别,在屏幕上只画这个类别的框,保存检测图片 目前我是这样做,能只输出人信息,但是屏幕会画其它框。 import time from ax import pipeline
pipeline.load([ 'libsample_vin_ivps_joint_vo_sipy.so', '-p', '/home/config/yolov5s.json', '-c', '2', ])
while pipeline.work(): time.sleep(0.001) tmp = pipeline.result()
if tmp and tmp['nObjSize']: for i in tmp['mObjects']: if i['label'] == 0: print(i) else: pass
The text was updated successfully, but these errors were encountered:
No branches or pull requests
该怎么转换后的yolov5模型,调用摄像头,检测模型中的某个类别,在屏幕上只画这个类别的框,保存检测图片
目前我是这样做,能只输出人信息,但是屏幕会画其它框。
import time
from ax import pipeline
pipeline.load([
'libsample_vin_ivps_joint_vo_sipy.so',
'-p', '/home/config/yolov5s.json',
'-c', '2',
])
while pipeline.work():
time.sleep(0.001)
tmp = pipeline.result()
print(tmp)
The text was updated successfully, but these errors were encountered: