User Tools

Site Tools


notes:python4cv

Using Python for Computer Vision

Basically, running python stuffs and OpenCV.

work in progress…

Environment Setup

dumped…

trying_python_cv.txt
on devuan chimaera...
 
- install numpy/scipy
  = somehow, i have these auto-installed
# apt install python3-numpy python3-scipy python3-matplotlib
# apt install python3-notebook python3-pandas python3-sympy python3-nose
  = not sure if i need this??? => ipython3 
 
- install opencv
  = note: python3-numpy is a dependency
# apt install python3-opencv
 
$ python3 -c "import cv2; print(cv2.__version__)"
 
- install virtual environment
# apt install python3-venv
 
- setup virtual environment
$ python3 -m venv env
 
- activate virtual environment
$ source env/bin/activate
 
- install scikit-image
$ pip install scikit-image
 
- install requests
$ pip install requests
 
- install beautifulsoup
$ pip install beautifulsoup4
 
- run 'dectivate' to exit virtual environment
notes/python4cv.txt · Last modified: 2023/08/29 10:43 by 127.0.0.1