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
app.py with the following content in it
from flask import Flask, render_template
import osapp = Flask(__name__)@app.route('/')
return render_template('index.html')if __name__ == '__main__':
port = int(os.environ.get('PORT', 5000))
app.run(host='0.0.0.0', port=port, debug=True)
Create a new…
Machine Learning Enthusiast || Competitive Coder