Comments (5)
Hey there, thank you for bringing this to our attention! The algorithms return zero because transparent pixels are black pixels with 0 alpha. This means that those three images currently equate to images with only black pixels; therefore, the difference is zero.
ChiSquareDistanceHistogram returns a non-zero result because of floating point error.
We are working on a feature to handle transparent pixels and address #3
from image_compare.
Hello, do you know when you will add this feature ?
Or do you know another solution to answer to my problematic ?
Initially, I wanted to compare the data bytes of each images but I had an issue with this.
Regards.
from image_compare.
You should be able to compare the images for difference if the digits (1, 2 and 3) are in any color other than black.
The package automatically compares the bytes of the images. Each algorithm extracts the bytes first and then compares them with a unique strategy.
from image_compare.
Hello, I found a solution to my problem.
I have succeeded to extract the bytes of the pictures, hash them and compare the hashcodes.
My initial goal was to verify if 2 pictures are exactly the same.
Here is my code to get the hash of a picture which is on internet if it can help someone :
final response = await http.get(Uri.parse(pictureUrl));
var bytes = response.bodyBytes;
String imageHashcode = md5.convert(bytes).toString();
from image_compare.
Feature in progress #6
from image_compare.
Related Issues (7)
- Cannot open file, path = '..assets/images/bunny.jpg' (OS Error: No such file or directory, errno = 2) , EVEN THOUGH I HAVE TESTED IMAGES FROM TESTED FOLDER IT IS SHOWING AND READING IN IMAGE.FILE HOT 3
- Image Class is not supported HOT 1
- PNG transparent issue HOT 4
- A valid image could not be identified from ... HOT 5
- Make _getImageFromDynamic public HOT 5
- The code is Not Working Properly Please check that and Upload A new Repo 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 image_compare.