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 cv2 | |
import pytesseract | |
import numpy as np | |
from pprint import pprint | |
from PIL import Image | |
img = cv2.imread('/Users/cgranados/Code/terravision/img/floor.png') | |
grey = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) | |
hsv = img |