class Screenpress::Compare::Phashion
Attributes
difference[R]
fresh_image[R]
orig_image[R]
Public Class Methods
new(orig_path, fresh_path)
click to toggle source
# File lib/screenpress/compare/phashion.rb, line 7 def initialize(orig_path, fresh_path) @orig_image = ::Phashion::Image.new(orig_path) @fresh_image = ::Phashion::Image.new(fresh_path) end
Public Instance Methods
threshold()
click to toggle source
# File lib/screenpress/compare/phashion.rb, line 18 def threshold Screenpress.config.threshold || 15 end