Skip to content

Get Related Web Entities:

Algorithm Name: find_web_entities

This algorithm is for suggesting other online resources that are similar to the input image.

Input: an image file

Output: a dictionary of features

import Aiii
c = Aiii.Client("YOUR_API_KEY")

algo = c.algo('algo://adamleo/find_web_entities')
with open("LOCAL_PATH_TO_IMAGE", "rb") as img:
    response = algo.pipe(img.read())

Or use local file path directly:

import Aiii
c = Aiii.Client("YOUR_API_KEY")

algo = c.algo('algo://adamleo/find_web_entities')
response = algo.pipe("LOCAL_PATH_TO_IMAGE")

For cloud storage users, please specify the file path in the cloud:

import Aiii
c = Aiii.Client("YOUR_API_KEY")

algo = c.algo('algo://adamleo/find_web_entities')
response = algo.pipe("data://CLOUD_PATH_TO_IMAGE")