Skip to content

lin1000/opencv-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is experiments on opencv3.X

Preparing virtual environment

brew instll opencv
pip install virtualenv virtualenvwrapper
mkvirtualenv cv -p python3
cd ~/.virtualenvs/cv
echo /usr/local/opt/opencv3/lib/python3.6/site-packages >> ~/.virtualenvs/cv/lib/python3.6/site-packages/opencv3.pth

How to execute : python

workon cv
python -m opencvutil.01_opencv_basic.01_opencv_mac -i images/mac/mac-01.jpg

Table of Contents

Trying out core functionality of opencv

  • opencvutil.01_opencv_basic.01_opencv_mac : display an image
  • pencvutil.01_opencv_basic.02_opencv_image : display image by mpl(e.g. matplotlib)
  • opencvutil.01_opencv_basic.03_opencv_basicops.py : handling the image and access pixels
  • opencvutil.01_opencv_basic.04_opencv_image_arithmetics
  • opencvutil.01_opencv_basic.05_opencv_open_cv.py : open camera and see yourself
  • opencvutil.01_opencv_basic.06_opencv_bgr_to_hsv.py : convert color space
  • opencvutil.01_opencv_basic.07_opencv_classify_color_space.py : classify input image is grayscaled or bgr
python -m opencvutil.01_opencv_basic.07_opencv_classify_color_space -i ./images/mac/mac-01.jpg

Image Preprocessing

  • opencvutil.02_image_preprocessing.01_image_pyramids : image pyramids
  • opencvutil.02_image_preprocessing.02_sliding_window : sliding windows of a image
  • opencvutil.02_image_preprocessing.03_sliding_window_batch : batching processing sliding windows of images

References

How to publish to PyPiLive and PyPiTest (http://peterdowns.com/posts/first-time-with-pypi.html)

touch setup.cfg (and prepare the content)
touch setup.py (and prepare the content)
python setup.py sdist upload -r pypitest
python setup.py sdist upload -r pypi

About

playground for opencv image processing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages