Pythonsdk- Chrysalis Cloud

Face Recognition Using Chrysalis Cloud Python SDK 101

haana -

We’re going to show how to do face recognition in the cloud using Chrysalis Cloud. We break it down for you in our video below, step-by-step, so you can easily follow along.

This demo shows all the various actions needed to build a face recognition system in Python. The steps include forming a dataset, feature detection and extraction, and finally the recognition part of the process. This example will also show you how simple it is to use Chrysalis Cloud to access and retrieve live video streamed for use in your AI, ML or CV applications. Additionally, using Chrysalis Cloud allows you to access your video without worrying about delays or frame drops.

Face recognition is a well-know and explored problem. The solutions are numerous and continuously changing. In the video we explore some of the techniques involved in face recognition using the Chrysalis Cloud Python SDK.

Demo Chrysalis Cloud Python SDK

 

 

 

 

 

 

In the video demonstration– *scroll to end of article– we use a laptop webcam.

 

First, Let’s Focus in on the Chrysalis Cloud Python SDK:Chrysalis Cloud Python SDK on the Console

Around the 10min mark, our engineer, hones in on the simple python SDK we have built. After creating the video display .py (with the proper file input packages), the simple tool, will allow you to pull the Chrysalis packages in real time to prove live stream or simply retrieve the latest image. We dive in on how to securely access the live stream, step by step.

 

And near the end we circle back to the exciting part, the actual face recognition. We have the video streaming to the Chrysalis Cloud from (in this case) our webcam. Next, access the video stream using Chrysalis Cloud SDK command.
The face recognition part consists of three operations.

  1. Detect the face
  2. Calculate the embeddings of the detected face
  3. Obtain the euclidean distance from the calculated embeddings and the embeddings from the dataset. Check if there’s a match. If so, and the match is with confidence value above a certain threshold, then label the face with the desired name.

WATCH NOW: 

 

To follow along pull up our GitHub example and Chrysalis Cloud Tutorials:

GitHub example:
https://github.com/chryscloud/face_recognition

Chrysalis Cloud Python SDK Tutorial:
https://chryscloud.com/documentation/chrysalis-consuming-video-streams-with-python/chrysalis-cloud-python-sdk-for-computer-vision-in-the-cloud/

More tutorial about Cloud SDK usage:
https://www.youtube.com/watch?v=bWCgTW2Ar5s&feature=emb_logo&ab_channel=ChrysalisCloud

Insight about CNN:
https://insightsimaging.springeropen.com/articles/10.1007/s13244-018-0639-9

OpenCV and Python example resources:
https://www.learnopencv.com/
https://medium.com/swlh/facial-recognition-a-visual-step-by-step-d679289bab11# face_recognition

Get involved and tag us in your projects or reach out for direction to our team at: hello@chryscloud.com

0 Comments

Leave a Reply

More great articles

Covid Mask Detection

Covid19 Mask Detector on Live Video Stream

TL;DR This post is an adaptation of an article written by Adrian Rosebrock titled COVID-19: Face Mask Detector with OpenCV,…

Read Story
Chrysalis Cloud Face Detection Chooch AI

Chrysalis Cloud & Chooch.ai, Perfectly Compatible

WATCH NOW TO LEARN Today, we’ll be showing you how to run facial recognition using the Chrysalis Cloud video streaming…

Read Story
EdgevsCloud-ChrysalisCloud

Where to Process Streaming Video: Edge or Cloud? An Age-old Discussion

Edge or cloud? Edge computing and Cloud computing have fundamentally different functionality. They are usually discussed as different approaches to…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.
Only great content, we don’t share your email with third parties.
Arrow-up