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
Set Up Your Environment
Follow the installation guide to configure PostgreSQL and Node.js
Check out the API Reference to explore all available models and their relationships.