Skip to content

Generate a GUI to input a video, capture and output the human face in the video.

Notifications You must be signed in to change notification settings

AsajuHuishi/video_face_recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

GUI for Video Face Recognition

It is the code to generate a GUI for Video Face Recognition based on Python and Face_recognition library. We generate a graphical interface to input a video, capture and output the human face in the video. It is based on article: opencv+face_recognition+tkinter: 实现简单的视频人脸识别工具.

Requirements

  • Python
  • cv2
  • face-recognition Github
  • tkinter

The technical foundation of this paper is divided into three parts:

lib usage
opencv Video processing module
face_recognition Face recognition module
tkinter GUI design module

Results & How to use

Example:

python shizuo.py

Our window design is as follows:

GUI function:

  • For the vertical video, you need to flip it

  • For oversized videos, you need to downsize the display

  • For long videos, you can start reading from any frame

  • Supports saving output images between frames

Tips:

  • Click 'Select Video File' to select a video file

  • Set relevant parameters

  • Click 'Play'

  • Press Q to exit

An actual example is shown below. Video URL 在这里插入图片描述

Reference

https://www.cnblogs.com/mengd/p/7287119.html
Python Tkinter模块详解(后续持续补充)
【Python-opencv3.4】视频基本操作(帧率,总视频帧数、从第N帧开始播放、播放进度显示、按键控制视频)

About

Generate a GUI to input a video, capture and output the human face in the video.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages