Skip to content

Commit 067cf68

Browse files
authored
Update toon.py
Cleaning the code
1 parent f8ef745 commit 067cf68

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

toon.py

-7
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212
type=str,
1313
help='Path to the image.')
1414

15-
FLAGS, unparsed = parser.parse_known_args()
16-
17-
if FLAGS.image is None:
18-
print("error")
19-
else:
20-
mode = IMG
21-
2215
#Could read the image without the argparse, using the command below
2316
#img = cv2.imread("yourimage.jpg")
2417
img = cv2.imread(FLAGS.image)

0 commit comments

Comments
 (0)