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 - 5 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 - 5 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 - 5 months
This seems to only support windows :(
By @butterfi - 5 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 - 5 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 - 5 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 - 5 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 - 5 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 - 5 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 - 5 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 - 5 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 - 5 months
Ok folks, how does this impact our AGI (Aerial Gear Installation) timelines?
By @blorenz - 5 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 - 5 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 - 5 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 - 5 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 - 5 months
This is beautiful. Have you ever dropped a hat on someone's head a a surprise?
By @kelnos - 5 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 - 5 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 - 5 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 - 5 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 - 5 months
That's a great idea! Did I tell you about my cousin and his flower pot/anvil/piano business idea btw?
By @rashidae - 5 months
If this is used for the wrong reasons, so using something other than a hat… This could be lethal.
By @rendall - 5 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 - 5 months
This is so much nicer than the typical type of things that might fall onto your head in Midtown. Love it!
By @stikit - 5 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 - 5 months
Is there video of any successful drops?
By @parpfish - 5 months
will this create an organic HN meetup next under this dudes window?
By @lupire - 5 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 - 5 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 - 5 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 - 5 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 - 5 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 - 5 months
Amazing. Any chance of Top Hats as a premium upgrade?
By @amarcheschi - 5 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 - 5 months
Oh I could use this to deliver my home made lunch boxes to customers from my 15th floor apartment!
By @4oo4 - 5 months
This makes me really miss the Stupid Shit hackathon, this seems like a perfect project for it.

https://stupidhackathon.com/

By @Uptrenda - 5 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 - 5 months
damn, I really hoped it'd autorotate.
By @dkga - 5 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 - 5 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 - 5 months
Reminds me a bit of jafflechutes: http://jafflechutes.com/whatis.html
By @vijucat - 5 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 - 5 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 - 5 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 - 5 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 - 5 months
A coin on a string would be funnier. Just when someone wants to yoink it, up up up it flies.
By @natch - 5 months
Is roboflow in the picture because the Pi doesn't have the power to do object recognition?
By @ajwin - 5 months
I wonder if anvils will be the breakout product for this technology. It seems like it should be.
By @selimnairb - 5 months
Finally something useful from “AI.”
By @tcsenpai - 5 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 - 5 months
From a fellow midwesterner - was this great? “You betcha!”

Finally some window shopping that interests me.

By @voisin - 5 months
Amazing. Hats on to you!
By @tamimio - 5 months
Pretty cool! Any info about the maximum height of AI head detections?
By @kozak - 5 months
This tech will definitely find some good use here in Ukraine.
By @micromacrofoot - 5 months
The opportunity for vertical integration here is incredible.
By @petermcneeley - 5 months
That hat seems familiar.
By @betaporter - 5 months
Tried to buy a hat and this person is... sold out. For a while!
By @mnw21cam - 5 months
And there I was, hoping for a Flanders and Swann reference.
By @tcsenpai - 5 months
This is one of the most beautiful things made with AI
By @yaky - 5 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 - 5 months
Thanks OP, a great intro to drop shipping.
By @truetraveller - 5 months
Is this legal? Imagine everyone doing this.
By @carabiner - 5 months
Site is down. What did it show?
By @mdrzn - 5 months
Very cool idea and project :)
By @29athrowaway - 5 months
Next step: add EEG electrodes
By @tears-in-rain - 5 months
well, lads, may i ask a favor? never try this on fpv drone with shell.
By @bazil376 - 5 months
Mad hatter
By @oblio - 5 months
AI is the new random()
By @metaph6 - 5 months
what a lots of free time to spare, creatw and joy...
By @helsinki - 5 months
See you in August!
By @karaterobot - 5 months
This is visionary.
By @riwsky - 5 months
Hats off to you!
By @truetraveller - 5 months
Is this legal?!
By @coderustle - 5 months
anyone know the cross streets?
By @JFuzz - 5 months
“Fan” tastic
By @kulesh - 5 months
Go roboflow!
By @michael_michael - 5 months
Our team already uses cap.ly. How does this compare to that, or, say haberdash.er? Congrats on the launch.
By @saaaaaam - 5 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 - 5 months
Maybe I’ll try this
By @timnetworks - 5 months
As another inhabitant of the same x,y plot -- please don't pivot to pianos.
By @atemerev - 5 months
Cool. Now replace hats with explosives and sell it to the military.
By @vedmed - 5 months
Now take this code and replace hats with bombs.
By @Simon_O_Rourke - 5 months
Just wait until some bozo walking down the street starts litigation about harassment and spinal injury.
By @seanhunter - 5 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 - 5 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 - 5 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 - 5 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 - 5 months
WHAT CORNER IS THIS ON I WILL GO THERE RIGHT NOW AND WAIT TO BE HATTED BY AN AI
By @tmountain - 5 months
Finally someone accomplishes something meaningful with AI! /s
By @zxcvbnm - 5 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 - 5 months
Possibly the most important tech project of 2024.
By @WanderPanda - 5 months
looks like AGI has been achieved externally
By @classified - 5 months
If this isn't domestic terrorism, I don't know what is.
By @boffinAudio - 5 months
Hats or Bombs? You decide. The AI doesn't have the ability to do so.
By @o999 - 5 months
That's nice, except it is very likely illegal
By @A4ET8a8uTh0 - 5 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.