본문 바로가기

Wooks_learning

검색하기
Wooks_learning
프로필사진 Wooks_

  • 분류 전체보기 (28)
    • 딥러닝 (15)
      • 논문 리뷰 (5)
      • 딥러닝 이론 (5)
      • 기타 코드 (3)
      • Object detection (2)
    • Computer science (1)
      • OS (0)
      • DB (0)
      • Algorithm (0)
      • Python (1)
    • OS (4)
      • Linux (3)
      • windows (1)
    • Errors (4)
      • Python (4)
    • HardWare (4)
      • Jetson nano tx2 (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • #Jetson nano
  • #비선형
  • #pytorch
  • #선형
  • #activation function
  • #object detection
  • Linux
  • #Linux
  • #gpu training
  • #Anaconda
  • pytorch
  • #landmark
  • #torchvision
  • #annotation
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록#annotation (1)

Wooks_learning

face landmark print on image

import cv2 import numpy as np pts = 'pts file 경로' pts = np.loadtxt(pts) image = cv2.imread('image file 경로') for i in range(70): cv2.circle(image, center = (int(pts[i][0]), int(pts[i][1])), radius = 1, color = (0,0,255), thickness = 2) cv2.putText(image, str(i), (int(pts[i][0]), int(pts[i][1])), cv2.FONT_HERSHEY_PLAIN, 0.6, (255,0,0), 1, cv2.LINE_AA) cv2.imshow('pts on image', image) cv2.waitKey(0)

딥러닝/기타 코드 2021. 9. 27. 14:23
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바