반응형
250x250
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 |
Tags
- SQL
- Python
- aws cicd
- codepipeline
- docker
- Kafka
- IntelliJ
- or some instances in your deployment group are experiencing problems.
- JavaScript
- VPN
- bootstrap
- Jenkins
- codedeploy error
- kubeflow
- codebuild
- COALESCE
- AWS CI/CD 구축하기
- PostgreSQL
- Spring Error
- chartjs
- java bigdecimal
- aws
- 도커
- codedeploy
- Airflow
- Spring
- node
- chart.js
- redis
- Flux
Archives
- Today
- Total
목록opencv (1)
Small Asteroid Blog
opencv 동영상 3초단위로 프레임 자르기
# -*- coding: utf-8 -*- import cv2 import numpy as np from matplotlib import pyplot as plt import os from PIL import Image print(os.getcwd()) #파이썬 경로를 비디오 경로와 동일하게 변경 os.chdir('D:/my/record_3') print(os.getcwd()) videopath = 'D:/my/record_3/' savepath = 'D:/my/video frame/rec3/' for i in range(9,901): vname = 'v_3_'+str(i) #print(vname) cap = cv2.VideoCapture(videopath+vname+'.mp4') fps = cap.ge..
백엔드/Python
2020. 12. 4. 16:20