|
@@ -126,16 +126,32 @@ PQCVMediaProcessor.blurDetectionFromImagePath(String path);
|
|
|
### 获取视频指纹码,用于比较是否相似
|
|
|
|
|
|
#### 环境配置
|
|
|
+
|
|
|
1. FFmpeg 安装 >=4.4.1 (建议 4.4.1)
|
|
|
- ```shell
|
|
|
+```shell
|
|
|
|
|
|
yum-config-manager --add-repo=https://negativo17.org/repos/epel-multimedia.repo
|
|
|
yum-config-manager --disable epel-multimedia
|
|
|
yum install --enablerepo=epel-multimedia ffmpeg ffmpeg-devel
|
|
|
|
|
|
- ```
|
|
|
+```
|
|
|
2. OpenCV 安装 (参考上面)
|
|
|
+
|
|
|
3. JAVA 安装 (参考上面)
|
|
|
+
|
|
|
+4. 代码地址
|
|
|
+
|
|
|
+```shell
|
|
|
+git clone https://git.yishihui.com/VideoProcessing/PQCVMedia.git
|
|
|
+
|
|
|
+cd PQCVMedia
|
|
|
+
|
|
|
+git checkout ffmpeg-opencv
|
|
|
+
|
|
|
+./build.sh
|
|
|
+
|
|
|
+echo "安装成功,在当前 output/lib 下"
|
|
|
+```
|
|
|
|
|
|
#### api
|
|
|
|