HTML5 Zone is brought to you in partnership with:

Hirvesh Munogee is a freelance web developer who also happens to have a passion for blogging. Hirvesh is a DZone MVB and is not an employee of DZone and has posted 177 posts at DZone. You can read more from them at their website. View Full User Profile

Resemble.js - A JavaScript Library For Image Analysis & Comparison

02.24.2013
| 2894 views |
  • submit to reddit

Resemble. js is a JavaScript library which allows you to perform image analysis and comparison in the browser, using JavaScript and the HTML canvas.

You just need to supply an image and the library will compute the RGB values of the image as well as well as it’s brightness.

With Resemble.js you can also perform comparison between two images easily. You can ignore colors and antialiasing while comparing the images, with Resemble.js giving you a true or false on whether the images are same or not.

Requirements: None
Demo:http:/ / huddle. github. com/ Resemble. js/
License: Free

Published at DZone with permission of Hirvesh Munogee, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)