def test_do_not_enter_sign(self): image_name = "scene_all_signs.png" test_image = cv2.imread("input_images/test_images/" + image_name) coords = ps2.do_not_enter_sign_detection(test_image) cv2.circle(test_image, coords, 5, (0, 255, 0), 2) cv2.imshow('All_signs', test_image) cv2.waitKey(0) check_result(image_name, coords, (145, 145), 5)
def test_do_not_enter_sign(self): image_name = "no_entry_145_145_background.png" test_image = cv2.imread("input_images/test_images/" + image_name) coords = ps2.do_not_enter_sign_detection(test_image) check_result(image_name, coords, (145, 145), 5)