Go to file
2016-08-01 19:54:10 +02:00
bash Fixed script 2016-08-01 19:54:10 +02:00
.gitignore Fixed rating 2016-04-28 22:21:33 +02:00
LICENSE Initial commit 2016-04-15 14:12:20 +02:00
README.md Update README.md 2016-05-02 23:55:48 +02:00

captionbot-clients

This repo contains Captionbot.ai API clients in various programming languages.

Telegram bot client

The telegram bot client was created by @topkecleon, Juan Potato (@awkward_potato), Lorenzo Santina (BigNerd95) and Daniil Gentili and is public domain.
It makes use of JSON.sh (http://github.com/dominictarr/./JSON.sh), which is MIT-Apache licensed,
of the bash client, which is licensed under the terms of GPLv3,
and of tmux, which is BSD-licensed.

To run it open https://telegram.me/caption_ai_bot

Bash client

The bash client was created by Daniil Gentili and is licensed under the terms of GPLv3 and makes use of JSON.sh (http://github.com/dominictarr/./JSON.sh), which is MIT-Apache licensed.
To run the bash client execute the following commands:

git clone https://github.com/danog/captionbot-clients/ # To clone the repo
cd captionbot-clients
./captionbot.sh

This will output the following text:

captionbot.ai api client.
This script will try to recognize the content of any image you give him using Microsoft's captionbot.ai website api.

Usage: ./captionbot.sh file
or
Usage: ./captionbot.sh url

Add the norate parameter to avoid the rating prompt:
Usage: ./captionbot.sh url norate

Add the script parameter to avoid the rating prompt and delete all output apart from the image description:
Usage: ./captionbot.sh url script

Here follow the instructions :)

Daniil Gentili