ZME Science
No Result
View All Result
ZME Science
No Result
View All Result
ZME Science

Home → Science → News

How one Japanese used Deep Learning to sort his parents’ cucumbers

You don't need to change the world for deep learning to have a meaningful impact in your life.

Tibi PuiubyTibi Puiu
September 27, 2016
in News, Research
A A
Share on FacebookShare on TwitterSubmit to Reddit

When we think of neural networks or machine learning we tend to imagine them involved in radically transforming the world by preventing crimes before they happen or improving energy efficiency. But you don’t need to change the world to make good use of machine learning. Sometimes, using this tech to help your mom and pop’s business can be just as impressive.

cucumbers
Credit: Pixabay

Makoto Koike, a former embedded systems designer, first got into machine learning after he found out that Google’s DeepMind division used it to train a machine to beat a human champion at Go. He later learned about TensorFlow, an open source library released by Google that allows engineers to implement deep neural networks without prior knowledge of all the complex mathematical and optimization algorithms. Using TensorFlow, Koike saved countless man-hours for his parents who run a cucumber farm in Japan.

What deep learning does is it allows a computer to learn from training data, like a huge database of images, what the most important or defining features that it needs to recognize are. With the help of a hierarchy of numerous artificial neurons, deep learning can then classify all sorts of images with high accuracy. A neural network could be used to recognize different species of cats from varying images or even predict what happens next.

Crooked cucumbers are ranked lower. Credit: Makoto Koike
Crooked cucumbers are ranked lower. Credit: Makoto Koike

His deep learning system uses a Raspberry Pi 3 as the controller and a personal computer that’s connected to the TensorFlow server. Once a cucumber travels down the line and in front of the system’s camera, a picture is taken and then Makoto’s modified neural network tries to ‘understand’ what it’s looking it at. First, it determines that the item sitting right in front of the camera is a cucumber, then it further classifies it because, if you didn’t know, cucumbers come in all sort of sizes, textures, and varying degrees of quality. For instance, thorny cucumbers with many prickles still on them that are fresh and vivid in color are sold at a premium, so sorting the gems from the clutter can be very lucrative.

“The sorting work is not an easy task to learn. You have to look at not only the size and thickness, but also the color, texture, small scratches, whether or not they are crooked and whether they have prickles. It takes months to learn the system and you can’t just hire part-time workers during the busiest period. I myself only recently learned to sort cucumbers well,” Makoto said for Google Cloud’s blog.

Makoto spent about three months taking 7,000 pictures of cucumbers sorted by his mother, but this was still not enough. Partly to blame is his system which can take and analyze pictures of cucumbers that are only 80×80 pixels in resolution.

“When I did a validation with the test images, the recognition accuracy exceeded 95%. But if you apply the system with real use cases, the accuracy drops down to about 70%. I suspect the neural network model has the issue of “overfitting” (the phenomenon in a neural network where the model is trained to fit only to the small training dataset) because of the insufficient number of training images.”

Makoto needs to invest a lot more than $1,000 — the money he spent so far — to make his cucumber assembly line really stellar. Even so, his results are inspiring because they go to show just how much you can achieve if you set your mind to it.

 

RelatedPosts

Millions of public domain photos turned into beautiful time lapse videos by Google
Google introduces digital Braille keyboard for Android
Google used DeepMind to cut their electricity bill by a whopping 15%
AI thought X-rays are connected to eating refried beans or drinking beer

 

Tags: cucumberdeep learningGooglesorting

ShareTweetShare
Tibi Puiu

Tibi Puiu

Tibi is a science journalist and co-founder of ZME Science. He writes mainly about emerging tech, physics, climate, and space. In his spare time, Tibi likes to make weird music on his computer and groom felines. He has a B.Sc in mechanical engineering and an M.Sc in renewable energy systems.

Related Posts

blocky image of minecraft
Future

An AI Called Dreamer Learned to Mine Diamonds in Minecraft — Without Being Taught

byTudor Tarita
1 month ago
Mind & Brain

Is AI Moderation a Useful Tool or Another Failed Social Media Fix?

byMihai Andrei
2 months ago
Economics

Machine learning is bringing back an infamous pseudoscience used to fuel racism

byMihai Andrei
4 months ago
Science

AI Designs Computer Chips We Can’t Understand — But They Work Really Well

byMihai Andrei
4 months ago

Recent news

This Startup Is Using Ancient DNA to Recreate Perfumes from Extinct Flowers

May 21, 2025

Jupiter Was Twice Its Size and Had a Magnetic Field 50 Times Stronger After the Solar System Formed

May 21, 2025

How One Man and a Legendary Canoe Rescued the Dying Art of Polynesian Navigation

May 21, 2025
  • About
  • Advertise
  • Editorial Policy
  • Privacy Policy and Terms of Use
  • How we review products
  • Contact

© 2007-2025 ZME Science - Not exactly rocket science. All Rights Reserved.

No Result
View All Result
  • Science News
  • Environment
  • Health
  • Space
  • Future
  • Features
    • Natural Sciences
    • Physics
      • Matter and Energy
      • Quantum Mechanics
      • Thermodynamics
    • Chemistry
      • Periodic Table
      • Applied Chemistry
      • Materials
      • Physical Chemistry
    • Biology
      • Anatomy
      • Biochemistry
      • Ecology
      • Genetics
      • Microbiology
      • Plants and Fungi
    • Geology and Paleontology
      • Planet Earth
      • Earth Dynamics
      • Rocks and Minerals
      • Volcanoes
      • Dinosaurs
      • Fossils
    • Animals
      • Mammals
      • Birds
      • Fish
      • Amphibians
      • Reptiles
      • Invertebrates
      • Pets
      • Conservation
      • Animal facts
    • Climate and Weather
      • Climate change
      • Weather and atmosphere
    • Health
      • Drugs
      • Diseases and Conditions
      • Human Body
      • Mind and Brain
      • Food and Nutrition
      • Wellness
    • History and Humanities
      • Anthropology
      • Archaeology
      • History
      • Economics
      • People
      • Sociology
    • Space & Astronomy
      • The Solar System
      • Sun
      • The Moon
      • Planets
      • Asteroids, meteors & comets
      • Astronomy
      • Astrophysics
      • Cosmology
      • Exoplanets & Alien Life
      • Spaceflight and Exploration
    • Technology
      • Computer Science & IT
      • Engineering
      • Inventions
      • Sustainability
      • Renewable Energy
      • Green Living
    • Culture
    • Resources
  • Videos
  • Reviews
  • About Us
    • About
    • The Team
    • Advertise
    • Contribute
    • Editorial policy
    • Privacy Policy
    • Contact

© 2007-2025 ZME Science - Not exactly rocket science. All Rights Reserved.