Giter VIP home page Giter VIP logo

picanalysis's Introduction

Social Pic Analysis

Take pictures and passes them through MS Cognitive API to get data about the facial characteristics.

Key components

  • main.R
  • dataProc.R
  • pic_functions.R

main

There's a csv file which contains the Brand Names, their FB page links, and the page ID [this is the key data, you can find it by viewing the source of the FB page and searching for pageID]. You can manually add the brands your interested in here. It then goes to the brand pages and fetches the last n posts and its posts and likes data.

dataProc

It takes the data from above and gives you an n sample from each brand

pic_functions

Takes the n sample from above and downloads the profile pic for each user. It sources a file named ms_api_access.R which merely sets the API access key.

It then takes each downloaded profile picture and then passes them to the MS Cognitive API and returns smile, and facial hair data.

picanalysis's People

Contributors

engti avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.