资源算法densepose-api

densepose-api

2019-12-31 | |  48 |   0 |   0

DensePose API Docker

GPU powered Docker API that recieves an image and returns the DensePose (old Detectron version) UVmask:

Input

Output

Dependencies

Usage

  1. From the docker folder run: docker-compose up -d

After building the Docker container (it can take a while), the API will start.

You can check the status of the container with: docker ps -a

You can also see what's going on inside the container with docker logs densepose-api -f

  1. On the main folder run: python send_files.py

If it's the first time you send an image to the API it can take a while as it will download the DensePose model (607MB)

This will send demo_im.jpg to the API using the Python requests package.

Feel free to modify the script and add it to your pipeline

Tested on Ubuntu 18.04 with a GTX 1060 GPU (drivers 410.104)

Advantages

  • You don't have to install Caffe

  • You don't have to install CUDA

  • Very easy to integrate in any pipeline, only a HTTP request needed.

  • The API will be isolated from your code. No dependency errors

  • Did I mention that you don't need to install Caffe?


上一篇:densepose_setup

下一篇:densepose-caffe2-compile-error

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...