使用.NET中的Windows应用程序模糊视频 [英] Bluring video using Windows application in .NET

查看:152
本文介绍了使用.NET中的Windows应用程序模糊视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将参与FFMPEG,我希望通过视频中的图像替换脸部。对于这个主题,我搜索了下面我要描述的内容。如果我错了,请告诉我,并建议更合适的程序。



1)我可以逐帧提取所有图像。



2)然后我们从每张图片中检测到脸部。



3)将图像变形到脸部。



4)然后再通过FFMPEG制作带有这些图像的视频。



我是对的吗?如果是,那么这个过程中的音频怎么样?如果错了,我错了哪里?





请帮我这个windows应用程序..

解决方案

请告诉您以下可能指导您的链接。





1)从中提取所有图像逐帧视频。

使用C# [ ^ ]

从视频文件中提取帧 [ ^ ]

HTTP://stackoverflow.c om / questions / 17825677 / extract-frames-of-a-avi-file [ ^ ]

http://www.c-sharpcorner.com/uploadfile/krishnasarala/get-framesimages-from-video-in-Asp-Net/ [< a href =http://www.c-sharpcorner.com/uploadfile/krishnasarala/get-framesimages-from-video-in-Asp-Net/target =_ blanktitle =New Window> ^ ]

http ://superuser.com/questions/666430/how-to-extract-jpegs-from-a-video-file-using-ffmpeg [ ^ ]



2)从图像中检测面部。

http://stackoverflow.com/questions/7368709/c-sharp-detect-face-and-crop-image [ ^ ]

http://www.emgu.com/wiki/index.php/Face_detection [ ^ ]

< a href =http://www.codeproject.com/Articles/462527/Camera-Face-Detection-in-Csharp-using-Emgu-CV-and>使用Emgu CV和WPF在C#中进行相机面部检测 [ ^ ]

多个面部检测和实时识别 [ ^ ]

C#中的哈尔特征对象检测 [ ^ ]



3)变形图像。

http://morphing.codeplex.com/ [< a href =http://morphing.codeplex.com/target =_ blanktitle =New Window> ^ ]

http://www.owlnet.rice.edu/~elec539/Projects97/morphjrks/automorph.html [ ^ ]

C#中的图像处理实验室 [ ^ ]

http://www.cg.tuwien.ac.at/~xmrm/ [ ^ ]

http://www.aforgenet.com/framework/ [ ^ ]

http://www.aforgenet.com/framework/docs/html/80514f4d-0a69-dacf-3a4e-8819250d8226.htm [ ^ ]

http ://blogs.msdn.com/b/nativeconcurrency/archive/2012/08/09/im age-morphing-c-amp-sample.aspx [ ^ ]



4)通过FFMPEG制作带有图像的视频。

https://trac.ffmpeg.org/wiki/Create %20a%20video%20slideshow%20 from%20images [ ^ ]

http: //stackoverflow.com/questions/24961127/ffmpeg-create-video-from-images [ ^ ]

http://hamelot.co.uk/visualizati on / using-ffmpeg-to-set-of-images-into-a-video / [ ^ ]

http://linuxers.org/tutorial/how-extract-images-video-using-ffmpeg [< a href =http://linuxers.org/tutorial/how-extract-images-video-using-ffmpegtarget =_ blanktitle =New Window> ^ ]

http://www.itforeveryone.co.uk/image-to-video.html [ ^ ]

https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/image_sequence [ ^ ]

http://electron.mit.edu/~gsteele / ffmpeg / [ ^ ]

http://video.stackexchange.com/questions/7903/how-to-losslessly-encode-a-jpg-image-sequence-to-a-video-in-ffmpeg [ ^ ]

I will work on FFMPEG , I want a face replacement by my image in a video. For this subject I searched for something which I am describing below. Please let me know if I am wrong, and suggest a more proper procedure for the task.

1) I can extract all images from a video frame by frame.

2) Then we detect face from each image.

3) Morph an image onto the face.

4) Then again make a video with these images through FFMPEG.

Am I right? If yes then what about audio in this process? And if wrong then where am I mistaken?


Please help me in this windows application ..

解决方案

Please make you of following links which may guide you.


1) Extract all images from a video frame by frame.
Extracting still pictures from movie files, with C#[^]
Extract Frames from Video Files[^]
http://stackoverflow.com/questions/17825677/extracting-frames-of-a-avi-file[^]
http://www.c-sharpcorner.com/uploadfile/krishnasarala/get-framesimages-from-video-in-Asp-Net/[^]
http://superuser.com/questions/666430/how-to-extract-jpegs-from-a-video-file-using-ffmpeg[^]

2) Detect face from image.
http://stackoverflow.com/questions/7368709/c-sharp-detect-face-and-crop-image[^]
http://www.emgu.com/wiki/index.php/Face_detection[^]
Camera Face Detection in C# using Emgu CV and WPF[^]
Multiple face detection and recognition in real time[^]
Haar-feature Object Detection in C#[^]

3)Morph an image.
http://morphing.codeplex.com/[^]
http://www.owlnet.rice.edu/~elec539/Projects97/morphjrks/automorph.html[^]
Image Processing Lab in C#[^]
http://www.cg.tuwien.ac.at/~xmrm/[^]
http://www.aforgenet.com/framework/[^]
http://www.aforgenet.com/framework/docs/html/80514f4d-0a69-dacf-3a4e-8819250d8226.htm[^]
http://blogs.msdn.com/b/nativeconcurrency/archive/2012/08/09/image-morphing-c-amp-sample.aspx[^]

4) Make a video with images through FFMPEG.
https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images[^]
http://stackoverflow.com/questions/24961127/ffmpeg-create-video-from-images[^]
http://hamelot.co.uk/visualization/using-ffmpeg-to-convert-a-set-of-images-into-a-video/[^]
http://linuxers.org/tutorial/how-extract-images-video-using-ffmpeg[^]
http://www.itforeveryone.co.uk/image-to-video.html[^]
https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/image_sequence[^]
http://electron.mit.edu/~gsteele/ffmpeg/[^]
http://video.stackexchange.com/questions/7903/how-to-losslessly-encode-a-jpg-image-sequence-to-a-video-in-ffmpeg[^]


这篇关于使用.NET中的Windows应用程序模糊视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆