Skip to main content

BD Scan Face

Face recognition and access control database system with Prisma ORM and PostgreSQL backend

Overview

BD Scan Face is a comprehensive database system designed for face recognition and access control applications. Built on PostgreSQL with Prisma ORM, it provides a robust foundation for managing users, facial encodings, devices, and access logs with high confidence scoring.

Key Features

Face Encoding Storage

Store and manage facial recognition encodings with associated user profiles

Access Control

Track access attempts with confidence scores and device-specific logging

Multi-Device Support

Register and manage multiple access control devices with location tracking

User Management

Comprehensive user profiles with role-based access and status tracking

Database Architecture

The system is built around five core models:
  • UserType - Role and permission management for different user categories
  • User - User profiles with identification, contact info, and access codes
  • Face - Facial recognition encodings linked to user accounts
  • Device - Access control hardware with IP addresses and locations
  • AccessLog - Detailed records of all access attempts with timestamps and confidence levels

Use Cases

BD Scan Face is ideal for organizations requiring secure, trackable access control systems with facial recognition capabilities.

Common Applications

  • Corporate Security - Control building access with facial recognition
  • Time Tracking - Log employee attendance via face scan devices
  • Multi-Location Management - Monitor access across different office locations
  • Audit Compliance - Maintain detailed access logs with confidence metrics

Technology Stack

  • Database: PostgreSQL 15
  • ORM: Prisma Client
  • Type Safety: TypeScript with strict mode
  • Deployment: Docker Compose ready

Getting Started

Quick Start

Get up and running in minutes

Installation

Set up your development environment

Database Schema

Explore the data model

Next Steps

1

Set Up Your Environment

Follow the installation guide to configure PostgreSQL and Node.js
2

Run Migrations

Apply database migrations to create the schema
3

Generate Prisma Client

Generate the type-safe database client for your application
4

Start Building

Use the Prisma Client to interact with your face recognition database
Check out the API Reference to explore all available models and their relationships.

Build docs developers (and LLMs) love