3 ms·
I wonder how much of this is just to get a talking point about AI in the article (and I guess it works - we're talking about it). If you literally need to just
by Nextgrid 2y ago
I wonder how much of this is just to get a talking point about AI in the article (and I guess it works - we're talking about it).
If you literally need to just detect whether it's at the firmware splash screen or not, simply checking if enough pixels on the image are white would detect that splash screen just fine.
- ca508 2y agoauthor here; Claude use here was pure laziness - and personally, I found it quite funny that it worked. We could sample pixels and try and build that detection, but $<1c per run to write a prompt and get some json was too hilarious not to ship to prod. Maybe it needs to have more complex logic/detection and we need something more complex down the road. But it's like easy and cheap OCR for now. what was kinda funnier was that I tried to get Claude to generate its own Go client code to upload the image and run the prompt; it totally totally hallucinated on that part :).