Sudo Find Me A Parking Space; Machine Learning Ends Circling The Block

If you live in a bustling city and have anyone over who drives, it can be difficult for them to find parking. Maybe you have an assigned space, but they’re resigned to circling the block with an eagle eye. With those friends in  mind, [Adam Geitgey] wrote a Python script that takes the video feed from a web cam and analyzes it frame by frame to figure out when a street parking space opens up. When the glorious moment arrives, he gets a text message via Twilio with a picture of the void.

It sounds complicated, but much of the work has already been done. Cars are a popular target for machine learning, so large data sets with cars already exist. [Adam] didn’t have to train a neural network, either–he found a pre-trained Mask R-CNN model with data for 80 common objects like people, animals, and cars.

The model gives a lot of useful info, including a bounding box for each car with pixel coordinates. Since the boxes overlap, there needs be a way to determine whether there’s really a car in the space, or just the bumpers of other cars. [Adam] used intersection over union to do this, which is conveniently available as a function of the Mask R-CNN model’s library. The function returns a score, so it was just a matter of ignoring low-scoring bounding boxes.

[Adam] purposely made the script adaptable. A few changes here and there, and you could be picking up tennis balls with a robotic collector or analyzing human migration patterns on your block in no time. Or change it up and detect all the cars that run the stop sign by your house.

Thanks for the tip, [foamyguy].

Hack Your File Hierarchy With Johnny Decimal System (Dewey’s Older Brother)

Most of us have our fair share of digital debris. After all, with drives measured in one-million-million byte increments it’s tempting to never delete anything. The downside is you may never be able to find anything either. [Johnny Noble] must have gotten pretty fed up with clutter when he decided to formalize and publish his own numeric system for organizing everything he comes in contact with. It’s called Johnny Decimal and it’s actually pretty simple!

This is of course a play on words for the Dewey Decimal system. Dewey is one of a variety of information organization systems used by libraries to sort the books on their shelves. It’s based on moving books into sets of fixed, predefined categories which are uniform across all users of the Dewey. To locate a volume the user composes categories of increasing specificity to build a number which specifies the approximate space a particular book should live in. Each individual volume has a slightly more verbose assigned number which includes the author’s name to reduce confusion in cases where there are multiple works. Wikipedia has an instructive example which you can see here.

Johnny Decimal

Johnny Decimal works similarly but [Johnny] has a specific method he’s devised for the user to create their own categories with somewhat less specificity than Dewey. This makes it less onerous for the user to adapt to their needs, and if it’s easier to use it’s more likely to be used. I won’t spoil the process here, go read his site for instructions.

Ok so why bother? [Johnny] hints at it, but part of the point is to force the user to think about organization in the first place. With no system and an endless torrent of incoming files it’s easy to end up with the giant “~/Downloads” of doom and never improve from there. But with a clearly defined system (which is easy to execute!) the bar to improve things gets much lower. Certainly the thought of a well-organized file system gives us the shivers!

If you’re interested in implementing it in your own systems, the Johnny Decimal site has many pages devoted to explaining how to put together areas and categories, how to handle running out of buckets, the process for developing your own system, and more. If you try it and have luck, send us a note! We’d love to hear about anything you discover. If you’ll excuse us, we’re off to go fix up our parts bins with a marker and some sticky notes.

Continue reading “Hack Your File Hierarchy With Johnny Decimal System (Dewey’s Older Brother)”

Glasses For The Hearing Impaired?

If you don’t have hearing loss, it is easy to forget just how much you depend on your ears. Hearing aids are great if you can afford them, but they aren’t like glasses where they immediately improve your sense in almost every way. In addition to having to get used to a hearing aid you’ll often find increased noise and even feedback. If you’ve been to a theater lately, you may have noticed a closed caption display system somewhere nearby that you can sit within visual range of should you be hard of hearing. That limits your seat choices though, and requires you to split your attention between the stage and the device. The National Theatre of London is using Epson smart glasses to put the captions right in your individual line of vision (see video below).

The Epson glasses are similar to the Google Glass that caused such a stir a few years ago, and it seems like such a great application we are surprised it has taken this long to be created. We were also surprised to hear about the length of the project, amazingly it took four years. The Epson glasses can take HDMI or USB-C inputs, so it seems as though a Raspberry Pi, a battery, and the glasses could have made this a weekend project.

Continue reading “Glasses For The Hearing Impaired?”

The E-Waste Apocalypse Looms

What does post-apocalyptic technology look like? Well, that kind of depends on the apocalypse. Regardless of the cause, we’ll need to be clever and resourceful and re-learn ancient crafts like weaving and pottery-making. After all, the only real apocalyptic constants are the needs of the survivors. Humans need clothing and other textiles. Fortunately, weaving doesn’t require electricity—just simple mechanics, patience, and craftsmanship.

If it turns out the apocalypse is scheduled for tomorrow, we’ll have piles and piles of e-waste as fodder for new-old looms. This adorable loom is a mashup of old and new technologies that [Kati Hyyppä] built at an artist residency in Latvia, a country with a rich historical tapestry of textile-making. It combines a cheerful orange telephone with an old cassette player and some telescoping rods from a radio antenna. [Kati] reused the phone’s hang-up switch to trigger tunes from a deconstructed toddler toy every time the receiver is lifted. Check it out after the beep break.

And yeah, you’re right, it does use batteries. But the looming part doesn’t require power, only the music. In case of apocalypse, just scrounge up a solar panel.

If you’d rather be prepared to have to make your own clothes someday, print this loom beforehand.

Continue reading “The E-Waste Apocalypse Looms”

Mario Candy Machine Gamifies Halloween

Picture it: Halloween, 2018. You want to go to a party or take the kids out trick-or-treating, but remember what happened last year when you weren’t there to answer the door? A pack of wild children blew their allowances on 48 rolls of the cheapest toilet paper ever printed, and it took you four full hours to get all the sodden, dew-laden wads out of your rose bushes.

Halloween is a time to fear things like hobgoblins and the possibility of The Purge becoming a thing, not sugar-fueled children who are upset that you left out a bowl of Sixlets, wax lips, and alt-flavored Tootsie Rolls. So how do you take back the night? Do what [Randall Hendrix] did: build a Super Mario-themed candy-dispensing machine.

No customer, not one tiny [Thanos] or [Tony Stark] will be able to resist the giant, blinking, green start button. Pushing it cues the music and the spinning drum, which tumbles the candy around like a clothes dryer. Gravity and chance will drop one or three pieces onto a conveyor belt that runs under Mario’s feet, but it’s up to you to press the jump button at the right time.  Otherwise, he knocks your prize back into the barrel.

There’s no micro here, just woodworking, relays, motors, a sound FX board, and the amp from an old pair of PC speakers. Mario’s candy-securing jump was originally pneumatic, but now it’s powered by a 240:1 gear motor that lifts him up with a cam. Grab a fun size Snickers and slap that break button to see this marvelous machine in action.

Concerned that they’ll play until the candy is gone? Add a sinister element like the Candy-or-Death machine we saw a few years ago.

Continue reading “Mario Candy Machine Gamifies Halloween”

Lawn From Hell Saved By Mower From Heaven

It’s that time of year again, at least in the northern hemisphere. Everything is alive and growing, especially that narrow-leafed non-commodity that so many of us farm without tangible reward. [sonofdodie] has a particularly hard row to hoe—his backyard is one big, 30° slope of knee-ruining agony. After 30 years of trudging up and down the hill, his body was telling him to find a better way. But no lawn service would touch it, so he waited for divine inspiration.

And lo, the answer came to [sonofdodie] in a trio of string trimmers. These Whirling Dervishes of grass grazing are mounted on a wheeled plywood base so that their strings overlap slightly for full coverage. Now he can sit in the shade and sip lemonade as he mows via rope and extension cord using a mower that cost about $100 to build.

These heavenly trimmers have been modified to use heavy nylon line, which means they can whip two weeks’ worth of rain-fueled growth with no problem. You can watch the mower shimmy down what looks like the world’s greatest Slip ‘n Slide hill after the break.

Yeah, this video is two years old, but somehow we missed it back then. Ideas this fresh that tackle age-old problems are evergreen, unlike these plots of grass we must maintain. There’s more than one way to skin this ecological cat, and we’ve seen everything from solar mowers to robotic mowers to mowers tied up to wind themselves around a stake like an enthusiastic dog.

Continue reading “Lawn From Hell Saved By Mower From Heaven”

Stretching My Skills: How (and Why) I Made My Own Compression Sleeves

Have you ever noticed how “one size fits all” often means “one size poorly fits all”? This became especially clear to me when I started using a compression sleeve on my arm. Like any hacker, this seemed like something I could fix, so I gave it a shot. Boy, did I learn a lot in the process.

A little over a year ago, I started dropping things. If I was holding something in my left hand, chances were good that it would suddenly be on the ground. This phenomenon was soon accompanied by pain and numbness, particularly after banging on a keyboard all day.

At best, my pinky and ring fingers were tired all the time and felt half dead. At worst, pain radiated from my armpit all the way to my fingertips. It felt like my arm had been electrocuted. Long story short, I saw a neurologist or two, and several co-pays later I had a diagnosis: cubital tunnel syndrome.

Continue reading “Stretching My Skills: How (and Why) I Made My Own Compression Sleeves”