When we try to create profiles for our users, we need to upload the images. There are also many other scenarios where we need to add image to our data model. We need to upload the image to our upload folders and then we have to serve those images on the website whenever the views […]
Category: Python
Django Bootstrap alert Closeable
In this post we are going to create a new base.html file which will handle the bootstrap and the most important django messages to display in alert div. We send error or success messages from the backend code using standard messages api and in the front end we display that messages using the bootstrap alert […]
How to upload file in Flask Python
To upload file in flask python is very important. Even if we are trying to upload the profile image with even very basic profile management task with flask. Or we are trying to create an e-commerce website with flask python and need to upload product images. We always need to implement file uploading method if […]
In this tutorial we are going to learn the usage of findcontours and drawcontours functions in OpenCV Python. We will create code for doing this in real time using Webcam. This code will help you in further image processing and computer vision projects where finding contours or Objects be the first task before doing any […]
Getting Started with Flask Python
Flask is a micro-framework in Python for developing web applications. Flask supports jinja2 template engine. We will use Flask framework for developing our mini (sometimes major) IoT based Applications in Raspberry PI. Because of it’s REST like request handling system it become very easy to develop APIs and/or web clients/server like applications. Flask is very […]
Speech Recognition is always a difficult and interesting task to do for a lot of beginners. In this post, we are going to describe an easy way to do this tuff task using PocketSphinx. Also, there are more options available in the package other than CMU Sphinx (works offline).
Handling Json Strings in Python
In today’s post, we are going to explain how to handle Jason Strings in Python. There is JSON module in python which is used for JSON string handling. Jason is very common in RESTfull APIs. JSON is the abbreviation of JavaScript Object Notation. Here is Tutorial about Python Dictionaries. We use Dictionary data structure for handling […]