ML algorithm classifies the object(here Teddy 🧸)

In this blog, we can see how to do multi-class image classification in Teachable Machine and its Real Time detection with OpenCV Python.

At first, Go to Teachable Machine and Choose a new Image Project. Add image samples in the various classes as required and Choose Train Model. Now, Use the Preview feature to verify that your model is accurate. Choose Export the model → Select Tensorflow. Check Model conversion type as Keras and download your model into your local computer. A zip file named converted_keras is downloaded. Unzip the file contents into a working directory.

The working directory now…

In this blog, we can see how to dockerize a simple python flask app and deploy it onto Heroku. This blog assumes that you have already installed Docker and Heroku in your PC. If that’s not the case, you can easily install it from here and here.

At First, create a new directory my-dir and move inside the directory.

Create a python file named with the following content in it

from flask import Flask, render_template
import os
app = Flask(__name__)@app.route('/')
def fun():
return render_template('index.html')
if __name__ == '__main__':
port = int(os.environ.get('PORT', 5000))'', port=port, debug=True)

Create a new…

Hari Krishnan U

Machine Learning Enthusiast || Competitive Coder

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store