Comments (5)
from pyimgscan.
from pyimgscan.
Ah, it happens sometimes, when the algorithm cannot find 4 corners in the first place. I'll look into it more, and perhaps print a traceback that makes more sense.
The long term goal is, of course, to always find 4 corners, especially in this type of image where it seems like the edges of the paper is pretty visible.
I'm going to guess that there isn't enough contrast between the paper and the background for the algorithm at the current stage, so the contours are weak, therefore corners not found.
I'll test your image when I get some time, and let you know exactly what went wrong. Thanks for the feedback!
from pyimgscan.
@hacksider I tested your image and it indeed got overexposed during the adjustment phase and lost its contour.
I need to come up with a better pre-processing algorithm so that the contours are best preserved. If you can pre-process your image so that there is more contrast, like this:
That will fix the issue.
from pyimgscan.
Awesome! Thanks for the tips! By the way, the app is amazing and is a life saver! Really loved the implementation! Kudos to you!
from pyimgscan.
Related Issues (2)
- Can i use this as API. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyimgscan.