Table of Contents
How does the AI ​​determine if the baby is hungry?
Is an automatic feeding system feasible?
Home Technology peripherals AI A programmer's father made his own AI feeding detector to predict when the baby is hungry and prevent his wife's sleep from being affected by his crying.

A programmer's father made his own AI feeding detector to predict when the baby is hungry and prevent his wife's sleep from being affected by his crying.

Apr 08, 2023 pm 09:51 PM
programmer AI algorithm baby hungry

Caleb, a programmer brother, recently gave birth to a son, but troubles also came with it.

The newborn baby needs to be fed every few hours, and will burst into tears when hungry at night. At this time, the whole family will be woken up, and they will not be able to sleep well after being tortured all night.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

He consulted experienced people around him, and the advice he got was:

Just endure it and get through the first few months. .

But as a programmer, Caleb was unwilling to give in and began to use his engineer's thinking to solve problems.

In the end, through a combination of camera AI algorithms, he developed an automatic baby hunger detection system that can detect the baby in time before it actually starts crying.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

#Caleb tells the program to send a notification to his phone once it determines that the baby is 100% likely to be hungry.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

# In this way, he could get up quietly by himself to breastfeed, and used his technical skills to protect his wife's sleep.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

# Such a system does not need to be developed from scratch, because the off-the-shelf human posture detection algorithm is already very mature.

For example, Caleb used Google’s open source MediaPipe, which includes complete full-body posture, facial mesh and hand movement detection.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

The remaining question is-

How does the AI ​​determine if the baby is hungry?

Before starting to take action, Caleb first went to the mother and baby forum to read a lot of information.

According to theory, crying means that the baby has entered the later stages of hunger. It is not easy to breastfeed directly at this time, and you need to calm the baby down first.

Early manifestations of hunger also include smacking or licking lips, opening and closing the mouth repeatedly, sucking lips, fingers or other clothing toys, etc.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

Caleb wrote codes to give different weights to these behaviors based on his experience in observing his own children.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

For example, smacking your lips will have a 10% confidence level, and putting your fist to your mouth will also have a 10% confidence level.

The baby turning his head back and forth indicates that he is looking for food sources. He observed that his baby would turn its head at different frequencies depending on the degree of hunger.

So he set it within a short period of time. The more frequently he turned his head, the more confidence he gained.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

During this period, we also encountered situations where a baby holding a pacifier would cause occlusion and the algorithm would not be able to accurately identify the movement of the lips.

To this end, he also retrained his own customized model based on the open source algorithm, giving confidence levels based on the situation of holding a pacifier and not holding a pacifier.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

#During this process, he also discovered that the baby would spit out the pacifier when he was very hungry. This action will increase the confidence level by a full 30%, which means you will cry out soon.

After this system was put into use, it has indeed brought many benefits to Caleb’s family. He concluded:

The baby is happier and the adults can sleep more. .

However, this story is not over yet...

Is an automatic feeding system feasible?

The preliminary results of the software did not satisfy this old man’s DIY soul.

Next, he linked this system with hardware and mechanical devices, trying to create a fully automatic breastfeeding system.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

The idea is very bold, but judging from the ending, it is still a bit over the top.

He also knew that this thing was prone to accidents, so he first found an adult to play the role of a baby for the experiment.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

I saw him holding the pacifier in his mouth and imitating the movements of a baby, turning his head and smacking his lips repeatedly to increase the system's confidence, and finally spit out the pacifier to trigger the system alarm.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

What happened next, I can only say "dangerous actions, please do not imitate".

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

Caleb made a video of this experience and shared it online, which attracted attention in the programmer and DIY circles.

He revealed that it only took about 50 hours to complete the entire development work, because the MediaPipe open source tools are already very complete.

Some netizens commented: If I were to develop this system, my children would already know how to make soy sauce by the time I finish being a child.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

There is a reason why Caleb can do it so quickly. He is already familiar with the development process of target detection applications. He has also done dog detection in his own yard before. When to poop.

Some people feel weird about his approach.

When you are hungry → you have to cry → you get food. This should be a necessary stage for learning to interact with the surrounding environment and communicate with your parents. If you can get food just by lying down, will it affect your development?

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

Another netizen thought that the professional advice he got from parenting courses was to try to feed babies before they cry, so it shouldn't be a big problem.

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

Caleb himself also said that he and his wife will not completely rely on algorithms to decide what to feed their children, but with the help of AI, they can do a better job raising their children. efficiency.

Of course, there are more interested netizens urging him: open source quickly!

A programmers father made his own AI feeding detector to predict when the baby is hungry and prevent his wifes sleep from being affected by his crying.

Video address: https://www.youtube.com/watch?v=Lda1Sq8HRY4

MediaPipehttps://google.github.io/mediapipe /​

The above is the detailed content of A programmer's father made his own AI feeding detector to predict when the baby is hungry and prevent his wife's sleep from being affected by his crying.. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Which AI programmer is the best? Explore the potential of Devin, Tongyi Lingma and SWE-agent Which AI programmer is the best? Explore the potential of Devin, Tongyi Lingma and SWE-agent Apr 07, 2024 am 09:10 AM

On March 3, 2022, less than a month after the birth of the world's first AI programmer Devin, the NLP team of Princeton University developed an open source AI programmer SWE-agent. It leverages the GPT-4 model to automatically resolve issues in GitHub repositories. SWE-agent's performance on the SWE-bench test set is similar to Devin, taking an average of 93 seconds and solving 12.29% of the problems. By interacting with a dedicated terminal, SWE-agent can open and search file contents, use automatic syntax checking, edit specific lines, and write and execute tests. (Note: The above content is a slight adjustment of the original content, but the key information in the original text is retained and does not exceed the specified word limit.) SWE-A

520 programmers' exclusive way to express romantic feelings! Can't refuse! 520 programmers' exclusive way to express romantic feelings! Can't refuse! May 19, 2022 pm 03:07 PM

520 is approaching, and he is here again for the annual show of tormenting dogs! Want to see how the most rational code and the most romantic confession can collide? Let’s take you through the most complete and complete advertising code one by one to see if the romance of programmers can capture the hearts of your goddesses?

Revealing the appeal of C language: Uncovering the potential of programmers Revealing the appeal of C language: Uncovering the potential of programmers Feb 24, 2024 pm 11:21 PM

The Charm of Learning C Language: Unlocking the Potential of Programmers With the continuous development of technology, computer programming has become a field that has attracted much attention. Among many programming languages, C language has always been loved by programmers. Its simplicity, efficiency and wide application make learning C language the first step for many people to enter the field of programming. This article will discuss the charm of learning C language and how to unlock the potential of programmers by learning C language. First of all, the charm of learning C language lies in its simplicity. Compared with other programming languages, C language

2023过年,又限制放烟花?程序猿有办法! 2023过年,又限制放烟花?程序猿有办法! Jan 20, 2023 pm 02:57 PM

本篇文章给大家介绍如何用前端代码实现一个烟花绽放的绚烂效果,其实主要就是用前端三剑客来实现,也就是HTML+CSS+JS,下面一起来看一下,作者会解说相应的代码,希望对需要的朋友有所帮助。

Make money by taking on private jobs! A complete list of order-taking platforms for programmers in 2023! Make money by taking on private jobs! A complete list of order-taking platforms for programmers in 2023! Jan 09, 2023 am 09:50 AM

Last week we did a public welfare live broadcast about "2023PHP Entrepreneurship". Many students asked about specific order-taking platforms. Below, php Chinese website has compiled 22 relatively reliable platforms for reference!

what do programmers do what do programmers do Aug 03, 2019 pm 01:40 PM

Programmer's job responsibilities: 1. Responsible for the detailed design, coding and organization and implementation of internal testing of software projects; 2. Assist project managers and related personnel to communicate with customers and maintain good customer relationships; 3. Participate in demand research and project feasibility performance analysis, technical feasibility analysis and demand analysis; 4. Familiar with and proficient in the relevant software technologies for delivering software projects developed by the software department; 5. Responsible for timely feedback on software development situations to the project manager; 6. Participate in software development and maintenance Solve major technical problems during the process; 7. Responsible for the formulation of relevant technical documents, etc.

A brief analysis of how to download and install historical versions of VSCode A brief analysis of how to download and install historical versions of VSCode Apr 17, 2023 pm 07:18 PM

Download and install historical versions of VSCode VSCode installation download installation reference VSCode installation Windows version: Windows10 VSCode version: VScode1.65.0 (64-bit User version) This article

List of the best Windows 11 terminal emulators in 2022: Top 15 recommendations List of the best Windows 11 terminal emulators in 2022: Top 15 recommendations Apr 24, 2023 pm 04:31 PM

Terminal emulators allow you to emulate the functionality of a standard computer terminal. With it, you can perform data transfers and access another computer remotely. When combined with advanced operating systems like Windows 11, the creative possibilities of these tools are endless. However, there are many third-party terminal emulators available. Therefore, it is difficult to choose the right one. But, just as we do with the must-have Windows 11 apps, we've selected the best Terminals you can use and increase your productivity. How do we choose the best Windows 11 terminal emulator? Before selecting the tools on this list, our team of experts first tested them for compatibility with Windows 11. We also checked them

See all articles