python
dropdown menu
Python
1.read multiple files and process line by line parallel
2.menustrip
3.check file exists or not
4.Create exe from mutiple python files and images-cxfreeze
5.Solved:install pip in python3.3 or 2.6,.3.2
6.Easy way for object detection-take 5 minutes to set up
7.Set dimension and position of frame of python gui
8.Solved:Can't find python at command prompt
9.Count number of repeated words in a file
10.python gui - Change image immediately with mouse click on image
11.python gui - change image immediately click on button
12.python enumerate concept
13.python-match word in a file not single character
14.Python-match character and delete it
15.python-get x,y location of an image
16.python-crop certain dimension from image
17.Solved python tkinter error- couldn't recognize data in image file
18.python- control android camera
19.python- run mutiple program in one run(parallel processing)
20.Lauch python script at startup automatically
More Python
21.python tkinter- close,minimize,maximize off
22.python-count repeated word in a file
23.python tkinter-Progress bar
24.python-zoom in zoom out image
25.Python tkinter- Screen1 appear on top or bottom screen 2
26.python tkinter-update label while program running (progress bar from 0% to 100%)
27.Python tkinter - video preview in label
28.python-resize image
29.No module named cv2 solved
30.Install free python IDE for window
31.No module named PIL solved
32.Python tkinter - textbox
33.python - table generation in pdf using python
34.Solved: UnicodeEncodeError: 'charmap' codec can't encode characters
35.Python - Read open excel file data
36.Python tkinter -print preview
37.Solved: AttributeError_ type object 'Image' has no attribute 'open'
Back To Home
!doctype>
Friday, November 15, 2019
python-crop certain dimension from image
This method is useful to crop an image. Small size from big image.
Python code:
import cv2
img = cv2.imread("download.jpeg")
crop_img = img[0:500,0:500]
cv2.imwrite('download2.jpeg',crop_img)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment