Code Monkey home page Code Monkey logo

Comments (5)

amit-y11 avatar amit-y11 commented on July 28, 2024

Yeah, the Persian language is supported when you use ocr engine 3, I have used ocr engine 1 because it is faster than other ocr engines. You can change it if you want you just have to change OCREngine = 1 to OCREngine = 3

data=requests.get(f"https://api.ocr.space/parse/imageurl?apikey={API_KEY}&url={filepath}&language={query.data}&detectOrientation=True&filetype=JPG&OCREngine=1&isTable=True&scale=True")

from the_ocr_bot.

sholoomail avatar sholoomail commented on July 28, 2024

i change it but in bot when i upload image, persian language button not display.

from the_ocr_bot.

amit-y11 avatar amit-y11 commented on July 28, 2024

You will have to add the Persian Language here

keyboard = [[InlineKeyboardButton("English ", callback_data='eng'), InlineKeyboardButton("Russian", callback_data='rus'),InlineKeyboardButton("Czech", callback_data='cze')],
with callback_data = 'per'

from the_ocr_bot.

sholoomail avatar sholoomail commented on July 28, 2024

thanks a lot.
is possible you create a branch for engine 3?

from the_ocr_bot.

amit-y11 avatar amit-y11 commented on July 28, 2024

Okay, I will make a separate branch for engine 3

from the_ocr_bot.

Related Issues (1)

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.