본문 바로가기

Daily Develope

검색하기
Daily Develope
프로필사진 noggame

  • 분류 전체보기 (109)
    • Develope (53)
      • Python (31)
      • Web (18)
      • ETC (4)
    • AI (16)
    • DB (6)
    • MicroService (7)
      • Docker (6)
      • Kubernetes (1)
    • OS (15)
      • Linux (10)
      • Windows (1)
      • Mac (4)
    • Git (7)
    • Algorithm (1)
    • Favorite (1)
      • 책갈피 (1)
      • Music (0)
Guestbook
Notice
  • migration 중입니다...
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
Tags
  • GitLab
  • Laravel
  • CUDA
  • KAKAO
  • file
  • evaluation
  • list
  • Flask
  • PostgreSQL
  • git
  • Mac
  • Windows
  • LLM
  • Converting
  • TORCH
  • judge
  • Linux
  • format
  • Paper
  • Python
  • numpy
  • pandas
  • DB
  • docker
  • enV
  • AI
  • Package
  • pytorch
  • Container
  • Database
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Box (1)

Daily Develope

[Python] Draw Image 이미지 그리기

PIL 모듈 사용 ㅇ 네모박스 삽입 예제 : 이미지파일에 10*20 크기의 박스 삽입 후 저장 from PIL import Image, ImageDraw ### load image targetImg = "{img_path...}/target.jpg" img = Image.open(targetImg) # width, heigth = img.size# image size (width, heigth) ### Draw (width, height)=(10, 20) box from coordinate (x, y) draw = ImageDraw.Draw(img) x = 100 y = 100 draw.rectangle(xy=[(x, y), (x+10, y+20)], outline="#00FF00") img.show()..

Develope/Python 2022. 4. 11. 21:04
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.