Packages

o

io.archivesunleashed.app

ExtractPopularImagesDF

object ExtractPopularImagesDF

Extract the most popular images from a DataFrame.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtractPopularImagesDF
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val MIN_HEIGHT: Int
  2. val MIN_WIDTH: Int
  3. def apply(d: DataFrame, limit: Int, minWidth: Int = MIN_WIDTH, minHeight: Int = MIN_HEIGHT): Dataset[Row]

    Extracts the n most popular images from an DataFrame within a given size range.

    Extracts the n most popular images from an DataFrame within a given size range.

    d

    DataFrame obtained from RecordLoader

    limit

    number of most popular images in the output

    minWidth

    of image

    minHeight

    of image

    returns

    Dataset[Row], where the schema is (url, count)