Imgboxes = pytesseract.image_to_boxes(frame) Imgchar = pytesseract.image_to_string(frame) Raise IOError("Cannot Open The Video Camera")Ĭv2image = cv2.cvtColor(frame, cv2.COLOR_BGR2RGBA) #* Self.cap = cv2.VideoCapture("C:\\Users\\UmerSelmani\\PycharmProjects\\pythonProject\\video2.mp4") ![]() _cmd = 'C:\\Program Files\\Tesseract-OCR\\tesseract.exe'ī = tk.Button(frame, text='open', command=self.load_window) do I have to do everything from scratch or is this fixable? import cv2 I want to put the cam view within a Tkinter frame, and for now, I am able to print the text when I press the 'C' key, but instead, I want to achieve this task when I do press a button which I want to implement beside the cam within the frame.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |