pragone / jphash Goto Github PK
View Code? Open in Web Editor NEWJava Perceptual Hash
Java Perceptual Hash
Hi, I have a problem with using this library,
I have imported the library in the main class of my project, but NetBeans says "Cannot find symbol class: RadialImageHash, location: class Comparador (my main package's name)" I attached a cap of the view.
Im new in Java, so i dont know if its okay to put te folder of this library on the folder src/main/ of my project, because i did it, and... doesnt work.
cap:
https://drive.google.com/file/d/0B_UpjJQna4J4d0pJSkhZUUhWbVU/view?usp=sharing
Thanksss!!!
Today we found out that there seems to be a bug in the JIT implementation of OpenJDK 14.0.1 that makes the behavior of at least one method - SimpleGrayscaleImage.blur()
- non-deterministic.
You can test and verify this by running the JUnit tests of this project with using OpenJDK 14.0.1 and the following tests "flicker", i.e. sometimes pass, but often don't pass. If you run all tests in RadialHashAlgorithmTest
, then testHashEarth2
and testHashSerialization
will flicker. If you run each of those test methods isolated by itself, it will succeed.
Also, the hash is not stable:
Exp :a3ff195b0048ac9be693c3a394a1bcb7ab9bb5b4baababa8c0a4b19daa9eb2a7aba2aea7af97ada3 Run1:a5ff1c5b0049ae9de895c5a596a3bdb8ad9db8b6bcadaea9c2a6b39faca0b4a9ada3b0a9b199afa5 Run5:a5fe1b5b0049ae9de895c5a596a3bdb8ad9db8b6bcadaea9c2a6b39eaca0b4a9ada3b0a9b199afa5
Both tests will pass consistently if the following VM parameters are passed when testing:
-XX:CompileCommand=exclude,com/pragone/jphash/image/SimpleGrayscaleImage,blur
Alternatively, you can use OpenJDK 13.
(Other JUnit tests fail, too, but they also fail with OpenJDK 13, so that is probably not related to JIT.)
We'll probably submit a bug report to OpenJDK soon.
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.