Ge Zheng
commited on
Commit
·
1e0e26e
1
Parent(s):
a4c8b2d
fix openvino python demo (#169)
Browse files
demo/OpenVINO/python/openvino_inference.py
CHANGED
@@ -150,7 +150,7 @@ def main():
|
|
150 |
conf=args.score_thr, class_names=COCO_CLASSES)
|
151 |
|
152 |
mkdir(args.output_dir)
|
153 |
-
output_path = os.path.join(args.output_dir, args.
|
154 |
cv2.imwrite(output_path, origin_img)
|
155 |
|
156 |
|
|
|
150 |
conf=args.score_thr, class_names=COCO_CLASSES)
|
151 |
|
152 |
mkdir(args.output_dir)
|
153 |
+
output_path = os.path.join(args.output_dir, args.input.split("/")[-1])
|
154 |
cv2.imwrite(output_path, origin_img)
|
155 |
|
156 |
|