Skip to content

A simple demonstration of offloading image processing operation to an SQL server

License

Notifications You must be signed in to change notification settings

rajeshpachaikani/Face-Recognition-With-Postgresql

Repository files navigation

Face-Recognition-With-Postgresql

A demonstration of offloading image processing operations to an SQL server.

We are using Postgresql to store and process the image processing data such as Face Embeddings. To run this you must setup a Postgresql sever in your local machine or have network access to any machine with Postgresql.

I have used LFW(labeled faces in the wild) dataset from http://vis-www.cs.umass.edu/lfw/ for creating face embeddings database. Make sure to download the dataset and extract it in the same directory as this file.

Setup

  1. Install Postgresql
    • Run the following command to install Postgresql using docker-compose
      docker-compose up -d
      
  2. Run the createSQLfunction.py script to create the SQL functions and table.
  3. Run FaceEmbeeding.py to create the database and populate it with the data.
  4. Use FaceRecognitionFunctions.py with your own images to get face embeddings from the database.

About

A simple demonstration of offloading image processing operation to an SQL server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages