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
- #Jetson nano
- #비선형
- #pytorch
- #선형
- #activation function
- #object detection
- Linux
- #Linux
- #gpu training
- #Anaconda
- pytorch
- #landmark
- #torchvision
- #annotation
Archives
- Today
- Total
목록#annotation (1)
Wooks_learning

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