Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to extract each character from the image? #1

Open
kushal-chakraborty opened this issue May 22, 2019 · 1 comment
Open

How to extract each character from the image? #1

kushal-chakraborty opened this issue May 22, 2019 · 1 comment

Comments

@kushal-chakraborty
Copy link

kushal-chakraborty commented May 22, 2019

I have done something like this.

`for cnt in contours:
if cv2.contourArea(cnt) > 20:
x,y,w,h = cv2.boundingRect(cnt)
cv2.rectangle(src_img,(x,y),(x+w,y+h),(0,0,0),1)
plt.figure()
plt.imshow(cv2.resize(src_img[y+2:y+h-2,x+2:x+h-2],(25,25)))
plt.show()

showimages()`

but it does not produce the expected result

@jsbien
Copy link

jsbien commented Aug 12, 2023

In other words: how to use the software? Is there a documentation or publication?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants