Install opencv in ubuntu with venv

Notes  use [crayon-5bc98383893cd283116173/] 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-5bc9838389c72484465263/] actually a folder named venv is created in the current directory, enter [crayon-5bc9838389c78699639338/] 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-5bc9838389c7b574808823/] 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-5bc983838a12b993520605/]   2. [crayon-5bc983838a131133358437/]   then [crayon-5bc983838a134699616154/]   3. create the usb_cam.launch [crayon-5bc983838a136364997287/]   4. [crayon-5bc983838a139348549769/]   that give error: [crayon-5bc983838a13b811902831/]      

Run SVO

Follow https://github.com/uzh-rpg/rpg_svo/wiki to run SVO with ROS I need 1. [crayon-5bc983838abc1793992136/] This should be ok if the ros is installed 2. [crayon-5bc983838abc7572144495/]   [crayon-5bc983838abca947048245/]   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-5bc983838abcc396974507/] [crayon-5bc983838abcf865139690/] 4. [crayon-5bc983838abd2450904747/] 5. [crayon-5bc983838abd4035134326/]  

Install SVO

Follow https://github.com/uzh-rpg/rpg_svo/wiki to install SVO with ROS Problem 1: [crayon-5bc983838b56c850431300/] [crayon-5bc983838b572788242247/]

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-5bc983838bf07490742779/] [crayon-5bc983838bf0c377650227/] [crayon-5bc983838bf0f482511966/] Error: [crayon-5bc983838bf11171537640/] 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