摘要:
1、环境 OSX 12.5 Java8 vscode 2、脚本 JavaCvCameraTest.java import javax.swing.JFrame; import org.bytedeco.ffmpeg.global.avcodec; import org.bytedeco.javacp 阅读全文
摘要:
1、环境 python3 OSX 12.5 vscode 2、安装ffmpeg brew install ffmpeg 3、安装cv2 pip install opencv-python # or pip --default-timeout=100 install opencv-python -i 阅读全文
摘要:
1、安装ffmpeg brew install ffmpeg 2、查看本机设备 ffmpeg -devices % ffmpeg -devices ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers built with 阅读全文
摘要:
参考链接: http://events.jianshu.io/p/2405999c7c88 阅读全文
摘要:
1、代码 # -*- coding:utf8 -*- import cv2 as cv cap = cv.VideoCapture(0) while (True): hx, frame = cap.read() if hx is False: print('read video error') ex 阅读全文