Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/opencv/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Opencv 错误管道:无元素“;facedetect";_Opencv_Gstreamer_Face Detection - Fatal编程技术网

Opencv 错误管道:无元素“;facedetect";

Opencv 错误管道:无元素“;facedetect";,opencv,gstreamer,face-detection,Opencv,Gstreamer,Face Detection,我正在尝试使用(Gstreamer open cv)插件检测人脸,使用以下管道 基于图像的人脸检测 gst-launch-1.0 filesrc location=/home/talview22/Pictures/face.png ! decodebin ! ffmpegcolorspace ! facedetect ! ffmpegcolorspace ! ximagesink 实时饲料中的人脸检测 gst-launch-1.0 v4l2src ! 'video/x-raw-rgb,widt

我正在尝试使用(Gstreamer open cv)插件检测人脸,使用以下管道

基于图像的人脸检测

gst-launch-1.0 filesrc location=/home/talview22/Pictures/face.png ! decodebin ! ffmpegcolorspace ! facedetect ! ffmpegcolorspace ! ximagesink
实时饲料中的人脸检测

gst-launch-1.0 v4l2src ! 'video/x-raw-rgb,width=640,height=480' ! ffmpegcolorspace ! faceblur face-width=40 face-height=40 ! ffmpegcolorspace ! xvimagesink
获取以下错误

警告:错误管道:无元素“facedetect”

facedetect插件已经安装,我检查过了

talview22@talview22-System-Product-Name:/var/www/html/backboneapp$ gst-inspect-1.0 facedetect
Factory Details:
  Rank                     none (0)
  Long-name                facedetect
  Klass                    Filter/Effect/Video
  Description              Performs face detection on videos and images, providing detected positions via bus messages
  Author                   Michael Sheldon <mike@mikeasoft.com>
talview22@talview22-系统产品名称:/var/www/html/backboneapp$gst-inspect-1.0 facedetect
工厂详情:
排名无(0)
长名称人脸检测
Klass过滤器/效果/视频
描述对视频和图像执行人脸检测,通过总线消息提供检测到的位置
作家迈克尔·谢尔顿

如何解决问题?

奇怪的是,
ffmpegcolorspace
在1.0版中被删除(变成
videoconvert
,请参阅),您却没有收到任何错误。在一个简单的管道中,比如
gst-launch-1.0 videotestsrc!ffmpegcolorspace!例如,autovideosink
我没有得到任何元素“ffmpegcolorspace”。你确定没有指向0.10二进制文件或其他东西的符号链接吗?谢谢你的重播,我知道了。在没有ffmpegcolorspace的情况下,将执行以下命令“gst-launch-1.0 autovideosrc!video/x-raw,width=320,height=240!videoconvert!facedetect!videoconvert!autovideosink”