An open API service indexing awesome lists of open source software.

https://github.com/domiii/smart-video-2013


https://github.com/domiii/smart-video-2013

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

- On Windows:
- Get VS 2012 Express from http://www.microsoft.com/en-us/download/confirmation.aspx?id=34673 (OpenCV does not support VS 2013 yet)
- Settings: "Replace tabs by spaces"
- Create your own Makefile for other toolchains

- SmartVideo app (Windows):
- Setup OpenCV 2.47, 64 bit
- On Windows: Close Visual Studio first!
- Follow these four steps:
1. Download version 2.47 from http://opencv.org/downloads.html
2. Make sure you have admin rights. Unpack the self-extracting archive.
3. Set the OPENCV_DIR system variable:
- setx /M OPENCV_DIR "open-cv-install-path\build\x64\vc11\"
4. Add the OpenCV library folder to your system PATH:
- setx /M PATH "%PATH%;%OPENCV_DIR%bin\"
- Run SmartVideo/smart-video-2013.sln (make sure that you have VS 2012)
- Should work

- Viewer:
- Run viewer by just executing: viewer/index.html
- Chrome:
- Allow Chrome to read local files from files (in order to run the viewer without a web server)
- http://stackoverflow.com/questions/18586921/how-to-launch-html-using-chrome-at-allow-file-access-from-files-mode
- Apparently, there is a bug - So you might have to add both "--allow-file-access-from-files -allow-file-access-from-files" to start Chrome
- IE & Firefox:
- Sometimes work, sometimes don't
- IE might need some changes in your security settings
- Enable debug console while developing:
- Ctrl + Shift + J in Chrome
- F12 in IE

- Data:
- The data directory is defined in "cfg/config.json"
- Data set configurations are defined in "cfg/clips.json" (currently only supports image sequences, gotta fix that)
- Setup:
- Download data sets from:
- http://wordpress-jodoin.dmi.usherb.ca/static/dataset/dataset.zip
- ftp://ftp.informatik.uni-stuttgart.de/pub/vis/vis-out/bse/dataset/SABS-Basic.rar
- Alternative link: http://burnbit.com/torrent/235660/SABS_Basic_rar
- Extract to some folder data-root
- I placed it in: ../data/
- If you have different folder, update "cfg/config.json" correspondingly
- If you want to add more data sets:
1. Also extract them into that folder
2. Run "ls > cfg/dataset-name.txt" (a list of all image file names that comprise the video)
3. Add entry to cfg/clips.json

- Coding Conventions
- Indentation
- Replace tabs with 4 spaces
- Avoid raw pointers in C++
- When to use what kind of pointer: http://stackoverflow.com/a/8376611/2228771
- Ideas on avoiding pointers and why: http://blog.emptycrate.com/node/354

- TODO
- a lot more...