Commit 097ee4f1 authored by rokka's avatar rokka

adjusted device 6

parent 204cd863
......@@ -211,14 +211,14 @@ NONAME thermo-hygro
left=border_size,
right=border_size,
borderType=cv2.BORDER_CONSTANT, value=[255, 255, ])
# cv2.imshow("bordered warp humidity", humidity_bordered)
cv2.imshow("bordered warp humidity", humidity_bordered)
kernel_1 = np.ones((5, 5), np.uint8)
temp_bordered_dilated = cv2.dilate(temp_bordered, kernel_1, iterations=2)
humidity_bordered_dilated = cv2.dilate(humidity_bordered, kernel_1, iterations=2)
# cv2.imshow("temp dilated", temp_bordered_dilated)
cv2.imshow("temp dilated", temp_bordered_dilated)
# cv2.imshow("humidity dilated", humidity_bordered_dilated)
#
#
......@@ -226,9 +226,9 @@ NONAME thermo-hygro
#
#
#
# cv2.waitKey(1)
cv2.waitKey(1)
ocr_rois = [temp_bordered_dilated, temp_decimal_bordered, humidity_bordered_dilated]
ocr_rois = [temp_bordered_dilated, temp_decimal_bordered, humidity_bordered]
feat_detect_rois = [dry, wet, min_1, max_1, min_2, max_2]
return [ocr_rois, feat_detect_rois]
......
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