Skip to content

Bot to lookup licence plates in images posted in a Slack channel

Notifications You must be signed in to change notification settings

jschulenklopper/car_lookup_slackbot

 
 

Repository files navigation

Slack bot: Car Lookup

Build Status

Slackbot to scan images for licence plates and report the known car details:

slack-bot-car-lookup

Hosting

  • Create an app in api.slack.com
    • configure /kenteken and /my_car
    • configure event-api for
  • Host as a docker container in the cloud, or use nGrok while testing.
    • Pass environment variables from Slack and/or opendata.rdw.nl
      • ACTIVE_TOKEN OAuth Bot User OAuth Access Token (xoxb-***)
        • CLIENT_ID + CLIENT_SECRET and perform OAuth by '(Re)install app' in Slack API.
      • RWD_APPTOKEN (optional) the opendata.rdw.nl api-token

Components:

Testing locally

Only if Flask is running in debug mode:

TODO's:

  • More secure incoming connection
  • Use a single command /kenteken and not also /my_car and use an english name, I like: /car simple and short!
  • Make the bot Workspace independend: Its now for a single Workspace (Xebia) using one fileshare with a single csv-file

About

Bot to lookup licence plates in images posted in a Slack channel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.8%
  • Shell 3.5%
  • Dockerfile 2.0%
  • HTML 1.7%