Skip to main content

Mask Catcher using deep learning

Hi everyone, In our measurement course we were asked to represent a new idea using sensors and modern technology.
I really like Deep learning and get inspired by data science. With my friends, we showed a new idea that can help to avoid Covid-19 and keep the production lines on. This was the face mask catcher.


briefly, we found that most workers don't follow instructions in wearing face masks, so we will use the technique of facial recognition in deep learning to catch the one without mask.

First thing, we are going to use a video camera sensor (normal using), which is composed of a sensor called CCD or CMOS. To be honest, I don't know a lot about the sensor's story. All I know is about Deep learning.

Deep learning is a paradigm of Machine learning which uses the idea of the neutral network in the learning process. Machines are like children. They learn by experiments. Like a child asks is that a dog? and you have to answer. Then, he starts storing data.


There is a very famous method used in deep learning, called Viol-Jones Method. It used what is called Haar-feature. In this feature, we want to know if there is something in this area or not. we will consider that there is a nose in this place and we need to know if there is a nose or not. The nose is a feature with three dimensions so it will contain dark areas compared to the face places, which is not contained nose or eyes, etc.

\

A square divided into eight squares will cover this area of the face. every square of those eight will take a value between 0 to 1. [0-0.5] brighter than [0.5-1]. Of course, there is no pure 0 or pure 1. 

We got the average of the bright squares and black ones. Then, getting the absolute difference between them. If the difference is close to 1, it means there is a feature (nose, hair, eyes, and so on).

What we suggested was so simple, we put two types of data (pictures). people with masks and pictures of workers. If a worker without a mask is found, the camera takes his picture and compares it with the previous data. It gave the name of this worker to the manager. 

In conclusion: Our idea is



I'm waiting for your comments. 




Comments

Popular posts from this blog

Miserable

 This one word could describe my life right now. I am writing this because of the last book I read talking about how to re-organize your life. 32 days ago, my dad has gone. In the beginning, I couldn't cry. Now, I can't stop crying about everything. Everything reminds me of him. His favorite stuff became my nightmare. I dream of him every day, too. One week from his death, I took my exams. I didn't remember how I did in them. I knew they were not how I supposed to do, but I am not aware of how I did. I wish I could have cried when he passed. I wanted to cry a lot but I didn't have the ability to face myself with the fact of his death.  He died between my shoulders. I just saw his color turned to yellow like how my grandpa seemed before death. I heard my brother told him some prayers that a person says before death and I just shouted at him to stop. I spent time squeezing his feet to make him shocked. I even talked to him, I said don't go, don't leave me, not now...

MaharaTech: Network Course Summary

I knew it's a long time since my last post. In this post I will try to summarize most of the concepts of MaharaTech Network Course .  The Course Works for beginners and It lasts for 1 hour. If you are a beginner I tell you to plan for this course well. You should schedule 2 hours a day for 5/8 days to get the ultimate benefits of it.  There are 3 main Chapters and I will summarize them so you may return to this post in case you wanted to revise.  Introduction to Computer Networks ISO/OSI Model (7 Layers) TCP/IP Protocol Suite 1.  Introduction to Computer Networks a. Physical layer converts data from 01's to the electrical or optical or electromagnetic image.  b. Datalink layer consists of logical link control to convert, reliable, and flow the data from buckets to frames and preserve the data, resend missing messages. The other is MAC which adds the sender and receiver's physical addresses.  c. Network layer takes segments and converts them to packets. add ...

Hobbies but no time!

Hi hi hi, It's been a long time since the last time here. I know I am probably not your model, besides writing my blog in English makes it not easy to scroll down.  Today I am talking about Hobbies and how to back to your hobbies while your schedule is crowded like a shit. 1. Know Your Hobbies      You need to list your favorite 10 hobbies and if you wanna try sth in the future related to this field     My 10 are [Walking, Dancing, Reading, Learning, Writing, Domino, Complete words, Sports, Problem Solving]     and I wanted to learn chess.  2. Get The Best 3 Out of Them     After listing your hobbies go rank them with stars, what your good at, and so on. Should we quiet any of the last 10? I don't think so.  3. You Just Need to Focus     I do like Dancing but I have no time to learn it. So, You put your hobbies and choose 1 or 2 to learn more about it. for example, the learnable hobbies from mine are [Dancing, Learnin...