GithubHelp home page GithubHelp logo

sanjay-thiyagarajan / genienet Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 3.0 6.47 MB

CGI Detection using Deep Convolutional Neural Networks

Home Page: https://genienet.tech/

Python 2.93% Dockerfile 0.04% HTML 2.56% CSS 43.81% JavaScript 50.66% Procfile 0.01%
deep-learning cgimage cnn-model torch transfer-learning django hackthenorth2021

genienet's Introduction

GenieNet

CGI Detection using Deep Convolutional Neural Networks


Inspiration

Computer generated imagery is the application of computer graphics to create or contribute to images in art, printed media, video games and simulations. There are a few popular tools and techniques used in computer generated imagery like Photoshop, green screen, generative adversial networks and animative modelling. Besides the cool and satisfactory results of CGI, there are few situations where it becomes a great threat to the society. They look very realistic such that it becomes difficult to distinguish them from photographic images and they are immune to the state-of-the-art deep fake detection techniques. There is a high risk of using these images in fraudulent activities as a replacement to the original face for faking the identity. Also, there are significant records of portraying false morphed images of an individual in social media.

What it does

The webapp takes in the suspicious image as input and makes prediction using the pretrained model. The result comprises of two components:

  • Photographic confidence
  • Tampered confidence

How we built it

We have constructed a convolutional neural network and trained it on multiple image datasets containing real and tampered images. The model with least generalization error is chosen and saved. Transfer learning is implemented using the pretrained model for faster inference and hence the predictions are super fast and accurate.

Deployment

We have deployed our web app on Microsoft Azure Cloud ensuring that it stays up stable for a long time with the efficient hosting management services of Microsoft.
Deployed on - https://genienet.azurewebsites.net

Video demo

YouTube : https://youtu.be/0jr3Uxq2tG0

Challenges we ran into

  • The deployment of the model into the django app took very long than expected, since we tried to run the inference on PyTorch CPU version.
  • Building the UI is also a time-consuming activity and it demanded a full-fledged work time.

What we learned

  • We learnt how to implement transfer learning for Convolutional Neural Network (CNN) models and deploying them on to the django application.
  • We also learnt some basic video editing to make the video pitch for the project. The challenging part is to build the video very quick by learning parallely.

What's next for GenieNet

  • We have planned to improvise the accuracy of the model by collecting more samples of the photographic and computer graphic images and thinking to integrate this system with the deep fake detection algorithms for building a highly robust system of image forgery detection.

Screenshots

genienet's People

Contributors

dependabot[bot] avatar jayanthvikashs avatar naresh-kumar-babu avatar sanjay-thiyagarajan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.