Lurker News

Comments (118) 35 threads

Earlier comments
josefresco1 reply#
I typed "green" into the search box of Google Photos and it seemed to work. Does anyone have more details on this tech?
milankragujevic2 replies#
Object recognition using machine learning. Google scans all photos in Photos by default, but it can be turned off.

Try searching "credit card, [city], september 12th 2019", or "yellow cat" or "screenshot".
It can't transcribe text though.

hantusk#
If you click the Lens-button in the mobile app, you can select and copy the text just fine
kburman2 replies#
Thanks for taking the initiative.

I would love to see more developers follow this approach.

ncr1001 reply#
Agreed: Cool app and certainly heroic and worth implementing.

As an alternative, Google Photos from the App Store also support OCR for still-images on its web version. I don't have an idevice on me to know if it's also OCR in-app. Give GP a run for its money, Screenshot Hero!

asadlionpk#
Thanks! Yes Google Photos is awesome and does way much more (like searching by things in photo). I just wanted an on-device solution without having to upload anything to Google servers.
briandear3 replies#
I wouldn’t. Swift is far more performant than using these React-type pseudo-native systems and the developer mentioned that he “fell back” to React because of an apparent lack of SwiftUI documentation — so why not use this project as a chance to actually learn it and create some documentation? He wrote up about how he built the app, adding yet another article to the boring canon of “I just want to use JavaScript and React and call myself an iOS developer.”

And he said that he used React just for the views — SwiftUI isn’t that hard at all and there are exact tutorials about listing things. Ray Wenderlich for example, the WWDC videos — there is high quality information out there but it seems like Swift and SwiftUI wasn’t actually a real consideration.
To be clear, I am not criticizing the app, what I am criticizing is the parent comment hoping more developers follow that approach. I happen to think that approach is lazy and aspires to the lowest common device denominator rather than building apps that are platform specific and optimized for each.

hombre_fatal#
> so why not use this project as a chance to actually learn it and create some documentation

Sometimes you just want to get something done rather than do free work for one of the richest corporations in the world.
The latter should be enough fulfillment for anyone, but sometimes you're just too greedy!

rhodysurf#
I think that's unnecessarily harsh. RN is powerful and the dev still uses Native modules and views. The performance was probably good enough for this concept and he made a cool app with it.
asadlionpk#
This project was supposed to be that, a chance to learn SwiftUI. I didn't want to reverse engineer their API + document it. Frankly, I didn't have that kind of free time :)

It helped that React Native performed great for this use case.

ElFitz1 reply#
Oh. This is great. Just tried it out a couple times on my 439 screenshots, and it works. I love it.

I wonder how well it'll scale to 10s of thousands of screenshots (especially the search).
Still, I'm wondering wether or not I should keep Notion around (only used it for web-clipping). Especially since Notion still can't search within pages and iOS now can do full-page screenshots.
Edit: except that on iOS, Safari's full-page screenshots are PDFs. Darn.

asadlionpk#
I have 6k photos on my phone and this works just fine. The search speed is mostly the same.
ronjouch#
Scanner Pro, by Readdle, also does on-device OCR for documents you scan (along with many other things, including deformation/perspective correction and PDF export).

Not affiliated in any way, just a satisfied user. https://readdle.com/scannerpro

Load more comments