Menu

Tree [a3b6a6] master /
 History

HTTPS access


File Date Author Commit
 crf_survey 2017-07-14 Suryaprakash Suryaprakash [a3b6a6] Added section on model description
 Readme.txt 2017-07-14 Suryaprakash Suryaprakash [a3b6a6] Added section on model description
 license.txt 2016-11-10 Suryaprakash Suryaprakash [5e0118] Initial commit

Read Me

All code in this repository is provided on an as-is-where is basis. The code is released as per BSD license. Please see license.txt for further information. If you feel that any code in this repository violates your organizations license policy, please write to the developers. 

Source code repository is here: https://sourceforge.net/p/freeimaging

We use git to manage our code. When you import code, please make sure your code, docs, data are in the folders named code, docs, data respectively. git may by default download the code to a different folder. We use this folder nomenclature to access data from within the source code. Your code will not work if the data is stored in a different location. 

The team uses eclipse as the preferred IDE. Feel free to use any other tool. Instructions on a fresh Ubuntu machine to test the code: 

sudo add-apt-repository ppa:eclipse-team/ppa 
sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
sudo apt-get update
sudo apt-get install libopencv-dev libopencv-nonfree-dev libboost-all-dev cmake gtk+-2.0 eclipse-cdt gdb gnome-session-flashback git ccmake 

To remove opencv completely: 
sudo apt-get autoremove opencv-data

cmake -D WITH_TBB=ON -D WITH_EIGEN=ON -D BUILD_DOCS=ON -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D WITH_OPENCL=OFF -D WITH_CUDA=OFF -D BUILD_opencv_gpu=OFF -D BUILD_opencv_gpuarithm=OFF -D BUILD_opencv_gpubgsegm=OFF -D BUILD_opencv_gpucodec=OFF -D BUILD_opencv_gpufeatures2d=OFF -D BUILD_opencv_gpufilters=OFF -D BUILD_opencv_gpuimgproc=OFF -D BUILD_opencv_gpulegacy=OFF -D BUILD_opencv_gpuoptflow=OFF -D BUILD_opencv_gpustereo=OFF -D BUILD_opencv_gpuwarping=OFF 

In case of Yum (CentOS/ RH/ Cloudera system), you can use following instructions:

sudo yum groupinstall "Development Tools" 
sudo yum install gcc cmake git gtk2-devel pkgconfig numpy ffmpeg
git clone https://github.com/Itseez/opencv.git
sudo yum install opencv-devel.i686

Run the following command:
cmake .
You should see the following:
-- Configuring done
-- Generating done
-- Build files have been written to: 

make 

You should see the following lines: 
[100%] Building CXX object CMakeFiles/freeImage.dir/src/util/XMLReader.cpp.o
Linking CXX executable freeImage
[100%] Built target freeImage

The following commands should work on your system. 
./freeImage segment ../data/driving/India_Driving.mp4 /tmp/
./freeImage splitVideo ../data/driving/India_Driving.mp4 /tmp/t/


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.