Extract sensor value from photo

Now we allow:

  1. Type sensor value as text and push it to bot
  2. Scan QR code from Smart Cube sensor and push extracted sensor value

Next option to be introduced — take a photo of sensor display (Air Purifier or PM2.5 sensor), send it to bot and store extracted sensor value from photo to blockchain.

Looks like ChatGPT's ocr.chat works perfect:

chatgpt-OCR-sensor-value

We just have to add ability to take a photo in our bot and do a quick integration with ocr.chat or Vision.

API reference for Vision: https://platform.openai.com/docs/guides/vision

Also ChatGPT Plus subscription should be paid.


UPD: consider Free OCR API https://ocr.space/ocrapi

Edited by Konstantin Narkhov