Questions tagged [resemblejs]

23 questions
0
votes
0 answers

Resemble.js using promises in a loop

I have a similar issue to this: https://github.com/Huddle/Resemble.js/issues/57. However he says that he is using promises and async to loop over, so that it takes 4-5 to do 900 images! Currently for me it takes about 2-3 seconds per image with this…
SwimmingG
  • 654
  • 2
  • 9
  • 29
0
votes
1 answer

Compare multiple part of an image through canvas using resemble.js

I am trying to compare different blocks of an image(filled.png) with a specific block of another image(blank.png). So far I have tried this :- var canvas = document.createElement('canvas'); var context = canvas.getContext('2d'); canvas.width =…
0
votes
0 answers

How to get mismatch ratio of two images with imagemagick?

I am looking for faster alternatives to ResembleJS for image comparison. So far I am able to create the similar output image like ResembleJS does: convert fullhd.jpg \ \( -clone 0 fullhd2.jpg -compose difference -composite \ -threshold 1% -fill…
mirza
  • 5,685
  • 10
  • 43
  • 73
0
votes
0 answers

Testing images directly rather than web pages in PhantomCSS

The demonstrations of PhantomCSS commonly use web pages in test. Is there a way to test images instead?
Phil
  • 2,143
  • 19
  • 44
0
votes
0 answers

JavaScript: Cut circular small images out of a big one and compare them using resemble.js

I'd like to cut several circular parts (Px) out of a big image (A) and compare them pixel by pixel to same sized round portions (Qx) of another big image (B) using resemble.js (or similar, but I did not find anything else which seems suitable) to…
elsni
  • 1,953
  • 2
  • 17
  • 35
0
votes
1 answer

PhantomJS screenshots and compare (Resemble.js?)

I'm trying to take 2 screenshot from a website - One before an injection into the site, and one after. Problem is - when I try to take the first screenshot after all the assets were loaded (and before I inject my script) - it won't create the…
FED
  • 319
  • 1
  • 2
  • 12
-1
votes
1 answer

Cannot install npm i node-resemble OSX

tmp-125-48:engineerappcopy User$ npm i node-resemble npm WARN package.json cloudfmapp@1.0.0 No README data > canvas@1.6.2 install /Users/User/Documents/dev/engineerappcopy/node_modules/node-resemble/node_modules/canvas > node-gyp…
recurf
  • 237
  • 4
  • 16
-1
votes
1 answer

Best way for implementing JavaScript lib in Java WebApplication

I am an Android developer and I am new to java web development, so please apologize if my thought is wrong. In our web app project we have to compare images (GIF/PNG/JPEG) and have to show the result. We got a javascript lib (Resemble.js) which will…
Sniper
  • 2,412
  • 11
  • 44
  • 49
1
2