Comments (3)
I tried running the script on the photo you attached, and it worked fine.
"notescan" is simply the original name of the repo/project before it was noteshrink, it has now been changed in the requirements.txt.
Not sure why this error is occurring. What output do you see if you insert the line
print '*** image has shape', img.shape, '***'
immediately before line 340?
from noteshrink.
(Pdb) img.shape
()
(Pdb) type(img.shape)
<type 'tuple'>
update :
i tried once again and now with virtualenv and it is working after i installing noteshrink from requirements. it seems like i can't run noteshrink.py
directly without installing it first. is it expected behaviour?
package that installed in my python (non venv)
Pillow==3.3.1
image==1.5.4
numpy==1.11.1
scipy==0.18.1
from noteshrink.
That's not expected behavior, but I don't quite know why that might be the case. I'm guessing that it's a difference between one of the package versions in your environment and mine, but can't for the life of me think of what it might be.
Closing this for now because you found a work-around.
from noteshrink.
Related Issues (20)
- Error: noteshrink.py:132: RuntimeWarning: invalid value encountered in divide HOT 2
- K-means clustering exception with white pages HOT 1
- What about 'noteshrinking' a pdf? HOT 1
- TypeError: only integer arrays with one element can be converted to an index
- TypeError: unique() got an unexpected keyword argument 'return_counts' HOT 3
- Issues with Windows convert HOT 1
- ValueError: cannot reshape array of size 1 into shape (3) HOT 2
- PDF converter requirement HOT 1
- a CLI to automatize the image creation HOT 2
- Warning: Error opening image HOT 3
- New Design
- Feature requests to improve readability
- Convert the result to vector graphics HOT 1
- Add C# and VB.Net project to derived works in your readme
- Can translate python to c++?
- Plagiarism HOT 5
- Will you accept the PR if I port it to C++? :) HOT 6
- ValueError: a must be greater than 0 unless no samples are taken
- ValueError: a must be greater than 0 unless no samples are taken HOT 1
- Doc photos taken by cameras HOT 4
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 noteshrink.