Giter VIP home page Giter VIP logo

Demetrios Loizides's Projects

tool-for-creating-lip-recognition-datasets icon tool-for-creating-lip-recognition-datasets

The following python code is the first step to creating an open source tool which will be used to create datasets that could be used to train lip recognition machine learning algorithms. The program typical takes a given video URL (typically from youtube) and downloads the video along with the available English subtitles. It then chops the video into segments per word or per sentence depending on the what settings are specified. Once the videos are chopped per sentence or per-word the audio is extracted and stored into a separate chunks and the files are copied without the audio and stored separately. Afterwards face recognition is applied onto the video files that do not contain the audio. The 68 landmark points position are extracted for every frame, face recognition is applied on every frame and the result is True if a face is found False is a face isn't found. If a face is found the region of the lips is cropped. All of the results are saved locally. No subtitle to audio or audio to video alignment is applied at the moment. The video is chopped at the times in which subtitles are presented in the video. Simply open and run main.py by changing the URL and filename value. Also a DEMO_face_detect.py presents how face recognition is applied in real time from the local camera. I appologies in advance there are alot of improvements that need to be made. I am not a software engineer nor I hold a computer science degree at the moment but I am get there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.