Skip to content

vecna/ghostati

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status

Unit Test Coverage

ghòstati | Face Lab

Web AR laboratory for the development and real-time testing of anti-biometric facial recognition camouflage (CV Dazzle).

ghòstati

Overview

ghòstati is an experimental platform and diagnostic tool designed to counter facial recognition algorithms. By applying specific makeup patterns (inspired by the CV Dazzle concept), users can explore how computer vision models interpret facial landmarks and attempt to anonymize their digital footprint in real time.

The project features a fully modular, plugin-based architecture, allowing any developer to write custom AR makeup scripts ("Ghostyles") and test their efficiacy against recognition models directly in the browser via their webcam.

Features

  • Live Face Tracking: Real-time facial landmark detection directly in the browser utilizing face-api.js.
  • Modular Plugin System (Ghostyles): Load custom AR makeup effects dynamically. Plugins can be hosted locally or loaded via a remote URL. Included effects:
    • Graphic Liner, Smokey Eyes, Blush Lift, Lip Tint, Soft Contour, Stage Mask, Splash, etc.
  • Diagnostic Mode ("Scansione Trucco"): Test the effectiveness of your AR camouflage. The tool evaluates makeup opacity, captures the altered face, and computes matching likelihood against saved profiles to determine if the face recognition system is successfully spoofed.
  • Save & Compare: Save an initial baseline face and compare live webcam feeds to it to check if the face matching algorithm still recognizes you after applying the camouflage.
  • Privacy-First: All processing is done locally on the client interface without uploading biometric data to remote servers.

Getting Started

Since it's a static web application, there is no build step required.

  1. Clone the repository:
    git clone https://github.com/vecna/antagonistrucco.git
    cd antagonistrucco
  2. Serve the directory with a local HTTP server:
    npx http-server . 
    # or
    python3 -m http.server 8000
  3. Open a modern browser and navigate to http://localhost:8000/ghostati-face-api.html.

Writing a Ghostyle (Plugin)

You can create your own modular AR makeup effects called Ghostyles. A "Ghostyle" is a simple JavaScript module that exports a draw function hooking into the face tracking engine.

To develop a new Ghostyle:

  1. Copy the ./ghostyles/00-template.js.
  2. Implement your custom canvas drawing logic based on the provided facial landmarks.
  3. Test it live by pasting your local/remote URL into the "Carica Ghostyle Remoto" diagnostic box!

See the ghostati-docs.html page for more advanced documentation on Ghostyle development.

Context

Presented as part of the NINA Festival, this tool aims to raise awareness regarding biometric surveillance and facial recognition technologies.


For the Italian version, please see README.it.md.

Last commit: f0c279c – Add comprehensive testing framework, unit and e2e tests with detailed comments

Recent changes

  • f0c279c Add comprehensive testing framework, unit and e2e tests with detailed comments
  • c2abf8c piccola differenza che comunque verrà sovrascritta presto dal restyling
  • b9da329 disclaimer iniziale migliorato
  • d5e5766 Merge pull request #4 from edne/new-features
  • 0485fff Font overlay

About

Ghòstati! diventa un fantasma agli occhi del riconoscimento facciale

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors