Skip to content

jkortner/clarifai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clarifai

This repository provides some code to label faces according to their race / ethnicity. It uses the demographics model from Clarifai.

Create a faces folder with all images to be labeled. Then execute the R file face2race.R. The API call is in clarifai.py and uses the clarifai_grpc package by Clarifai. The R file uses reticulate to execute Python.

You also need to sign-up for a Clarifai account and create an API key. Put your key in clarifai-api-key.txt. It will be used in face2race.R. See also the Clarifai Guide for more information.

About

R interface to Clarifai's demographics model

Topics

Resources

Stars

Watchers

Forks