clarifai v0.4.2

0

Monthly downloads

0th

Percentile

Access to Clarifai API

Get description of images from Clarifai API. For more information, see <http://clarifai.com>. Clarifai uses a large deep learning cloud to come up with descriptive labels of the things in an image. It also provides how confident it is about each of the labels.

Readme

clarifai: R Client for the Clarifai API

Build Status Build status CRAN_Status_Badge codecov Rdoc

Find out what is in a (moving) image with perhaps the best off-the-shelf solution: clarifai.com. Clarifai provides descriptors for images along with how confident it is about each of the descriptors. It is a bit magical. (See also the 2013 ImageNet LSVR Classification Results.)

Installation

To get the current released version from CRAN:

install.packages("clarifai")

To get the current development version from GitHub:

install.packages("devtools")
devtools::install_github("soodoku/clarifai", build_vignettes = TRUE)

To learn about how to use clarifai, see using_clarifai (html version) or analyzing instagram accounts of politicians (html version). There are lots of other interesting ways you can use clarifai. For instance, you can use clarifai for inferring gender of the speaker based on the first name.

You can also launch vignettes within R:

# Using clarifai
vignette("using_clarifai", package = "clarifai")
# Analyzing politician instagram accounts
vignette("poligrams", package = "clarifai")

License

Scripts are released under MIT License.

Contributor Code of Conduct

The project welcomes contributions from everyone! In fact, it depends on it. To maintain this welcoming atmosphere, and to collaborate in a fun and productive way, we expect contributors to the project to abide by the Contributor Code of Conduct.

Functions in clarifai

Name Description
get_color_urls Get the dominant colors present in images or videos
get_info Get Information
get_usage Get API usage for the current month and hour
secret_id Sets Application ID and Secret
feedback Provide Feedback on Tags of an Image
get_color Get the dominant colors present in images or videos
get_langs List all the languages that the tag API call supports
get_token Get Access Token
clarifai_POST Base POST AND GET functions. Not exported.
clarifai_check_auth Check if authentication information is in the environment
tag_image_urls Tag Remote Images
tag_images Tag Images on the Computer
clarifai-package clarifai: Get Description of (Moving) Images
clarifai_GET GET
clarifai_check_results Check results
clarifai_check_token Check if authentication token is in the environment
No Results!

Vignettes of clarifai

Name
poligrams.Rmd
poligrams.md
using_clarifai.Rmd
using_clarifai.md
No Results!

Last month downloads

Details

URL http://github.com/soodoku/clarifai
BugReports http://github.com/soodoku/clarifai/issues
License MIT + file LICENSE
LazyData true
VignetteBuilder knitr
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2017-04-12 00:53:25 UTC; gsood
Repository CRAN
Date/Publication 2017-04-12 13:41:15 UTC
imports curl , jsonlite
suggests knitr , rmarkdown , testthat
depends R (>= 3.2.0)
Contributors

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/clarifai)](http://www.rdocumentation.org/packages/clarifai)