MouseTrap Dev Help

From Foss2Serve
(Difference between revisions)
Jump to: navigation, search
(Install git and Clone MouseTrap: Deleting cd mousetrap)
 
(122 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= Opencv =
+
= Standard Dev Environment =
 +
* Fedora 18
 +
* OpenCV 2.4.X  - whatever recent version is supported
 +
* Python 2.X/Python 3.X
 +
== Complete Git and Mousetrap Install ==
  
== Great Resources ==
+
=== '''Install git and Clone MouseTrap''' ===
 +
  Open a terminal and
 +
  '''Run Commands:'''
 +
  -> sudo yum install git-core                          # Install git
 +
  -> sudo yum -y update gnome-common glib2-devel\
 +
    intltool python-devel opencv-python python-xlib    # Update all dependencies, MUST be done before install
 +
  -> sudo yum -y install gnome-common glib2-devel\
 +
    intltool python-devel opencv-python python-xlib    # Install latest versions of dependencies
 +
  -> git clone git://git.gnome.org/mousetrap -b gnome3-wip # Clone the git repo to your computer
  
=== cv 2.4.3 ===
+
=== '''Install MouseTrap''' ===
* http://docs.opencv.org
+
  '''Run Commands:'''
 +
  -> cd mousetrap
 +
  -> ./autogen.sh                      # Set up MouseTrap
 +
  -> make                              # Compile MouseTrap
 +
  -> make install                      # Install Mousetrap executable in appropriate directory
 +
  -> mousetrap                          # Execute MouseTrap. You may see warnings on your console
  
* http://docs.opencv.org/opencv2refman.pdf / http://cvhci.anthropomatik.kit.edu/download/visionhci09/opencv.pdf (pdf resources)
+
=== '''Commit Changes - Deprecated''' ===
 +
  -> git status                        * Shows all of the modified files
 +
  -> git add *                          * This is to add '''ALL''' files to commit list (MAKE SURE YOU WANT THEM ALL FIRST!)
 +
  -> git commit                        * Add a useful title to '''first line''' of your commit.
 +
                                          This is in vim so 'i' to insert ':x' to save and quit.
 +
  -> git push origin INSERT_BRANCH_NAME * This must be the branch you created in the git install.
 +
                                          This will ask for your git credentials, so have them ready.
  
* http://nullege.com/codes/search/cv -> Entire collection of opencv examples based on module
+
= Further Resources =
 
+
For more information about the mousetrap program:[Mousetrap Program Resource[http://foss2serve.org/index.php?title=MouseTrap_Dev_Help/mousetrap_internals]]
* http://fossies.org/dox/OpenCV-2.4.3/index.html -> Complete Hierarchical guide to opencv
+
 
+
* http://docs.opencv.org/doc/tutorials/tutorials.html -> tutorials on opencv
+
 
+
=== cv 2.1 ===
+
* http://opencv.willowgarage.com/documentation/python/index.html
+
 
+
== Concerns ==
+
Here we place all of the concerns when migrating to a newer version of opencv or the repercussions of not upgrading.
+
 
+
=== Migration to Python 3 ===
+
* Opencv 2.4.3 does not support Python 3
+
 
+
=== Camera drivers ===
+
* Currently, only some camera drivers are supported with the new version of opencv, leading to problems regarding capture. One issue is the inability to cancel the program webcam capture.
+
 
+
=== Yum repo ===
+
* Right now, only the 2.3.1 version of opencv is available in the yum repository
+
  
 +
For more information about opencv: [Opencv Resource [http://foss2serve.org/index.php?title=MouseTrap_Dev_Help/opencv]]
  
  
 
[[Category:Gnome_MouseTrap]]
 
[[Category:Gnome_MouseTrap]]

Latest revision as of 01:58, 25 April 2014

Contents

Standard Dev Environment

  • Fedora 18
  • OpenCV 2.4.X - whatever recent version is supported
  • Python 2.X/Python 3.X

Complete Git and Mousetrap Install

Install git and Clone MouseTrap

 Open a terminal and
 Run Commands:
 -> sudo yum install git-core                           # Install git 
 -> sudo yum -y update gnome-common glib2-devel\
    intltool python-devel opencv-python python-xlib     # Update all dependencies, MUST be done before install
 -> sudo yum -y install gnome-common glib2-devel\
    intltool python-devel opencv-python python-xlib     # Install latest versions of dependencies
 -> git clone git://git.gnome.org/mousetrap -b gnome3-wip # Clone the git repo to your computer

Install MouseTrap

 Run Commands:
 -> cd mousetrap
 -> ./autogen.sh                       # Set up MouseTrap
 -> make                               # Compile MouseTrap
 -> make install                       # Install Mousetrap executable in appropriate directory
 -> mousetrap                          # Execute MouseTrap. You may see warnings on your console

Commit Changes - Deprecated

 -> git status                         * Shows all of the modified files
 -> git add *                          * This is to add ALL files to commit list (MAKE SURE YOU WANT THEM ALL FIRST!)
 -> git commit                         * Add a useful title to first line of your commit.
                                         This is in vim so 'i' to insert ':x' to save and quit.
 -> git push origin INSERT_BRANCH_NAME * This must be the branch you created in the git install.
                                         This will ask for your git credentials, so have them ready.

Further Resources

For more information about the mousetrap program:[Mousetrap Program Resource[1]]

For more information about opencv: [Opencv Resource [2]]

Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox