Fork of Salesforce/blip-image-captioning-large for a image-to-text Inference endpoint.

Inspired by https://huggingface.co/sergeipetrov/blip_captioning

This repository implements a custom task for image-to-text for ๐Ÿค— Inference Endpoints to allow image capturing. The code for the customized pipeline is in the handler.py.

To use deploy this model an Inference Endpoint you have to select Custom as task to use the handler.py file.

expected Request payload

Image to be labeled as binary.

CURL

curl URL \
        -X POST \
        --data-binary @car.png \
        -H "Content-Type: image/png"

Python

requests.post(ENDPOINT_URL, headers={"Content-Type": "image/png"}, data=open("car.png", 'rb').read()).json()
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for pimcore/IEP__image-capturing-large

Finetuned
(7)
this model