laitimes

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

Bonsai, if, I mean, if you have a big backyard and a cute dog.

Dogs sprinkle joy in the yard every day, and then pull down lumps of poop...

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

And your backyard is overgrown with weeds in the summer and covered with thick snow in the winter – how can you find these poop quickly and prevent yourself from accidentally stepping on them?

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

There was such a foreign brother who made a clever move and made a detector to solve the problem perfectly.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

However, unlike everyone imagines, this detector is not a complex thing of physical awareness, nor is it a simple visual recognition.

Mainly by a camera, plus a pose detection model.

Once the model recognizes the puppy's posture of pulling the poop, it can determine the location of the poop and then mark a red circle at the relevant location on the map of your backyard.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

If you take a small shovel according to this map, you can "dig up treasures" one by one to go to [Wangchai].

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector
Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

Homemade dog cane detectors

The little brother said that he did not like to follow the dog's ass to "pick up shit", and it often snowed on his side, and sometimes the poop before he had time to shovel was covered by snow, and it was very difficult to find it.

So he wanted a detector, but looked around the Internet and found no product with similar features.

Remembering that I usually see that many netizens will DIY some interesting concept tools, the little brother thought, then I will make one myself.

Since the brother had installed a camera in his backyard, he decided to cut in from this camera.

He scoured the Web for many "out-of-the-box" image recognition models and eventually discovered a free animal attitude tracking tool called DeepLabCut.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

Developed by two researchers at the Swiss Federal Institute of Technology in Lausanne, it can convert any video containing motion into motion capture information.

In addition to terminals, Colab, Jupyter Notebooks, and also provide a graphical operation interface, the main need for you to spend a few hours marking the samples to be tracked, the rest is left to the tool itself.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

The little brother thought to himself, instead of directly identifying the poop on the ground, it is better to find the hiding place of the poop by observing the behavior of the dog.

So he took a lot of photos of his own dogs pulling poop, and through observation, he found that the dogs were in a state of spine arching, tail stiff and straight, and kept this position still.

Well, there are a total of 6 key points that need to be marked, like this:

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

After all the labels are done, train with DeepLabCut, and then access the monitoring information to use.

In addition to dogs, DeepLabCut can also recognize other animals, so making a cat detector or other animals is not a problem.

In order to prevent some actions from interfering and making the results more accurate, the brother also wrote a "voting mechanism" to systematically score each action of the dog in the video, scoring more than 75%, before determining that the puppy is defecating, and then recording the position at this time.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

The brother said that this function is very good, and the judgment is very accurate - even in the middle of the night, part of the puppy's body is not within the monitoring range can be accurately detected.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

Striving for excellence, the little brother said to himself, he hired an animal cosplayer to play the dog "temptation" this detector.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

The results were satisfactory, and the model would not identify humans pretending to be dogs defecating.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

ps. Some netizens bet with a pack of marshmallows and a bottle of Diet Coke: It is definitely the little brother himself.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

If it is really him, cough, I don't know if I have been seen by the neighbors ah...

In order to make it more convenient to use, Xiao Brother also put this detector function into the mobile phone through HTTP Server.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

In the future, he also intends to continue to refine the logic, expand the detection target to a wider variety of dogs, and move image processing to the cloud to automate.

In this way, anyone can rely on an ordinary camera to have the same "dog detector".

It would be nice to have a robot that shovels automatically

I don't know if you are moved, many netizens are directly hit by this tool anyway, indicating that Mrs. Also Mrs. needs it!

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

The little brother is quite generous: welcome everyone to bring your dog to my backyard pip.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

Some people are impressed by the brother's hands-on ability, saying that not all heroes have to wear a big cloak to save the world, and it is very good to test poop in the backyard like him!

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

Some netizens suggested that it would be better to make a robot that can automatically shovel.

Shoveling is so hardcore?! The little brother used the posture detection model to make a dog detector

Good guys, is the world really driven by lazy people??

Finally, do you need such a dog detector?

Or do you have other good ways to solve this problem? Welcome to add ~

Read on