Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

True Mirror 🪞

A lightweight, efficient, and zero-lag Android application that allows you to see yourself as others see you.

🌟 The Problem

Most front-facing cameras show you a "mirrored" image — the same thing you see in a bathroom mirror. While we are used to this, it is not how the world sees us. This "True Mirror" app flips the feed horizontally to show you your actual face in real-time.

✨ Features

  • True Mirror Mode: See the real you with zero rendering lag.
  • Normal Selfie Toggle: Switch back to mirrored view with a smooth animation.
  • Instant Capture: Save the current view directly to your photo gallery.
  • Minimalist Design: Full-screen immersive preview with clean, transparent overlays.
  • Lightweight: Built using modern Android CameraX for peak performance.

🚀 The Physics

The "True Mirror" effect uses a horizontal scale transformation (scaleX = -1f). Because this is applied at the GPU compositing level via a transformation matrix, there is no per-pixel processing cost, ensuring the feed remains perfectly fluid.

🛠 Tech Stack

  • Language: Kotlin
  • Camera API: AndroidX CameraX (PreviewView)
  • UI: Material 3 / Android XML
  • Minimum SDK: API 24 (Android 7.0)

📦 How to Build

  1. Clone the repository.
  2. Open in Android Studio Giraffe (or newer).
  3. Connect your Android device.
  4. Click Run.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A lightweight, zero-lag Android camera app that shows an unmirrored feed (True Mirror) so you see yourself exactly as others see you.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages