Giter VIP home page Giter VIP logo

Comments (15)

jflesch avatar jflesch commented on September 27, 2024 1

Hmm, actually, since you have only one source, I can work around this issue easily. If there is just one source, I just have to not select one --> no selection = no error --> no problem :)

from pyinsane.

lorenzhs avatar lorenzhs commented on September 27, 2024 1

Yup, it scans now. But processing the scanned document seemingly takes forever (I have two tesseract processes at 12 minutes of CPU time right now for a single page), when run manually tesseract takes ~1s per page for me so that's definitely unusual. It's also still throwing SaneExceptions, but these don't prevent it from scanning. Diagnostics

(it seems there are other issues with tesseract 4 as well, have you tried out this combination yet? Paperwork sees and indexes every word in the document as b'word'. This is a very separate issue though. I'll continue using my custom scanning/OCR pipeline for now, I guess. See the resulting
paper.1.words )

from pyinsane.

jflesch avatar jflesch commented on September 27, 2024 1

Anyway, since your scan problem is solved, I'm closing this ticket :)
Feel free to comment here if you still have issues with scanning, and I'll reopen this ticket.

from pyinsane.

jflesch avatar jflesch commented on September 27, 2024

Hello,

Paperwork diagnostic output just show that Sane or your driver returns SANE_STATUS_INVAL. It doesn't tell us anything else.

Can you post a scan report using IronScanner please ? It will include much more detailed informations, including Sane debug output and your driver debug output.

from pyinsane.

lorenzhs avatar lorenzhs commented on September 27, 2024

OK, will do when I get home. For the record, the DS-310 is identical to the ES-200 and both are related the DS-360W / ES-300W, which is the same scanner with wifi and a battery.

from pyinsane.

lorenzhs avatar lorenzhs commented on September 27, 2024

There you go: https://openpaper.work/en-us/scanner_db/report/120/ - it actually scanned successfully after what ignoring(?) the pyinsane errors :)

from pyinsane.

jflesch avatar jflesch commented on September 27, 2024

Did it use the automatic document feeder as expected ? oO

from pyinsane.

lorenzhs avatar lorenzhs commented on September 27, 2024

Yup! I didn't put the paper in completely straight so it's a bit crooked but it worked nicely

from pyinsane.

jflesch avatar jflesch commented on September 27, 2024

Weird ... I guess I can make it work but .. weird. (and annoying .. the workaround will be ugly)

from pyinsane.

jflesch avatar jflesch commented on September 27, 2024

8a1acec

from pyinsane.

jflesch avatar jflesch commented on September 27, 2024

Flatpak version will include the fix: https://origami.openpaper.work/#/builders/7/builds/67

from pyinsane.

jflesch avatar jflesch commented on September 27, 2024

Can you install the version from git and confirm the workaround works please ?

from pyinsane.

lorenzhs avatar lorenzhs commented on September 27, 2024

I’ll give it a try as soon as I get a chance. Thanks for the quick response!

from pyinsane.

ivanfet avatar ivanfet commented on September 27, 2024

Thanks for the feedback. I'm using the flatpack version of Paperwork. I will lookout for the next flatpack version and try that.

from pyinsane.

jflesch avatar jflesch commented on September 27, 2024

You're using Tesseract 4.0.0alpha in Paperwork. This version is buggy and randomly slow. I suggest you either update it or switch back to Tesseract 3.05.

from pyinsane.

Related Issues (20)

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.