cytosmart-bv / tomni Goto Github PK
View Code? Open in Web Editor NEWTomni is a collection of helper function for python opencv and numpy. Usefull for computer vision problems
Home Page: https://tomni.cytosmart.com/
License: Apache License 2.0
Tomni is a collection of helper function for python opencv and numpy. Usefull for computer vision problems
Home Page: https://tomni.cytosmart.com/
License: Apache License 2.0
When a polygon has duplicate points, the minEnclosingCircle function from cv2 will give a different result than expected which in turn causes the roundness to be calculated wrong.
tomni\transformers\labels2listsOfPoints\test_labels2listsOfPoints.py", line 38, in test_select_labels_as_indices
AssertionError:
Arrays are not equal
Mismatched elements: 6 / 14 (42.9%)
Max absolute difference: 1
Max relative difference: 1.
x: array([[1, 3],
[1, 4],
[1, 5],...
y: array([[1, 3],
[1, 4],
[2, 4],...
don't know if we want to do something with this since labels2listsOfPoints is going to be deprecieated
radius is used as diameter in _calculate_average_diameter ,to calculate the minor and major axis (these should be diameter) and _calculate_roundness
are called r1 and r2 but fitEllipse returns diameters. diameters are also the way major and minor axis are used in _calculate_average_diameter so there it is used correctly
The new way of calculating circularity is different than the old and gives different results. Shouldve been a major (atleast minor) update.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.