This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mergetool "atom"] | |
cmd = atom -w $MERGED | |
trustExitCode = false | |
[merge] | |
tool = atom | |
conflictstyle = diff3 | |
[mergetool] | |
prompt = false | |
keepbackup = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using Tkinter GUI toolkit | |
import Tkinter | |
#GUI class | |
class simpleapp_tk(Tkinter.Tk): | |
def __init__(self,parent): | |
Tkinter.Tk.__init__(self,parent) | |
self.parent = parent | |
self.initialize() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version="$(wget -q -O - http://sourceforge.net/projects/opencvlibrary/files/opencv-unix | egrep -m1 -o '\"[0-9](\.[0-9])+' | cut -c2-)" | |
echo "Installing OpenCV" $version | |
mkdir OpenCV | |
cd OpenCV | |
echo "Removing any pre-installed ffmpeg and x264" | |
sudo apt-get -qq remove ffmpeg x264 libx264-dev | |
echo "Installing Dependenices" | |
sudo apt-get -qq install libopencv-dev build-essential checkinstall cmake pkg-config yasm libtiff4-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libqt4-dev libgtk2.0-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils ffmpeg | |
echo "Downloading OpenCV" $version | |
wget -O OpenCV-$version.tar.gz http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/$version/opencv-"$version".tar.gz/download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sudo apt-get install -y -q libopencv-dev | |
sudo apt-get install -y -q build-essential | |
sudo apt-get install -y -q checkinstall | |
sudo apt-get install -y -q cmake | |
sudo apt-get install -y -q pkg-config | |
sudo apt-get install -y -q yasm | |
sudo apt-get install -y -q libtiff4-dev | |
sudo apt-get install -y -q libjpeg-dev | |
sudo apt-get install -y -q libjasper-dev | |
sudo apt-get install -y -q libavcodec-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# workaroung for skype | |
# preload libGL.so.1 and skype stops complaining | |
LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 skype |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version="$(wget -q -O - http://sourceforge.net/projects/opencvlibrary/files/opencv-unix | egrep -m1 -o '\"[0-9](\.[0-9])+' | cut -c2-)" | |
echo "Installing OpenCV" $version | |
mkdir OpenCV | |
cd OpenCV | |
echo "Removing any pre-installed ffmpeg and x264" | |
sudo apt-get -qq remove ffmpeg x264 libx264-dev | |
echo "Installing Dependenices" | |
sudo apt-get -qq install libopencv-dev build-essential checkinstall cmake pkg-config yasm libtiff4-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libqt4-dev libgtk2.0-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils ffmpeg | |
echo "Downloading OpenCV" $version | |
wget -O OpenCV-$version.tar.gz http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/$version/opencv-"$version".zip/download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* eyeExtract.cpp | |
* | |
* Created on: Nov 10, 2013 | |
* Author: sumit4iit | |
*/ | |
#include<iostream> | |
#include "cv.h" | |
#include "highgui.h" | |
#include <cstring> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* eyeExtract.cpp | |
* | |
* Created on: Nov 10, 2013 | |
* Author: sumit4iit | |
*/ | |
#include<iostream> | |
#include "cv.h" | |
#include "highgui.h" | |
#include <cstring> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* eyeExtract.cpp | |
* | |
* Created on: Nov 10, 2013 | |
* Author: sumit4iit | |
*/ | |
#include<iostream> | |
#include "cv.h" | |
#include "highgui.h" | |
#include <cstring> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* eyeExtract.cpp | |
* | |
* Created on: Nov 10, 2013 | |
* Author: sumit4iit | |
*/ | |
#include<iostream> | |
#include "cv.h" | |
#include "highgui.h" | |
#include <cstring> |
NewerOlder