Category: Python

GeeksforGeeks Python Foundation Course – Learn Python in Hindi!

Python – it is not just an ordinary programming language but the doorway or basic prerequisite for getting into numerous tech domains including web development, machine learning, data science, and several others.   Though there’s no doubt that the alternatives of Python in each of these respective areas are available – but the dominance and […]

Continue Reading

Python Data Structures

Data Structures are a way of organizing so that is can be accessed more efficiently depending upon the situation. Data Structures are fundamentals of any programming language around which a program is built. Python helps o learn the fundamental of these data structures in a simpler way as compared to other programming languages. In this […]

Continue Reading

Top 10 Python Applications in Real World

We are living in a digital world that is completely driven by chunks of code. Every industry depends on software for its proper functioning be it healthcare, military, banking, research, and the list goes on. We have a huge list of programming languages that facilitate the software development process. One of these is Python which […]

Continue Reading

Integrating Django with Reactjs using Django REST Framework

In this article, we will learn the process of communicating between the Django Backend and React js frontend using the Django REST Framework. For the sake of a better understanding of the concept, we will be building a Simple Task Manager and go through the primary concepts for this type of integration between React js […]

Continue Reading

Top 10 Advance Python Concepts That You Must Know

Python is a high-level, object-oriented programming language that has recently been picked up by a lot of students as well as professionals due to its versatility, dynamic nature, robustness, and also because it is easy to learn. Not only this, it is now the second most loved and preferred language after JavaScript and can be […]

Continue Reading

Face and Hand Landmarks Detection using Python – Mediapipe, OpenCV

capture = cv2.VideoCapture(0)  previousTime = 0currentTime = 0  while capture.isOpened():        ret, frame = capture.read()          frame = cv2.resize(frame, (800, 600))          image = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)                  image.flags.writeable = False    results = holistic_model.process(image)    image.flags.writeable = True          image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)          mp_drawing.draw_landmarks(      image,      results.face_landmarks,      mp_holistic.FACE_CONNECTIONS,      mp_drawing.DrawingSpec(        color=(255,0,255),        thickness=1,        circle_radius=1      ),      mp_drawing.DrawingSpec(        color=(0,255,255),        thickness=1,        circle_radius=1      )    )          mp_drawing.draw_landmarks(      image,       results.right_hand_landmarks,       mp_holistic.HAND_CONNECTIONS    )          mp_drawing.draw_landmarks(      image,       results.left_hand_landmarks,       mp_holistic.HAND_CONNECTIONS    )              currentTime = time.time()    fps = 1 / (currentTime-previousTime)    previousTime = currentTime              cv2.putText(image, str(int(fps))+” FPS”, (10, 70), cv2.FONT_HERSHEY_COMPLEX, 1, (0,255,0), 2)          cv2.imshow(“Facial and Hand Landmarks”, image)          if cv2.waitKey(5) & 0xFF == ord(‘q’):        break  capture.release()cv2.destroyAllWindows()

Continue Reading

Role of KL-divergence in Variational Autoencoders

Variational AutoencodersVariational autoencoder was proposed in 2013 by Knigma and Welling at Google and Qualcomm. A variational autoencoder (VAE) provides a probabilistic manner for describing an observation in latent space. Thus, rather than building an encoder that outputs a single value to describe each latent state attribute, we’ll formulate our encoder to describe a probability […]

Continue Reading

Covid-19 Analysis and Visualization using Plotly Express

In this article, we will discuss Analyse Covid-19 data and will visualize it using Plotly Express in Python. This article deals with creating dozens of bar charts, line graphs, bubble charts, scatter plots. The graph that will be made in this project will be of excellent quality. Envisioning COVID-19 will primarily be using Plotly Express […]

Continue Reading

Customizing Object Level Permissions – Django REST Framework

In this article, we will discuss how to customize Object Level Permissions in Django REST Framework. To customize permission classes in Django REST Framework, we should inherit the rest_framework.permissions.BasePermission class and implement either or both of the following methods:.has_permission(self, request, view).has_object_permission(self, request, view, obj)If we look at our robot model mentioned in Browsable API in […]

Continue Reading

Build a Flask application to validate CAPTCHA

In this article, we are going a build a web application that can have a CAPTCHA. CAPTCHA is a tool you can use to differentiate between real users and automated users. CAPTCHAs are usually found on the login pages or on payment pages.What is CAPTCHA?Captcha is strategy used to ensure sites against spam. Objective is […]

Continue Reading