Show HN: Using YOLO to Detect Office Chairs in 40M Hotel Photos
222 points| nomad86 | 1 year ago
Map: https://www.tripoffice.com/maps
Yolo: https://www.ultralytics.com/yolo
The whole process was done on a home Mac without the use of any LLMs. It's based on traditional object detection technology.
windows2020|1 year ago
zeristor|1 year ago
https://youtube.com/watch?v=lVIGhYMwRgs
jll29|1 year ago
Hotel rooms suck when you need to use them for work. Typically there are massive beds and I travel alone if for work. There is no proper chair, no writing table at all or one too small, and the sockets tend to be in the wrong corner of the room.
If I was an entrepreneur outside of software looking for a gap, I might have invented a hotel chain for work stays. But I'm not, so here is the idea for you to get rich with it (so I can stay there one day).
I like the OP's idea of using ML models to gather intelligence from hotel photos. For years I took a photo of nearly every hotel room with my laptop on the desk so that I could go back and re-book the rooms that were suitable if there was a conference in the same city again in the future.
chefandy|1 year ago
__MatrixMan__|1 year ago
It's fun. I occasionally get work done too.
GuB-42|1 year ago
I took a look at business hotels in Japan. These are hotels explicitly designed for work travel and nothing more. Small rooms, bed, shower, but not much to actually work. And it actually makes sense. If you are on a work trip, why would you want to work in your hotel room? The whole point of a work trip is to visit a work place, that's where you are going to work, not your hotel room. In fact, from my limited experience of work travel, doing more work is the last thing I want to do when I am back at the hotel, it is often an exhausting day, and there is a good chance I have to get up early the next day, so the hotel room is for relaxation and sleep.
If you really want to work in your hotel room, or do anything other than using the bed and shower for that matter, you are probably better off with "apartment hotels" and short term rentals. If available, student residence rooms can be a minimal option for working and sleeping, that's what they are designed for. Note that there are also hotels with co-working spaces.
Maybe what you want, that is essentially a short-stay student room for grownups will happen one day, but I see many obstacles in making it a "get rich quick" investment. It may not be a great hotel for those who just want to sleep (or have other kind of fun). And if you want to eat in there, you will lack the amenities an appartement offers. And if you are not alone, a co-working space may be a better option.
ekianjo|1 year ago
choilive|1 year ago
There are usually plenty of "business" oriented hotels near airports, business parks, central business districts, convention centers, etc . (And that definitely reflects on the trip office map). Touristy areas have more tourist/traveller oriented amenities.
ghaff|1 year ago
And I like having a king bed even if it's just me. (I do like having a desk and some sort of office chair though even that isn't really critical most of the time.)
lodovic|1 year ago
amelius|1 year ago
oefrha|1 year ago
Scoundreller|1 year ago
idoescompooters|1 year ago
kristoffervh|1 year ago
citizenpaul|1 year ago
That's basically what wework is. I know you can't officially sleep there. I don't know what they would do if you slept in one of the 24/7 access plans though.
Also you are vastly overestimating the amount of "work" people do in hotel rooms that are not in tech.
wslh|1 year ago
MaheshNat|1 year ago
Could also crop just the object detection regions of each image, run those cropped images through CLIP/SigLIP, then UMAP and HDBSCAN to view a 2 or 3 dimensional latent space clustering of office chair types.. might reveal some info as to what kinds of chairs exist in what geographical regions. Could use a VLM to auto-tag each cluster given a couple images from each one. Could run PCA on the CLIP embeddings and have some sliders for each principal component.. maybe the first is chair color or size or whatever
much data = much fun
myself248|1 year ago
I feel like they should be one database with object_type=car and object_type=firearm respectively. And then I can finally search by object_type=vacuum_cleaner and find out the wild-looking ball-shaped vacuum in that sci-fi movie whose name escapes me...
nomad86|1 year ago
bambax|1 year ago
https://news.ycombinator.com/submitted?id=nomad86
bemmu|1 year ago
I can understand why. My thought pattern was also like "oh YOLO, I know that, interesting to see some application for it, oh cool idea, upvote".
maalber|1 year ago
Side note; I love how YOLO, a deep learning based model, is now being referred to as traditional object detection. Template matching gang rise up.
dylan604|1 year ago
I just looked at hotels I'm familiar with, and images with highlighted chairs were not limited to the guest rooms. Some are definitely from shared spaces at the hotel.
nomad86|1 year ago
I trained an AI to recognize ergonomic chairs, but sometimes there were errors. For example, a chair in a hotel's SPA was always identified as an ergonomic chair. That's why we manually reviewed all 50k photos to verify them.
ncruces|1 year ago
I don't have an huge issue with short term rentals per si. They are an important niche for tourism when you take the whole family, whereas most (esp. city) hotels are not really appropriate for a family of 4 or 5.
OTOH, (esp. city) hotels are usually fine for the business trips they were designed to cater too.
This leaves us with “digital nomads.” Helping these find ways to put additional pressure on the housing market through short term rentals will only cause locals to get politicians to further restrict them.
_august|1 year ago
splonk|1 year ago
That said, I would consider scraping, even with API access. In some ways the API access is both limited and binds you to their terms of service, and depending on the legalities in your jurisdiction, scraping could be more effective.
dylan604|1 year ago
Do you hear that noise? It sounds like something is scraping
anticensor|1 year ago
ggm|1 year ago
cenamus|1 year ago
instagraham|1 year ago
I want this to be a project that teaches me the ropes but since I need instant gratification, I'd like if the result also offered value to others.
The one thing I want to avoid is cleaning up data, since spreadsheets give me the ick.
IanCal|1 year ago
https://github.com/IDEA-Research/Grounded-Segment-Anything
You can use that to take images and generate annotated segmented images/masks that you can then train a YOLO model on. I've done this for prototypes before and it's a very quick way of getting started as you can hand off the really annoying annotation work to a machine.
javiercr|1 year ago
nomad86|1 year ago
At TripOffice, we use simple and widely-used tools: Python, NextJS, and MySQL.
Tepix|1 year ago
bemmu|1 year ago
teruakohatu|1 year ago
franga2000|1 year ago
tminima|1 year ago
nomad86|1 year ago
I use MapBox, but similar things can also be done on Google Maps.
stevesearer|1 year ago
a2800276|1 year ago
mcculley|1 year ago
dchuk|1 year ago
tobi_bsf|1 year ago
OfCounsel|1 year ago
Moxy (Marriott) hotels tend not to have desks either.
thenthenthen|1 year ago
Disclaimer: i am working for myself, i have no money, a 15 year old laptop and obsessions
aduffy|1 year ago
Checkout as well darknet, which runs at really high fps on super cheap hardware
tobi_bsf|1 year ago
echelon_musk|1 year ago
It can be hard to find a pub with a pool table these days!
ghaff|1 year ago
nejsjsjsbsb|1 year ago
mkl|1 year ago
drewbitt|1 year ago
Suppafly|1 year ago
idoescompooters|1 year ago
https://thewirednomad.com is better suited because they are all non-hotels and have verified internet speeds.
Previously posted on HN: https://news.ycombinator.com/item?id=37176439
vergessenmir|1 year ago
ungreased0675|1 year ago
nomad86|1 year ago
a2800276|1 year ago
pknerd|1 year ago
nomad86|1 year ago
Besides, in this case, we would also have to upload 40 million photos to the cloud for Google to evaluate what’s on them.
YOLO is the best for such tasks; it works locally and is really fast.
unknown|1 year ago
[deleted]
camhart|1 year ago
nomad86|1 year ago
unknown|1 year ago
[deleted]
MaheshNat|1 year ago
mkl|1 year ago
lispforlife|1 year ago
[deleted]
KrustyTheDev|1 year ago
[deleted]
diimdeep|1 year ago