回答編集履歴
1
f
test
CHANGED
@@ -46,13 +46,13 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
+
# 出力パスを決める
|
49
50
|
|
50
|
-
|
51
|
-
basename = os.path.basename(
|
51
|
+
basename = os.path.basename(path)
|
52
52
|
|
53
53
|
out_path = os.path.join(out_dir, basename)
|
54
54
|
|
55
|
-
|
55
|
+
# 保存
|
56
56
|
|
57
57
|
cv2.imwrite(out_path, dst)
|
58
58
|
|