Giter Club home page Giter Club logo

movie-genre-classifier's Introduction

Movie-Genre-Classifier

Convolutional Neural Net to classify movie genres from posters.

Convolutional Neural Net is widely used in image recognition problem. It is actually very good at capturing shapes and outlines of specific objects regardless of the relative locations in images. The question is how well could it capture the abstract information from the images, like genres from movie posters?

Data

The posters are scarped from IMDB movie database using OMDB API. More than 37,000 posters of 28 genres and corresponding meta data are scraped (each movie could have 1-3 genres).

Scope

Due to the imbalance of different genres (e.g. half of the movies belong to drama) and high similarity/correlation of some genres (e.g. action & adventure, comedy & romance, horror & thriller), 4 out of 9 major genres (genres with at least 3,000 movies) are selected for classification.

  • Adventure
  • Documentary
  • Horror
  • Romance

Model

The final CNN model is implemented in Keras, with 5 Convolutional layers followed by maxpooling layers, 2 Dense layers followed by one dropout layer. The final model is implemented and trained in AWS EC2 instance with GPU configuration. Model, customized image processing and other helper functions are shared in this repo.

Web app

The final product of this classifier is a web app implemented with Flask.

movie-genre-classifier's People

Contributors

levinzjd avatar

Watchers

James Cloos avatar hunslater 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.