I built a machine that can 3D scan peanut M&Ms to tell if they actually have peanuts in them, or if they are pure chocolate.
You can find my code on Github:
https://github.com/hamac2003/Peanutle...
Patreon Link: / harrisonmcintyre
My design was based largely off of this 3D scanner from Instructables:
https://www.instructables.com/Raspber...
[1] Footage Source: • Desktop 3D Scanner - Digitizer from MakerBot