# PyGetFrameFromVideo **Repository Path**: chauby/PyGetFrameFromVideo ## Basic Information - **Project Name**: PyGetFrameFromVideo - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-01-11 - **Last Updated**: 2022-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Python实现的视频帧图像提取 --- ## 安装opencv 所基于的库是opencv,如果电脑上没有opencv,则需要安装,ubuntu16.04中的安装方法如下: ```shell sudo apt-get update ``` 首先安装依赖库 ```shell sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev ``` 使用Anaconda安装 ```shell conda install --channel https://conda.anaconda.org/menpo opencv3 ``` 使用pip安装 ``` pip install opencv-python ``` ## 测试 打开python, 测试opencv是否安装成功 ```shell import cv2 ``` ```shell cv2.__version__ ``` 如果得到类似下面的结果(依据版本不同显示信息有所不同),则说明安装成功 ```shell '3.3.1' ```