Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- JavaScript
- hash table
- spring boot
- Back tracking
- Algorithm
- 모의SW역량테스트
- 구현
- 시뮬레이션
- Trie
- 코테
- SWEA
- boj
- Vue.js
- 알고리듬
- CSV
- BFS
- programmers
- SQL
- 알고리즘
- DFS
- Python
- Bruth Force
- Data Structure
- gpdb
- django
- 코딩테스트
- Priority Queue
- Linked list
- aws
- GitHub
Archives
- Today
- Total
목록interpolation (1)
hotamul의 개발 이야기
[Python] OpenCV로 image size 조절하기
Interpolation Methods for resizing cv2.INTER_AREA: 주로 이미지 크기를 줄이는데 사용한다. cv2.INTER_CUBIC: 속도는 느리지만 Interpolation 성능이 좋다. cv2.INTER_LINEAR: 주로 이미지 크기를 늘리는데 사용하고 OpenCV의 default Interpolation method이다. 참고: OpenCV - InterpolationFlags Shrink & Enlarge Image $ pip install opencv-python-headless numpy import numpy as np import cv2 # loading image img = cv2.imread('./testimg.jpg') # shrinking ..
Dev./Python
2023. 1. 1. 15:58