This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import cv2 | |
import os | |
i=0 | |
os.chdir('./Testing3') | |
while i<11: | |
j=0 | |
while j<11: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import cv2 | |
import os | |
def get_contour_precedence(contour, cols): | |
tolerance_factor = 10 | |
origin = cv2.boundingRect(contour) | |
return ((origin[1] // tolerance_factor) * tolerance_factor) * cols + origin[0] | |
i=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! python3 | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.support.ui import Select | |
import time, random | |
from datetime import datetime | |
firstName = Bob | |
lastName = Smith |