“Creation of the Hot Dog Recognizing Intelligence” by the author; original images by Aldebaran S, Jason Leung, and Anthony Espinosa via Unsplash

What would you say, if I told you there is an app on the market that can recognize hot dogs and not hot dogs in the pictures, in real-time?

We all stand on the shoulders of giants. I am no different.

If you’re reading this article, the chances are you are already familiar with the genius of Silicon Valley’s Jian-Yang. If you are not, however, or in case you happened to have forgotten about his arguably greatest creation- an app able to classify images as hot dogs and not hot dogs- here’s a little treat to refresh your memory:

Build a Google-lens-like app using a combination of CameraX and ML Kit on Android in no time

Images by NASA, Quino Al, Karl Groendal and Zane Lee via Upslash, edited by the author

In what follows, I will talk about implementing a Google-lens-like real-time text-in-image recognition on Android, using CameraX and ML Kit. Hopefully, by the end of it, you will have learned how to quickly put together something that resembles Google Lens and start to innovate (if you in fact do develop an app based on this tutorial, please share it in the comments! I promise I won’t steal your idea, create a start-up around it, and become a billionaire when Facebook buys it 2 years from now). Enough of the sweet talk, let’s get down to it.


Gathering the necessary dependencies…

Maciej Surmacz

A software engineer with an Android focus because he can’t afford an iPhone. https://www.linkedin.com/in/maciejsurmacz/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store