This website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker. Thank you for your support.
How to Read, Write, and Save Images with OpenCV  and Python

How to Read, Write, and Save Images with OpenCV and Python

Sept. 30 2021 Yacine Rouizi
OpenCV Image Processing

In this tutorial, I will show you how to read, display, and write images using OpenCV's built-in functions.


Read more ...
Control a Smart Device using Tuya API and Python

Control a Smart Device using Tuya API and Python

Sept. 23 2021 Yacine Rouizi
Tuya IoT Platform

In today's post, I will show you how to use Python and the internet of things to control a smart device. The internet of things is a system of interrelated sensors, software, and other technologies that can be connected to the internet ...


Read more ...
Image Classification with Python, TensorFlow and Deep Learning

Image Classification with Python, TensorFlow and Deep Learning

Sept. 15 2021 Yacine Rouizi
Keras and TensorFlow Deep Learning

In this tutorial, we will tackle the Fashion MNIST dataset to train a neural network that will classify images of clothing. The dataset contains 70,000 grayscale images of 28 × 28 pixels each in 10 categories.


Read more ...
How to Crop Images with OpenCV and Python

How to Crop Images with OpenCV and Python

Sept. 6 2021 Yacine Rouizi
OpenCV Image Processing

In OpenCV, images are simply Numpy arrays. So we can use Numpy array slicing to crop an image and remove the part we are not interested in.


Read more ...
Django Celery Result Backend

Django Celery Result Backend

Aug. 27 2021 Yacine Rouizi
Django Celery

Celery uses a result backend to keep track of the tasks’ states. In this tutorial, we are going to use the RPC (RabbitMQ/AMQP) result backend to store and retrieve the states of tasks.


Read more ...
Asynchronous Tasks in Django with Celery and RabbitMQ

Asynchronous Tasks in Django with Celery and RabbitMQ

Aug. 20 2021 Yacine Rouizi
Django Celery

Celery is a powerful asynchronous task queue based on distributed message passing that allows us to run time-consuming tasks in the background. Celery uses a message broker to communicate with workers. So, basically, Celery initiates a new task ...


Read more ...
How to Use Django's Generic Foreign Key

How to Use Django's Generic Foreign Key

Aug. 6 2021 Yacine Rouizi
Model Django

Django provide the contenttypes framework that allows us to create generic relationships between models. This can be useful when you want to implement, for example, a comment system where you can comment on posts, user profiles, images ...


Read more ...
Django Todo App with AJAX and jQuery

Django Todo App with AJAX and jQuery

July 27 2021 Yacine Rouizi
AJAX Django

In this tutorial, we are going to use jQuery and AJAX to send requests to a Django backend to add the CRUD (Create, Read, Update, Delete) operations asynchronously. For this, we are going to build a simple todo application.


Read more ...