Search for an Image

You can search for images in a Roboflow dataset using semantic search, tags, and other filters via the Python SDK.

import roboflow

rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
project = rf.workspace().project("your-project-id")

results = project.search(query="dog")
print(results)

You can also use more advanced search queries combining semantic search, similarity search, tag filters, and metadata filters. See the Asset Library documentation for more information about search capabilities.