File: interesting.rb

package info (click to toggle)
ruby-vips 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,164 kB
  • sloc: ruby: 3,530; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Vips
  # Pick the algorithm vips uses to decide image "interestingness". This is
  # used by {Image#smartcrop}, for example, to decide what parts of the image
  # to keep.
  #
  # * `:none` do nothing
  # * `:centre` just take the centre
  # * `:entropy` use an entropy measure
  # * `:attention` look for features likely to draw human attention

  class Interesting < Symbol
  end
end