InsightFace_Pytorch icon indicating copy to clipboard operation
InsightFace_Pytorch copied to clipboard

3.3 detect over video

Open tjulitianyi1997 opened this issue 5 years ago • 6 comments

Can someone implement the function of the author's video on Youtobe website? When I run the following sentence, I keep showing no face.

python infer_on_video.py -f [video file name] -s [save file name]

Has anyone encountered the same situation? Is there any solution?

tjulitianyi1997 avatar Mar 06 '20 11:03 tjulitianyi1997

I meet the question the same with you.And the file named recording can not open.Have you solved this question?

sunweixings avatar Apr 29 '20 02:04 sunweixings

I can not detete the face too. Have you solved this problem?

zhangbc12 avatar Sep 15 '20 04:09 zhangbc12

the video file is on data/facebank/ which is Default location. so you can set your video at data/facebank/video_name.

charmere avatar Sep 27 '20 09:09 charmere

I have the same question.always no face ,who can give me some advices?

Shame-fight avatar Apr 23 '21 09:04 Shame-fight

@Shame-fight me too,have you solved this problem?

mzm1183710118 avatar May 05 '21 16:05 mzm1183710118

I think it is the problem with pytorch version. Switch to new implementation of mtcnn-pytorch is fine for me but still cannot open the output video, I think it's a problem of opencv version

Update: I've found out why the output video can not open because the video writer use fixed and (possibly) incorrect frame height and width, if you change to the actual height and width of your video frame then it works

thunanguyen avatar Jul 09 '21 08:07 thunanguyen