Git Product home page Git Product logo

tm2mqtt's Introduction

TM2MQTT

2022/9/14

最新版本可以直接點選yisrealhung.github.io,除了原先的Teachable Machine 功能,還新增了對Lobe 的支援,並在近期增加了WebUSB的功能,適合連接像是Arduino UNO、Raspberry Pi Pico...等,沒有Wi-Fi功能的開發板,可以透過Serial Port 接收推論結果。

介紹

結合Teachable Machine 與MQTT 功能,將訓練好的模型連結與MQTT 相關資訊輸入後,可將影像推論結果轉換成訊息並發佈至MQTT Topic。

支援

  • Image Project
  • Pose Project

使用步驟

  1. 使用Teachable Machine 訓練一個model,並按下Export Model。

  1. 於Tensorflow.js 頁面按下Upload my model 並等待連結出現後,按下Copy 複製model 的連結。

  1. 將整個專案Clone 到自己的電腦,依照自己在Teachable Machine 訓練的專案類型,選擇image.html 或是pose.html。

  1. 打開網頁後填入model 連結,與MQTT 相關資訊,網頁內MQTT Server 預設是連接HiveMQ,使用HiveMQ 的使用者不用更改欄位。

  1. 設定完畢後按下Webcam 按鈕開啟攝影機,然後按下Connect 連接MQTT,即可看到影像與推論結果,還有目前Topic 發送狀況。

推論結果達70%以上才會發送訊息至Topic,並且不會一直發送。

tm2mqtt's People

Contributors

yisrealhung avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.