Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/is_dark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def magick_area_from_blob(x, y, blob, height, width)
end
dark = true if points >= (dots.length / 100) * @percent
if @with_debug
percent_calculated = points/(dots.length / 100)
percent_calculated = points / (dots.length / 100)
p '=================================================================================='
p "Total Points: #{dots.length}, dark points amount:#{points}"
p "Is \"invert to white not detectd pixels\" option enabled?:#{@with_not_detected_as_white}"
Expand Down
Loading