Code Monkey home page Code Monkey logo

yuanyantai's Projects

aiot icon aiot

Cutting-Edge Artificial Intelligence on the Jetson Nano used to decode Brain Waves (EEG) on the Edge

attention-gated-networks icon attention-gated-networks

Use of Attention Gates in a Convolutional Neural Network / Medical Image Classification and Segmentation

coffee-cobra icon coffee-cobra

Open source optical coffee sorter based on a Raspberry Pi 3.

curve-gcn icon curve-gcn

Official PyTorch code for Curve-GCN (CVPR 2019)

deep_coffee icon deep_coffee

Machine Learning & Computer Vision for coffee beans selection

embvision icon embvision

Embedded Vision Tutorial with MATLAB(R)/Simulink(R) & Raspberry Pi(TM)

face icon face

Face detection via webcam In daily life, seeing and hearing are used as the main sources of receiving Information from the environment. So, With the advancement of technology, new tools are needed for human communication, which similarly use visual or audio inputs. The advancement of new technologies in human-computer interaction is very impressive. Many researches has been done in this field proposed to the improvement of human-computer relationship. Recent technologies tend to interact with humans using body motions. To create an intuitive and natural interaction between humans and computers, we will use a camera for detecting faces. This section describes how to create and run a face detection algorithm in Python using OpenCV. In this part, we will fully explain the basic face recognition methodology, which includes cascading classification tools and deep learning CNNs. Cascade classification: OpenCv uses machine learning algorithms to find faces in the image. Since the faces are very complex, there is no test or pattern of simple properties that shows us whether a face has been found. Instead, there are thousands of small patterns and features that need to be matched with data. There are some algorithms that divide the face recognition process into thousands of smaller and smaller tasks that are so much easier to solve. These tasks and the process of classifying are called classifiers. You need 6000 for something like your face! Considering that all of them should be found in identifying a face (but with limited errors). But there is a problem: To detect the face the algorithm, starts from the left and above the image and moves downwards around the small blocks of data, looks at each block, and asks itself every time "It's a face ...? It's a face. .... This is a face? Since in each block, as discussed before, 6000 tests are performed on the block, you might have to make millions of calculations. To solve this problem, opencv uses cascades. The opencv cascade splits the facial recognition problem into several stages. For each block, a very accurate and fast test is done. OpenCv is the most popular and most used library for computer vision. Written in C ++ / C and has a version for Python. OpenCv uses machine learning algorithms to find components in the image. Installing OpenCv The first thing to do is to install the latest version of Python itself with Pip! To insure that opencv is installed or not, you can type in python in cmd to display it in CLI. Then add the module using import Opencv if you do not have the warning error you can make sure that it is installed. Running the code: For running the code its necessary to have an opencv in python. After running the code the camera of the laptop will be turned on and we can see a green rectangle around the faces that are in front of the camera.

hosts icon hosts

:statue_of_liberty:最新可用的google hosts文件。镜像:

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.