Coder Social home page Coder Social logo

vishalagrawalit / know_your_medicine Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 3.0 38 KB

Now knowing each and every details of the medicines becomes a lot easier, just scan the prescription and we'll tell you the necessary details of the medicine.

License: MIT License

Python 100.00%
beautifulsoup django-rest-framework medicine medicine-details ocr-recognition prescriptions webcrawler

know_your_medicine's People

Contributors

vishalagrawalit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

know_your_medicine's Issues

pytesseract exception handling error

There is an exception handling error within handling error in pytesseract.py file from your code.
There is exception handling error in line mentioned below
if name == 'main':
exit(main())

and also in line
try:
proc = subprocess.Popen(cmd_args, **subprocess_args())
except OSError as e:
if e.errno != ENOENT:
raise
else: raise TesseractNotFoundError()

The error is as mentioned below:
installed or it's not in your PATH. See README file for more information.
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 255, in run_tesseract
proc = subprocess.Popen(cmd_args, **subprocess_args())
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 259, in run_tesseract
else: raise TesseractNotFoundError()
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 287, in run_and_get_output
run_tesseract(**kwargs)
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 425, in
Output.STRING: lambda: run_and_get_output(*args),
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 422, in image_to_string
return {
File "D:\know_your_medicine-master\medicine_details.py", line 29, in
text = pytesseract.image_to_string(Image.open(src_path + filename))
pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information.

can you please check the error and write me back also please give me code or method to remove error.
Please get back to me.
Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.