Answers for "TypeError: Image data of dtype object cannot be converted to float"

0

TypeError: Image data of dtype object cannot be converted to float

import cv2 as cv
from matplotlib import pyplot as plt
import pytesseract
from resizeimage import resizeimagen bn 

img = cv.imread("D:\TemplateMatch\\fitting.png") ------>"THIS IS THE WRONG USAGE"
#cv.rectangle(img,(29,2496),(604,2992),(255,0,0),5)
plt.imshow(img)
Posted by: Guest on April-18-2022

Code answers related to "TypeError: Image data of dtype object cannot be converted to float"

Browse Popular Code Answers by Language