Ejemplo n.º 1
0
 def __init__(self, jfp):
     self.clarifai = ClarifaiCustomModel(app_id, app_secret)
     self.jdata = getAllJSONData()
Ejemplo n.º 2
0
from Client import Client
from utils import getAllJSONData, getTestData
from pprint import pprint

testurls = []

jdata = getAllJSONData()

client = Client()

for cname, urls, latitude, longitude in getTestData():
    print(cname)
    for url in urls:
        pprint(client.processImage(latitude, longitude, url, 0, 0))
    print("")