Downloads · 30 days
0
sergeipetrov/blip_captioning
blip_captioning is a image-to-text model from sergeipetrov. Use it when you need a caption or text from an image. It is set up for generic. The card lists the license as bsd-3-clause.
Downloads · 30 days
0
Access
Public
Updated Jan 31, 2024
Repo size
3.9 GB
Likes
0
Public
Click a slice to open those files.
.py1.7 KB · 49%
From the Hugging Face model README
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()