emiln / cljck

An OS-agnostic Clojure library for automating keyboard and mouse actions.
GNU General Public License v3.0
5 stars 0 forks source link

Add histogram-diff command #33

Closed emiln closed 8 years ago

emiln commented 8 years ago

There's now a rudimentary :histogram-diff command. It takes two histograms and a maximum difference (between 0 and 1) and evaluates to true if the histograms are no further apart than that. There's a :histogram (for literal histogram strings) and :histogram-at (take x, y, width, and height, generating the histogram from on-screen pixels.)

I'm not 100% done, but pushing to work on another computer.

Accepting this closes #32.

emiln commented 8 years ago

I'll just make a new one with a recent version of master.