Comparing apples and oranges with AI

Making an image classifier using Jina AI’s CLIP-as-service

Scott Martens
Jina AI
Aug 18, 2022

--

Pommes et Oranges: Paul Cézanne, ca 1899
Pommes et Oranges: Paul Cézanne, ca 1899

“Comparing apples and oranges” is an idiom for comparing two things that are so different that they are not comparable, but are they really very different? Both are fruits, typically similar in sizes, both are widely eaten and generally enjoyed. Truly incomparable things would be, for example, apples and jet liners, or oranges and the number twelve.

It’s not trivially easy for a computer to tell the difference between pictures of apples and oranges, and even a basic AI task like this requires some sophisticated programming and machine learning. But with Jina AI’s CLIP-as-Service, all the programming and training is already done! This notebook will show you how to build a basic classifier with nothing but a bit of Python and your own natural language skills.

Open in Colab

--

--