##############################################################
Public
domain software.pptx
inside cuhk you need to use --proxy for installation, i.e., to install graphviz
pip install --proxy http://proxy.cse.cuhk.edu.hk:8000 graphviz
# if you work inside CUHK, you should specify
proxy in the file ".condarc" .
ssl_verify: false
channels:
- defaults
proxy_servers:
http: http://proxy.cse.cuhk.edu.hk:8000
https: http://proxy.cse.cuhk.edu.hk:8000
###############################################################
###
Installation
and testing of colab (2023 Feb. 7)
########
###############################################################
1. Open a Gmail account
2. You should be provided with a google
drive.
3. There are plenty of tutorials, such as
https://www.youtube.com/watch?v=RLYoEyIHL6A
4. Now you can start to try some tutorials
of colab. Such as
a. https://colab.research.google.com/#scrollTo=-gE-Ez1qtyIA
b. You may choose
tutorial such as MNIST.ipynb in https://colab.research.google.com/github/skorch-dev/skorch/blob/master/notebooks/MNIST.ipynb
Using colab to try the demo of decision tree in sklearn
https://colab.research.google.com/github/jackqk/sklearn-note/blob/master/Decision_Tree.ipynb
###############################################################
###
Installation
anaconda (2023 Jan. 10)
and opencv ########
###############################################################
Install anaconda first: https://www.anaconda.com/products/distribution,
https://www.datacamp.com/tutorial/installing-anaconda-windows
Fix: https://stackoverflow.com/questions/71204741/how-to-fix-error-module-cv2-has-no-attribute-legacy-on-python-3-7-9-and-w
==== python
version problem, if you need python 3.7 (or some other
versions) for your application, you may change it inside
"anaconda power prompt" do
To
use aruco tracker in https://github.com/njanirudh/Aruco_tracker
, use python 3.7.13, opencv-contrib-python==3.4.5.20
(tested ok)
>conda
install python=3.7.13
> pip uninstall opencv-contrib-python #remove
other version first.
>
pip install opencv-contrib-python==3.4.5.20
///////////////
###############################################################
### Setup Virtual environment under conda 2023. Feb 15
########
###############################################################
>conda
-V
# Step 1: ?conda is installed,version
>conda update
conda #Step 2:
Update conda
>conda search “^python$” #Step 3: check
possible python ver.
>conda create -n envname python=x.x anaconda #Setup
vir.Env.
>conda activate your_envname #Step 4: Activate virtual
envir.
# now in your envi. called your_envname
>conda install -n your_envname package #install
pacakges
#if you are in cuhk, you need to specify proxy
>conda install --proxy http://proxy.cse.cuhk.edu.hk:8000
-n your_envname package
>conda deactivate #Step 6: Deactivate. your_envnem and
quit virt.
#IF you need this environment anymore
>conda remove -n envname -all
###############################################################
### Setup opencv microsoft visual studio,cpp python
2023, Jan 10 ######
###############################################################
vs2017-opencv-Installation.docx ,
vs2019-opencv-Installation.docx ,(2023 Jan 10)
opencv4_sample_run_result.docx
###############################################################Source: https://docs.microsoft.com/en-us/visualstudio/releases/2019/history
To
enter arguments to a program under visual studio IDE
Download the lk_track , camshift sample code from
OpenCV Github repository
Demos:
run lk_track.py, lk_track_save_data.py (http://www.cse.cuhk.edu.hk/~khwong/www2/cmsc5711/lk_track_save_data.py)
and camshift.py
§ ===========
Updated
2022.3.12, if you have problem using opencv (4.4.x.x etc), try to
install an older version, follow the following methods
§ conda>
pip
uninstall opencv-python
§ conda>
pip
uninstall opencv-contrib-python
§
§ conda
>
pip install opencv-python==3.4.2.17 ,
§ conda
>
pip install opencv-contrib-python==3.4.2.17
§ =====
§ You
may
try the following samples from
§ https://github.com/opencv/opencv/tree/4.x/
(download the zip file and find the sample codes)
§ conda>
python
camshift.py 0 #
camshift using camera 0 , use mouse to select area to track
§ conda>
python
lk_track.py 0 # lk tracker for using camera 0 (laptop camera)
§ conda>
python
calibrate.py #using input image files from ..\data, you my use your own ima
///////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////
.
Summer project
webpage 2013 (summer)
Python+OpenCV
on Linux by Bill yau
latest version
of ba ba810c.zip
---------2014--------------------------------------------------------------------
Open source
Vision and Image Processing library (OSVIP)
Download sites (share_vision), KK
(ver. 1.1, 1 June 2011)
i. Using calibrated 3D objects
ii. Using calibrated planar object
iii. Auto-calibration (with specific object)
i. Kalman filtering tracking (Edward)
i. Quadrangle detection
i. KLT
ii. Kalman
iii. Condensation/particle filter
i. Kalman
ii. IMM Kalman
i. Factorization
ii. Bundle adjustment
1. Alternating (extended Lowe)
2. Full Bundle adjustment
iii. Kalman EKF filtering approach
1. One camera SfM
2. Stereo Sfm
3. Trifocal tensor
4. Unscented Kalman Filter