Liking cljdoc? Tell your friends :D

burningswell.worker.spots.flickr-photos


build-topologyclj

(build-topology app builder)

Make the spot photo worker topology.

Make the spot photo worker topology.
raw docstring

commercial-licensesclj

Flickr licenses that allow photos to be used on commercial sites.

Flickr licenses that allow photos to be used on commercial sites.
raw docstring

configclj

(config & [opts])

Returns the configuration for the app.

Returns the configuration for the app.
raw docstring

download-photoclj

(download-photo service photo)

Download the image used for labeling.

Download the image used for labeling.
raw docstring

exclude-existing-photosclj

(exclude-existing-photos db)

Return a transducer that removes already saved photos.

Return a transducer that removes already saved photos.
raw docstring

exclude-labelsclj

Photos with these labels are excluded.

Photos with these labels are excluded.
raw docstring

exclude-photos-labeledclj

(exclude-photos-labeled labels)

Exclude photos that are labeled with any of labels.

Exclude photos that are labeled with any of `labels`.
raw docstring

import-photo!clj

(import-photo! service photo)

import-photosclj

(import-photos {:keys [db flickr vision] :as env} spot & [{:keys [max-photos]}])

Import Flickr photos for spot.

Import Flickr photos for `spot`.
raw docstring

include-labelsclj

Photos with these labels are included.

Photos with these labels are included.
raw docstring

include-photos-labeledclj

(include-photos-labeled labels)

Include photos that are labeled with any of labels.

Include photos that are labeled with any of `labels`.
raw docstring

label-nameclj

(label-name s)

Return the lower cased and trimmed label for s.

Return the lower cased and trimmed label for `s`.
raw docstring

label-photosclj

(label-photos vision-service spot photos)

Label the photos using the Google Vision API.

Label the `photos` using the Google Vision API.
raw docstring

label-photos-in-batchesclj

(label-photos-in-batches vision spot)

Returns a transducer that downloads and labels photos.

Returns a transducer that downloads and labels photos.
raw docstring

label-sizeclj

(label-size sizes min-width max-width)

Return the size of photo used for labeling.

Return the size of `photo` used for labeling.
raw docstring

log-labelsclj

(log-labels labels)

Log the labels from the Vision API.

Log the `labels` from the Vision API.
raw docstring

log-search-criteriaclj

(log-search-criteria {:keys [lat lon text radius tags sort]} photos)

Log the Flickr search criteria.

Log the Flickr search criteria.
raw docstring

make-pipelineclj

(make-pipeline {:keys [db flickr vision] :as service} spot max-photos)

parse-locationclj

(parse-location {:keys [latitude longitude]})

Parse the Flickr location response.

Parse the Flickr location response.
raw docstring

parse-sizeclj

(parse-size {:keys [width height] :as size})

Parse the Flickr photo size response. The Flickr API returns width and height sometimes a string, sometimes as an integer.

Parse the Flickr photo size response. The Flickr API returns width
and height sometimes a string, sometimes as an integer.
raw docstring

photo-label-setclj

(photo-label-set photo)

Return the labels of photo as a set.

Return the labels of `photo` as a set.
raw docstring

save-photo!clj

(save-photo! db spot photo)

Save the Flickr photo of spot.

Save the Flickr `photo` of `spot`.
raw docstring

save-photo-label-scores!clj

(save-photo-label-scores! db photo labels)

Save the scores labels of the Flickr photo.

Save the scores `labels` of the Flickr `photo`.
raw docstring

save-photo-labels!clj

(save-photo-labels! db labels)

Save the labels of the Flickr photo to db.

Save the labels of the Flickr `photo` to `db`.
raw docstring

search-criteriasclj

(search-criterias country {:keys [location] :as spot})

Return a vector of search criterias for spot.

Return a vector of search criterias for `spot`.
raw docstring

search-photos-by-criteriaclj

(search-photos-by-criteria db flickr spot criteria)

Search photos of spot on Flickr by criteria.

Search photos of `spot` on Flickr by `criteria`.
raw docstring

size-by-nameclj

(size-by-name sizes name)

Find the size of name.

Find the `size` of `name`.
raw docstring

topicsclj

The topics used by the page views app.

The topics used by the page views app.
raw docstring

try-import-photosclj

(try-import-photos app spot & [opts])

Import Flickr photos for spot.

Import Flickr photos for `spot`.
raw docstring

update-photo-detailsclj

(update-photo-details flickr photo)

Fetch the details of the Flickr photo and return an updated photo.

Fetch the details of the Flickr `photo` and return an updated photo.
raw docstring

update-photo-ownerclj

(update-photo-owner flickr photo)

Fetch the owner of the Flickr photo and return an updated photo.

Fetch the owner of the Flickr `photo` and return an updated photo.
raw docstring

workerclj

(worker & [opts])

Returns a new spot photo worker.

Returns a new spot photo worker.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close