Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have an idea, that is, I want to identify the letters in an image which may be .bmp or .jpg.
For example, here is an .bmp image with a letter 'S' in it. What I want to do is to identify the letter using Python.
It's kinda similar with those Questions about auth code recognition, and I read some of those Q's, but still can't figure what to do.
Any advice is appreciated.
You're probably looking for the OpenCV toolkit; it is commonly used for tasks where software must "recognize" some contents or features from images.
Also there is whole blown system Ocropus which has Python bindings or perhaps better Python bindings to tesseract
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Pretty much the title. Using NLP, i want something that can extract text from images. I am new to this and don't know where to start and how to go about it. Help will be appreciated.
Do you want to create it or use known API?
There is two good known options, Google vision or tesseract.
in tesseract the flag for Arabic is 'ara' -> https://raw.githubusercontent.com/tesseract-ocr/tessdata_best/master/ara.traineddata.
In Google vision is languageHints = 'ar'
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am using Pytesseract for OCR. But it looks like there is no option in the documentation to extract the confidence of ever character. I already have the Confidence of word but I want to know at which character the confidence is getting low.
So after research I came to know there is a function tesserractExtractResult() in the tesseract API which can give confidence of characters.
How can I use this function in Python?
Pytesseract calls Tesseract in the background as if launched in a terminal (here in the source code), so you have at your disposition only what the shell command can do - and as far I know, you can't get character confidence.
I think that pyocr should be able to do so, but it is needed to add the function call (maybe in tesseract_raw.py? ).
Also, more as a note: it seems that python-tesseract and pytess have at least some line in code referring to tesseractExtractResult, but last commits were respectively in 2015 and 2012.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I don't want to use any library. And learn popular image processing algorithms and implement it. Purely using Python.
It's my project in college. Not anything fancy, just want to implement simple image processing algorithms on Bitmap.
Here, I'll give you a start without libraries.
filer=open('turkey.png','rb')
print(filer.read())
filer.close()
Then you have to figure out a way to decode it.
You can't. Simple answer. Python on its own does not have any libraries pre-installed or pre-imported for manipulating pictures. Why wouldn't you use libraries? If you are building a big project or even a smaller one, I think you will need to import a library. Python is very dependent on libraries! Maybe in the future if python has a pre-installed & pre-imported library for picture editing! :)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am beginner of Python, does anyone knows how to make a different shapes of message windows in python? i want to design a better look and friendly GUI.
Thank you
I think Qt is what may be useful to you. Take a look at the documentation on QtProject homepage. Lots of tutorials can be found on the Internet. For your specific problem take a look at this SO question.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I need to make an app that tells if the only face in a certain picture is that of a man or a woman
It would be better if it was done using python.
Any suggestions are welcome
I think this will solve your problem. Gender detection is what you need to do. Recently I have done gender detection using the below link and got a decent accuracy. Follow the link step by step.
http://docs.opencv.org/trunk/modules/contrib/doc/facerec/tutorial/facerec_gender_classification.html
And there is a C++ code in the above link for Face-recognizer which does this. You can get the equivalent python API's in opencv documentation.
This SO Answer has few more links and information.