Install opencv in ubuntu with venv

Notes  use [crayon-647b7c00e8288117320271/] to know the path of your virtualenv directory. cmake will look for this directory. If it is wrong(after you moved the venv folder), you can change the VIRTUAL_ENVpath in ../bin/activate. Install opencv http://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/ https://coderwall.com/p/xzvznq/setting-up-opencv-with-python-virtualenvs https://medium.com/@manuganji/installation-of-opencv-numpy-scipy-inside-a-virtualenv-bf4d82220313 using cmake after source your_venv/bin/activate is the best way to install opncv cmake parameters can be vary with

Solving Q2

Notes: About venv After [crayon-647b7c00e9359344553908/] actually a folder named venv is created in the current directory, enter [crayon-647b7c00e9366980266040/] to enter the virtual environment stored in that folder. Anythings done in Step 2 after that venv will only effective inside that venv About sqlite  After [crayon-647b7c00e936f731722447/] actually a db named charger is created in the current

Arg_max and Arg_min

x in the set S , such that x can give the max f(x). similar idea for min f(x)

usb_cam

1. Download usb_cam package from github [crayon-647b7c00e9c51425739430/]   2. [crayon-647b7c00e9c5e323149301/]   then [crayon-647b7c00e9c66045179956/]   3. create the usb_cam.launch [crayon-647b7c00e9c6e812014045/]   4. [crayon-647b7c00e9c75744646387/]   that give error: [crayon-647b7c00e9c7d504199056/]      

Run SVO

Follow https://github.com/uzh-rpg/rpg_svo/wiki to run SVO with ROS I need 1. [crayon-647b7c00eb4c9665702386/] This should be ok if the ros is installed 2. [crayon-647b7c00eb4d5173599757/]   [crayon-647b7c00eb4dd524539604/]   It requires calibration file using cameracalibrator.py to calibrate The Pinhole model http://wiki.ros.org/camera_calibration 3.svo create live.launch file [crayon-647b7c00eb4e6210073149/] [crayon-647b7c00eb4ee526934470/] 4. [crayon-647b7c00eb4f5371085618/] 5. [crayon-647b7c00eb4fc296493926/]  

Install SVO

Follow https://github.com/uzh-rpg/rpg_svo/wiki to install SVO with ROS Problem 1: [crayon-647b7c00ec8f4879626261/] [crayon-647b7c00ec8ff061898211/]

Install Ptam

In order to calibrate my camera in ATAN model, I use the calibration tool in this PTAM package. I try to run this in ROS env, so I try to install PTAM without ROS and it is ok to run. README_PTAM Install TooN (from http://www.edwardrosten.com/cvd/toon/html-user/index.html#sDownload) [crayon-647b7c00edd38437392271/] [crayon-647b7c00edd44903007748/] [crayon-647b7c00edd4c406820732/] Error: [crayon-647b7c00edd53078180365/] This Error can be skipped,

Linear Algebra@Chapter 2

Tips before start:   is identity matrix with 2x2 size, i.e.    matrix A is n x m, matrix B is a x b. AB has size n x b, m must equal a, since A is coefficient matrix, B is vector of variables, each variables get one coefficient (a column), so # of column

WordPress Plugin

This post will introduce the WordPress Plugin that I found useful.

Linear Algebra@Chapter 1

The notes begin at Solution set of linear system. The concept to start this topic is free variable, row operation and span, 1.1 to 1.4 in the book "linear algebra and its applications 4th edition" "span" : generally means can be solved by <br> save your life by using http://www.wolframalpha.com/ to solve the matrix format : row reduce