Exemple #1
0
def run():
    channel = grpc.insecure_channel('192.168.0.35:50051')
    stub = imageTest_pb2_grpc.ImageTestStub(channel)

    for response in stub.Analyse(generateRequests()):
        print(str(response.reply))
def run():
    channel = grpc.insecure_channel('localhost:50051')
    stub = imageTest_pb2_grpc.ImageTestStub(channel)
    #temp = cv2.imread('/home/nirvan/img_one.png')
    for response in stub.Analyse(generateRequests()):
        print(str(response.reply))
Exemple #3
0
def run():
    channel = grpc.insecure_channel('localhost:50051')
    stub = imageTest_pb2_grpc.ImageTestStub(channel)
    response = stub.Analyse(generateRequests())