Java Zone - The heart of the Java developer community

Java Zone - The heart of the Java developer community


How to Generate and Compare Perceptual Image Hashes in Java

Posted: 30 Apr 2021 01:12 PM PDT

Perceptual image hashing is a relatively new process used primarily in the multimedia industry for content identification and authentication. The process itself uses an algorithm to extract specific features from an image and calculate a hash value based on that information. The hash value that is generated acts as a kind of 'fingerprint' for the image; it is a distinct identifier that is unique to its parent image. 

As you may have guessed by the fingerprint comparison, perceptual image hashing is particularly useful for digital forensics, but it has become an important player in prohibiting online copyright infringement as well. By comparing the hash value of an original/authentic image with the hash value of a similar image, you can identify and match various images and calculate the Hamming Distance between them. For reference, Hamming Distance measures the minimum number of substitutions it takes to change one image to the other, so hash values that are closer together are more similar. 

New to Java? Here Are Some Resources

Posted: 30 Apr 2021 09:40 AM PDT

In this tweet, I was asked if I had a list of resources for developers who are new to Java. I didn't at the time, but I've spent some time researching, and here is that list.

I've listed content that is both free and paid. It's not that one type is superior; it's just to give you plenty of choices. These are the resources that I've used and do still use to re-learn Java. So, if you're new to Java or looking to pick it up again after a break, this blog is for you.

SpringBoot Configure DataSource Using JNDI With Example Using Tomcat 9 Server

Posted: 30 Apr 2021 08:11 AM PDT

In the video within this article, we take a closer look at the SpringBoot Configure DataSource Using JNDI, alongside an example using a Tomcat 9 Server. Let's get started!

Comments

Popular posts from this blog

Gizmodo

Gizmodo