Commit f1f70dc9 authored by yangql's avatar yangql
Browse files

Update Python/Classifier.py

parent 4d30cab4
......@@ -80,9 +80,9 @@ def saveimage(pathOfImage,text):
iimage = cv2.imread(pathOfImage, cv2.IMREAD_COLOR)
font = cv2.FONT_HERSHEY_SIMPLEX
font_scale = 0.5
font_color = (255, 0, 0)
font_color = (0, 0, 255)
font_thickness = 1
text_position = (5, 10)
text_position = (5, 20)
cv2.putText(iimage, text, text_position, font, font_scale, font_color, font_thickness)
cv2.imwrite("./output_image.jpg", iimage)
cv2.destroyAllWindows()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment