地址:https://github.com/mazzzystar/Queryable
The open-source code of Queryable, an iOS app, leverages the OpenAI's?CLIP?model to conduct offline searches in the 'Photos' album. Unlike the category-based search model built into the iOS Photos app, Queryable allows you to use natural language statements, such as?a brown dog sitting on a bench
, to search your album. Since it's offline, your album privacy won't be compromised by any company, including Apple or Google.
The process is as follows:
For more details, please refer to my blog:?Run CLIP on iPhone to Search Photos.
Download the?ImageEncoder_float32.mlmodelc
?and?TextEncoder_float32.mlmodelc
?from?Google Drive. Clone this repo, put the downloaded models below?CoreMLModels/
?path and run Xcode, it should work.
?