June 23rd, 2024

I am using AI to drop hats outside my window onto New Yorkers

dropofahat.zone showcases a project by a New York City resident using AI to drop hats onto passersby from their window. Challenges include hat selection, window opening, and AI implementation. The goal is to redefine "Window Shopping."

Read original articleLink Icon
I am using AI to drop hats outside my window onto New Yorkers

The website dropofahat.zone features a project where the creator, a midwesterner living in New York City, uses AI to drop hats onto the heads of passersby from their apartment window. The project involves booking time slots, paying for a hat, standing under the window for a few seconds, and having a hat placed on one's head. The process includes using a Raspberry Pi, an Adafruit stepper motor, Roboflow for AI, and lightweight products like Propeller Hats. The creator faced challenges with opening the window, selecting the right hats, setting up the dropping mechanism using a Raspberry Pi and stepper motor, and implementing AI for object detection to trigger the hat drop. The ultimate goal is to create a unique experience where items are constantly dropped from city windows, with a vision of a world where essentials are conveniently provided by falling out of windows. The project aims to offer a new concept of "Window Shopping" in New York City.

Related

Algorithmic fitting of Japanese candy

Algorithmic fitting of Japanese candy

The article discusses algorithmically fitting Japanese candies into a subscription box for Candy Japan. The programmer developed an algorithm considering candy sizes, permutations, and NP-hard complexity. Despite challenges, the project led to discontinuing Candy Japan due to postal rate impacts.

MeshAnything – Converts 3D representations into efficient 3D meshes

MeshAnything – Converts 3D representations into efficient 3D meshes

MeshAnything efficiently generates high-quality Artist-Created Meshes with optimized topology, fewer faces, and precise shapes. Its innovative approach enhances 3D industry applications by improving storage and rendering efficiencies.

Show HN: Eidos – Offline alternative to Notion

Show HN: Eidos – Offline alternative to Notion

The Eidos project on GitHub offers a personal data management framework as a Progressive Web App with AI features. Customizable with extensions and scripting, it leverages sqlite-wasm technology for chromium-based browsers.

Pi Gazing is a project to build meteor cameras using Raspberry Pi

Pi Gazing is a project to build meteor cameras using Raspberry Pi

A project called Pi Gazing uses Raspberry Pi computers and CCTV cameras to monitor the night sky, tracking objects like shooting stars and satellites. Users can access open-source code and observations on GitHub.

My weekend project turned into a 3 years journey

My weekend project turned into a 3 years journey

Anthony's note-taking app journey spans 3 years, evolving from a secure Markdown tool to a complex Electron/React project with code execution capabilities. Facing challenges in store publishing, he prioritizes user feedback and simplicity, opting for a custom online deployment solution.

Link Icon 109 comments
By @bonyt - 4 months
I was once on 25th street in Midtown, when I saw someone drop a tiny object with a little parachute from a window at least 8 or 9 stories up. Once it had finished slowly gliding down to the street, someone picked it up and used it to enter the building. It was the key - I guess the buzzer didn't work! It was a delightful sight.
By @snaeker58 - 4 months
I can’t believe I watched a story of using AI to drop hats on people and calling it drop shipping turn into a debate about parties, buzzkills and the risk of addictive substances vs “annoying” people against hat drop shipping and similar ideas, a discussion on the legal bounds of unwanted hat drop shipping, the effect of stray hats on babies and a quantitative analysis on the environmental impact of objects dropped from apartment windows in NYC. Followed by another debate on the mental effect of objects dropping from apartments in cities with skyscrapers. This is amazing.
By @sim7c00 - 4 months
This seems to only support windows :(
By @butterfi - 4 months
I can’t wrap my head around how that hat drops in a straight line. Between the propeller and any wind, how is that hat not all over the place?
By @jaredhansen - 4 months
This is the best thing I've seen on HN or indeed on the internet in general for quite a long time. Excellent work and thank you for brightening my day.
By @causal - 4 months
I love this kind of project.

A lot of states are working on legislation that includes requirements for watermarking AI generated content. But it seldom defines AI with any rigor, making me wonder if soon everyone will need to label everything as made with AI to be on the safe side, kinda like prop 65 warnings.

By @hammock - 4 months
This concept is great, it’s also a brilliant idea for a webcam on a Bourbon St balcony in New Orleans to throw beads at parties below. I am friends with a guy who owns a multistory bar in the middle of the strip and would be open to this, so if OP or someone else is interested in developing an AI/remote control bead thrower, drop some contact info and I’ll reach out
By @jimhi - 4 months
I am seeking neighboring stores! Sometimes I crave gum on the street, Gum drop anyone?

To summarize, I used:

1. Low weight but very cool product (like Propeller Hats)

2. Raspberry Pi for controlling everything

3. Adafruit stepper motor for the dropping mechanism

4. Yarn for holding the hat

5. Roboflow for the AI

By @gcheong - 4 months
I was hoping to get in on the ground floor of this investment opportunity but it looks like I'm too late.
By @metadat - 4 months
What an unexpectedly cool post, I clicked the link thinking it would be "typical dumb", but it ended up being atypically dumb in the greatest way! Fascinating. The author overcame many challenges and wrote about them in a style as if he solved the hardest parts with only a little fiddling. Maybe he's already seasoned in the ML and robotics domains? So much fun to read.

Regarding the Video Object Detection:

Why does inference need to be done via Roboflow SaaS?

    ...(api_url="https://detect.roboflow.com", api_key="API_KEY")
Is it because the Pi is too underpowered to run a fully on-device solution such as Frigate [0] or DOODS [1]? And presumably a Coral TPU wasn't considered because the author mostly used stuff he happened to have laying around.

Can anyone comment contrasting experience with Roboflow? Does it perform better than Frigate and DOODS?

Asking for a friend. I totally don't have announcement speakers throughout my house that I want to say "Mom approaching the property", "Package delivered", "Dog spotted on a walk", "Dog owner spotted not picking up after their beast", and so on. That last one will be tricky to pull off. Ah well :)

[0] https://github.com/blakeblackshear/frigate/pkgs/container/fr...

[1] https://github.com/snowzach/doods2

By @ivanb - 4 months
If the goal is to make a window-based store, then why do you need AI at all? Just release the hat once payment goes through.

This reminds me of thousands of blockchain projects that used the technology to flip on light switch.

By @rahidz - 4 months
Ok folks, how does this impact our AGI (Aerial Gear Installation) timelines?
By @blorenz - 4 months
Love this! I play recreational ice hockey in an Adult league and for the past many years I've desired to use AI/Object recognition to recognize who was out on the ice during what times during the game to attribute who impacted goals and which players were taking longer than usual shifts ( every team has those one or two players!).

This may be achievable for me with the current state of AI and GPT to help fill the gaps that my knowledge is lacking in. Thanks for showing what you made and how you did it. It's encouragement to me.

By @btown - 4 months
> Picture a world where you can walk around New York City and everything you need is falling out of windows onto you. At a moments notice, at the drop of a hat. That's a world I want to live in. That's why I'm teaching you how to do yourself. Remember this as the first place you heard of "Window Shopping."

I truly love the concept of pun-driven development (PDD). As a motivating economic principle, a world where every human being has the resources, time, and personal safety to dedicate absurd amounts of their time to inane levels of pun-driven development is perhaps my favorite definition of utopia.

By @Sardtok - 4 months
I'm looking into starting a piano or anvil store. This is just the thing I need to make my dream come true.
By @adregan - 4 months
I feel like such a killjoy, but the first thing I thought of is the ongoing lice “epidemic” among people with school aged children in NYC.

I have never liked it when the ACs drip on me in midtown let alone a hat dropping on my head!

By @potatoman22 - 4 months
This is beautiful. Have you ever dropped a hat on someone's head a a surprise?
By @kelnos - 4 months
Fun demo, but it would work just as well for the customer to tap something on their phone (or even send/reply to an SMS) to trigger the hat-drop, and be much, much simpler, and likely more reliable. It looks like it isn't capable of actually placing the hat on the customer's head (it lands on the ground nearby), so the camera and AI stuff is only acting as a trigger, not a guide.

And presumably if another random person happens to stop inside the right sidewalk tile for at least 3 seconds during the 5-minute window, before the actual customer gets there, they'll get the hat instead!

By @worldmerge - 4 months
This is so cool and just brings me a lot of joy :)

Also, I've been working on a project (non-commercial) that looks down on people and have found existing models don't work super well from that angle so thank you for publishing your work on Roboflow.

By @LikeBeans - 4 months
It would be cool to make something similar for a pet feeder. Imagine having two cats (like we do). A skinny one and a fat one. AI would recognize them and dispense more food for the skinny one throughout the day. Hmm... :-)
By @epiccoleman - 4 months
Fantastic, I love this kind of silly stuff. The clear next iteration is a 4-prop hat, which can be guided to the target head.

Of course, that starts to verge on what's spooky about the idea, but either way, this is really fun and cool.

By @xg15 - 4 months
That's a great idea! Did I tell you about my cousin and his flower pot/anvil/piano business idea btw?
By @rashidae - 4 months
If this is used for the wrong reasons, so using something other than a hat… This could be lethal.
By @rendall - 4 months
I'm confused. The article describes a really cool project as if it were already implemented, but there is no video of it actually working? Am I missing something?
By @lxgr - 4 months
This is so much nicer than the typical type of things that might fall onto your head in Midtown. Love it!
By @stikit - 4 months
Love the creativity and humor which is often the spark for true innovation.This guy is a real life Kramer from Seinfeld. Reminds me of the episode where Kramer drops a ball of oil from his nyc apartment while testing a business idea.
By @qustrolabe - 4 months
Is there video of any successful drops?
By @parpfish - 4 months
will this create an organic HN meetup next under this dudes window?
By @lupire - 4 months
This is fake and an ad, right?

Why 800+ votes for a thing that obviously doesn't do what it claims to be doing, and shows pictures and videos of it not doing the thing?

By @schneems - 4 months
This is cool. It reminded me of a dream project in my backlog: I want to build a fan that tracks my head when I workout and always blows at my face.

Do y’all think a similar stack/setup (raspberry pi and python3 and this model thing he linked to) would be a good starting point? I prefer to use a more “algorithm” solution than a full blown model (I mean cameras have had face detection since what, the early 2000s?).

Anyway, curious to hear any suggestions.

By @beacon294 - 4 months
This is a clever use of AI marketing. I'd still be interested in "I'm using computers to drop hats outside my window onto New Yorkers."
By @BaculumMeumEst - 4 months
I really want to use llama3 8B Q4_0 llama.cpp for some fun automation tasks so I tried following this guide: https://voorloopnul.com/blog/quantize-and-run-the-original-l... but all I get out of it is rambling nonsense. Glad ollama exists I guess, running that works fine for me.
By @Frieren - 4 months
> Picture a world where you can walk around New York City and everything you need is falling out of windows onto you.

A funny way of criticizing something. Great commentary.

By @buggeryorkshire - 4 months
Amazing. Any chance of Top Hats as a premium upgrade?
By @amarcheschi - 4 months
Can you go a bit more in depth for the part regarding training the Ai to recognize the heads? Like what software(s) did you use ecc... I'm an undergrad who's seeking to do similar computer vision internships for his thesis and I find this kinda fascinating
By @robofanatic - 4 months
Oh I could use this to deliver my home made lunch boxes to customers from my 15th floor apartment!
By @4oo4 - 4 months
This makes me really miss the Stupid Shit hackathon, this seems like a perfect project for it.

https://stupidhackathon.com/

By @Uptrenda - 4 months
I don't know what is more impressive: that someone thought of such a whacky idea or that they actually implemented it. It's very creative and I can see someone who thinks like this seeing opportunities others wouldn't.
By @codesnik - 4 months
damn, I really hoped it'd autorotate.
By @dkga - 4 months
Really, really liked it! Also, would be glad to hear where you got that helicopter heads. I've been looking for one for some time but my head is large sized so I can't find one that fits here where I live.
By @geerlingguy - 4 months
> My dream is for all the city windows to be constantly dropping things on us all the time. You will need a Raspberry Pi...

A Raspberry Pi would hurt quite a bit, depending on the floor!

By @stevage - 4 months
Reminds me a bit of jafflechutes: http://jafflechutes.com/whatis.html
By @vijucat - 4 months
Once superintelligence takes over all jobs, as it is claimed will happen (, and there is an AIBI : AI Basic Income), I hope we are free to do more such projects :)
By @cynicalsecurity - 4 months
That project could become a really nice military startup. You could use it in order to drop bombs on the heads of Russian fascist soldiers in Ukraine.
By @Nimnimnim - 4 months
The vision of a world where you need a sandwich on your way to work and it just drops on your head is both hilarious and something I really need in my life.
By @hettygreen - 4 months
Fake.. only one video clip where the hat disappears when it falls and then reappears on the guys head just as he re-emerges from view.
By @emsign - 4 months
A coin on a string would be funnier. Just when someone wants to yoink it, up up up it flies.
By @natch - 4 months
Is roboflow in the picture because the Pi doesn't have the power to do object recognition?
By @ajwin - 4 months
I wonder if anvils will be the breakout product for this technology. It seems like it should be.
By @selimnairb - 4 months
Finally something useful from “AI.”
By @tcsenpai - 4 months
Thanks, I am happy to notify you that I archived your post in my hall of fame (and in the internet archive). Kudos! https://archive.tunnelsenpai.win/archive/1719179282.959772/i...
By @aantix - 4 months
From a fellow midwesterner - was this great? “You betcha!”

Finally some window shopping that interests me.

By @voisin - 4 months
Amazing. Hats on to you!
By @tamimio - 4 months
Pretty cool! Any info about the maximum height of AI head detections?
By @kozak - 4 months
This tech will definitely find some good use here in Ukraine.
By @micromacrofoot - 4 months
The opportunity for vertical integration here is incredible.
By @petermcneeley - 4 months
That hat seems familiar.
By @betaporter - 4 months
Tried to buy a hat and this person is... sold out. For a while!
By @mnw21cam - 4 months
And there I was, hoping for a Flanders and Swann reference.
By @tcsenpai - 4 months
This is one of the most beautiful things made with AI
By @yaky - 4 months
Title is very misleading. I initially thought this is a high-tech prank.

TLDR: Not just any "New Yorkers", but specifically "customers who want to buy a propeller hat". And hats are dropped not "onto", but "somewhere on the sidewalk next to" these New Yorkers. And sure, this might be "using AI", but AI seems like an overkill to recognize that a person is standing longer than three seconds under the window.

So a guy sells hats by dropping them out of the window. Not sure why there are so many comments praising this. Is it because of the pun? Am I missing something?

By @meigwilym - 4 months
Thanks OP, a great intro to drop shipping.
By @truetraveller - 4 months
Is this legal? Imagine everyone doing this.
By @carabiner - 4 months
Site is down. What did it show?
By @mdrzn - 4 months
Very cool idea and project :)
By @29athrowaway - 4 months
Next step: add EEG electrodes
By @tears-in-rain - 4 months
well, lads, may i ask a favor? never try this on fpv drone with shell.
By @bazil376 - 4 months
Mad hatter
By @oblio - 4 months
AI is the new random()
By @metaph6 - 4 months
what a lots of free time to spare, creatw and joy...
By @helsinki - 4 months
See you in August!
By @karaterobot - 4 months
This is visionary.
By @riwsky - 4 months
Hats off to you!
By @truetraveller - 4 months
Is this legal?!
By @coderustle - 4 months
anyone know the cross streets?
By @JFuzz - 4 months
“Fan” tastic
By @kulesh - 4 months
Go roboflow!
By @michael_michael - 4 months
Our team already uses cap.ly. How does this compare to that, or, say haberdash.er? Congrats on the launch.
By @saaaaaam - 4 months
This is ABSOLUTELY RIDICULOUS.

I can’t believe someone would spend the time and effort to do this.

I love it. You’re brilliant.

By @deadbabe - 4 months
Maybe I’ll try this
By @timnetworks - 4 months
As another inhabitant of the same x,y plot -- please don't pivot to pianos.
By @atemerev - 4 months
Cool. Now replace hats with explosives and sell it to the military.
By @vedmed - 4 months
Now take this code and replace hats with bombs.
By @Simon_O_Rourke - 4 months
Just wait until some bozo walking down the street starts litigation about harassment and spinal injury.
By @seanhunter - 4 months
I have a few qualms with this AI-assisted hat delivery service[1]:

1. For a Linux user, you can already build such a system yourself quite trivially by getting a kaggle account, learning by doing computer vision projects, and then using opencv to build the vision parts of the system. From Windows or Mac, you could build using a cloud system such as Amazon Bedrock.

2. It doesn't actually replace having a hat for the period from your own front door to OP's apartment. Most people I know own hats themselves or borrow from friends to be able to attend specific events, but they still carry a hat in case there are weather problems. This does not solve the availability issue.

3. It does not seem very "viral" or income-generating. I know this is premature at this point, but without charging users for the service, is it reasonable to expect to make money off of this?

[1] Actually I don't. It's really awesome.

By @hermannj314 - 4 months
Typical mid-western humor, spends almost as much time describing how to open a window as how to build an AI agent. Very fun project.
By @prepend - 4 months
This seems wonderful. I’m in New York next weekend and wanted to buy a hat, but sadly you’re all booked up. Too bad.

Although since it only takes a few seconds, I’d expect you to be able to sell thousands of these a day. If you don’t mind me asking, how many slots do you release each day?

By @op00to - 4 months
I will pay $10 to have a hat drop on my head while standing in one spot for 3 seconds. Please contact me if you are interested in doing business.
By @IIAOPSW - 4 months
WHAT CORNER IS THIS ON I WILL GO THERE RIGHT NOW AND WAIT TO BE HATTED BY AN AI
By @tmountain - 4 months
Finally someone accomplishes something meaningful with AI! /s
By @zxcvbnm - 4 months
It seems I'm in a minority thinking this is not that great... wind can blow the hat (or the thing from the generalized idea) into traffic, or onto a baby, or any other place to upset people. Also, if the recipient can't/doesn't pick the thing up, then it's littering. From the technical perspective finding heads in a video is not that impressive nowadays... So, I don't get all the excitement...
By @wsdookadr - 4 months
Possibly the most important tech project of 2024.
By @WanderPanda - 4 months
looks like AGI has been achieved externally
By @classified - 4 months
If this isn't domestic terrorism, I don't know what is.
By @boffinAudio - 4 months
Hats or Bombs? You decide. The AI doesn't have the ability to do so.
By @o999 - 4 months
That's nice, except it is very likely illegal
By @A4ET8a8uTh0 - 4 months
I will be honest, while the project is actually neat, it showcases some of the issues with technological advancements as related to society ( and happens to also touch on one's exposure in a big city ). One could easily imagine a scenario ( or scenarios ), where this could be misused.