Giter Club home page Giter Club logo

algorithmplatform's Introduction

AlgorithmPlatform


优亿智能算法平台,包括了各类常用的算法模块,比如图像识别、本文分类、推荐系统等,为各类常用的场景提供算法模型。

api接口说明


接口地址 http://192.168.0.16:32776/api
请求方式 HTTP POST

POST 二进制图片文件,图片格式为png', 'jpg', 'jped最大16m

POST 格式为

{
    "file": "<censored...binary...data>"
  }

返回是json格式,包含以下字段

图片文字描述 loss值

响应

[
    ['a cat is sitting on a bed with a stuffed animal .', 2.983238269870574e-06],
    ['a cat is sitting on a couch with a stuffed animal .', 2.31435927877478e-06],
    ['a cat is sitting on a chair with a stuffed animal .', 2.213130359373113e-06]

 ]

示例代码(python)

import requests
url='http://192.168.0.16:32776/api'
files={'file':open('/home/kenwood/图片/mao.jpg','rb')}#上传图片
r=requests.post(url,files=files)
print (r.json())

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.