Comments (2)
For pyefd
to work, you need to use the cv2.findCountours
method so that you get a closed contour of the image. If you construct the contour by yourself I have no idea how to be able to ensure that you have done it correctly.
Get the example code from the README, get it to work as you want and then try to see what differs between the contours
array there and the contour_2
array in your code.
from pyefd.
Removed the offending example script (which I did not even know existed...). I have no idea what it was meant to do any more and thus removed it. Sorry.
Removed in #13
from pyefd.
Related Issues (11)
- Method not robust to random index ? HOT 3
- Descriptors not consistent across cycled contour indices HOT 2
- pyefd for 3D points HOT 1
- RuntimeWarning: invalid value encountered in true_divide HOT 3
- Contour chain approximation "simple" is buggy or numerically instable
- Definition of the coefficients returned a_n, b_n, c_n and d_n HOT 1
- Dependabot can't resolve your Python dependency files
- Feature request: normalize_efd function that also outputs angle and scale HOT 1
- Error: operands could not be broadcast together with shapes (0,1,2) (10,0) HOT 2
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
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 pyefd.