Skip to content

KPerlman/opencv-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV Python

Chapter 3

Script load_display_save.py will open a png file and convert it to a jpg. To run it, use the command:

python load_display_save.py --image IMAGE

Chapter 4

Script gettings_and_setting.py will open an image, print out the RGB values of the top left pixel, make the top left pixel red, crop out everything except the top left 100x100 pixels, and make the cropped pixels green. To run it, use the command:

python getting_and_setting.py --image IMAGE

Chapter 5

Script drawing.py will show multiple drawings using cv2 lines, rectangles, and circles. To run it, use the command:

python drawing.py

Chapter 6

Various simple image modification scripts. To run them, use the command:

python SCRIPTNAME --image IMAGE

bitwise.py does not use the --image argument.

imutils.py is required for translate.py, rotate.py, & resize.py.

Chapter 7

Histograms and image equalization scripts. To run them, use the command:

python SCRIPTNAME --image IMAGE

3d_histogram.py uses optional arguments for size(--size) and bins(--bins)

Chapter 8

Script blurring.py will blur an image in various ways.

python SCRIPTNAME --image IMAGE

Chapter 9

A variety of thresholding methods. To run them, use the command:

python SCRIPTNAME --image IMAGE

Chapter 10

Two edge detection scripts. To run them, use the command:

python SCRIPTNAME --image IMAGE

About

Assignments for AHCS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages