Coder Social home page Coder Social logo

gazecloudai's Introduction

Convolutional Neural Network to Generate Gaze Cloud from Salient Images

Introduction

This model is a proof-of-concept for an algorithm to generate gaze cloud data based on images. It uses datasets from MIT's saliency benchmark to train the model, but it can be adapted for use for any images. The algorithm uses an image (3x1080x1920) and a salient map (1x192x104) as parameters and outputs a 1x54x96 gaze cloud image. The code in train.py uses MIT's premade salient images, however the model can be adopted to use salient image algorithms at runtime instead. The results generated from this experiment are promising, showing evidence of functional gaze generation. Weaknesses of the model are a center-image-biase even on images with salient object near the edges, a large amount of feedback noise, and inability to have multiple gaze clouds in one image with seperate salient objects. If I were to have a system with more power, I would have made the model deeper, as I feel the results are underfit.


Using the Dataset

Training Set Download: train.zip

Testing Set Download: test.zip

To use this dataset, put the trainSet and testSet folders in the same directory as train.py and test.py. To use this in your code, you may need to change the path in train.py and test.py. To create a pytorch set, you can create a EyeTrackingDataset object and pass in the path of your project, and a list of subfolders in trainSet to use.

If you want to use this code with a different dataset, you must change the EyeTrackingDataset.py to allow for it.


Model

Failed to Find Model

Results

gazecloudai's People

Contributors

nvinden 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.