Skip to content

Docker container which runs a slackbot which replies to images of your handwritten notes with the result of Microsoft handwriting detection

License

Notifications You must be signed in to change notification settings

eifinger/handwriting-to-text-slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

handwriting-to-text-slack-bot

A slack bot running in a docker container which recognizes handwritten text for you.

Setup

  1. Create a Slack Bot and get the token for it as described here
  2. Create a Service Key for Azure Cognitive Services here
  3. Start this container
sudo docker run \
-e SLACK_BOT_TOKEN=<YOUR_TOKEN> \
-e SLACK_BOT_NAME=<YOUR_BOT_NAME> \
-e AZURE_COGNITIVE_SERVICES_TOKEN=<YOUR_TOKEN> \
-e AZURE_COGNITIVE_SERVICES_URL=<YOUR_SERVICE_URL>
eifinger/handwriting-to-text-slack-bot:latest

Example:

sudo docker run \
-e SLACK_BOT_TOKEN=xoxb-725471920163-473829104631-2afTJdhwoSMWJSnfuwkjaf2a \
-e SLACK_BOT_NAME=handwriting-bot \
-e AZURE_COGNITIVE_SERVICES_TOKEN=31987d87237e8129f3891a98397ff997 \
-e AZURE_COGNITIVE_SERVICES_URL=https://westus.api.cognitive.microsoft.com/vision/v1.0/RecognizeText
eifinger/handwriting-to-text-slack-bot:latest

Usage

  1. Send a file to your bot or in a channel where you added your bot. Be sure to attach a name to the file. A message for the upload is no longer needed

  1. The bot answers with two files. One is a text file containing the identified text entities and the other a visual representation of where he found it

Links

About

Docker container which runs a slackbot which replies to images of your handwritten notes with the result of Microsoft handwriting detection

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published