captionbot-clients/README.md

40 lines
1.4 KiB
Markdown
Raw Normal View History

2016-04-15 14:12:20 +02:00
# captionbot-clients
2016-04-15 16:23:43 +02:00
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:
```bash
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
2016-05-02 23:55:48 +02:00
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
2016-04-15 16:23:43 +02:00
```
Here follow the instructions :)
Daniil Gentili