This project was done as a part of Summer Project organized by the CODS Community of PES University. I would like to thank CODS for giving us this opportunity. Thank You!
I'm just leaving this project here for academic and non-commercial use only.
*(Equal Contributions)
- NodeJs
- Lua
- Torch
- Caffe
- OpenCV
- Python3.7
- ffpmeg
- moviepy
- nltk
- Clone the repository onto your local computer.
$ cd
to the project directory.- In the terminal type
$ npm install
This will install all the node modules required to run the project.
This project requires Lua to be preinstalled locally. To install Lua and its libraries, refer to the Lua Installation folder. Please make sure you have not skipped the above step. You must also download the model weights depending on the hardware you have in your system.
If your do not have node installed, click here. Please download the latest stable version of node.
If you do not have python dependencies (OpenCV, moviepy, ffpmeg, nltk) installed, type $ pip install -r requirements.txt
in your terminal.
Place data folder, timestamp.json in the previous directory. Example, if your project is placed in your desktop directory, then both data folder and timestamp.json must be in the desktop directory and not in project directory.
In your terminal type $ node app.js
to start a local server. Then go to your browser and make a GET request to http://localhost:5000/
.
If you make any changes in any of the javascript files, please restart the server to reflect the changes.
Alternatively, you can start your server by typing $ nodemon app.js
in terminal. This will restart your server automatically when you make changes in the server files.
We have provided a detailed report of our project. Please refer Scene Describer