r/linuxapps • • 1d ago

I built PopCam: an open-source floating always-on-top webcam overlay for GNOME Wayland with Center Stage face tracking, AI background blur & a Libadwaita Camera Studio

Hey everyone! I wanted a lightweight floating always-on-top webcam overlay on GNOME Wayland (similar to macOS floating cam tools) for demos, recordings, and calls with real Center Stage face tracking, so I built PopCam (MIT-licensed).

What it does

  • True Always-on-Top on GNOME Wayland: Uses a native GTK4 + Libadwaita app paired with a lightweight GNOME Shell extension (46–50) via D-Bus to pin the camera above all windows and across all workspaces (make_above + stick), with an "Overlay Any Window" toggle.
  • Center Stage Face Tracking: Real-time face detection using OpenCV YuNet ONNX (Haar fallback), EMA smoothing, dead-zone anti-jitter, and 4 face zoom presets (Wide, Normal, Close, Very Close).
  • Libadwaita Camera Studio: Live color presets (Natural, Studio, Warm, Cool, Vivid, B&W) + brightness, contrast, saturation, temperature, exposure (gamma), and sharpness sliders.
  • Hardware Autofocus & Manual Focus: Direct Linux V4L2 ioctl controls (no external CLI needed).
  • AI Background Blur: Real-time portrait segmentation with PP-HumanSeg ONNX (Subtle, Medium, Intense).
  • Shapes & Styling: Circular, Square (rounded), or 16:9 Rectangular with customizable border color/width, drop shadow, scroll-to-resize, and drag-to-move.
  • PipeWire-first: Shares the camera cleanly with Meet/OBS/Zoom and pauses capture automatically when hidden.
  • i18n: Auto-detects system language with live switching between English, Português (BR), Español, and 简体中文.

Install

https://github.com/Peterson047/popcam

curl -fsSL https://raw.githubusercontent.com/Peterson047/popcam/main/scripts/install.sh | bash
0 Upvotes

11 comments sorted by

1

u/CowNo3 1d ago

That's not a bad idea but did you get a real usage of this ? Cause in general, on teams, what's app ect.. you can share your cam and your screen at the same time !

2

u/falken047 1d ago

I make videos for YouTube and courses. This might be useful for anyone looking to get started, since it's more work in OBS.

1

u/CowNo3 1d ago

I don't mean to critic your project, but you can't do this in OBS with a layer mask and your webcam instead?

1

u/falken047 1d ago

I can and already do this, but OBS always has some problem with not recognizing the camera. And the main highlight here is the automatic face detection. I already had this app on Mac and ported it to Linux.

0

u/mistahspecs 1d ago

Posting vibecoded trash is one thing. Telling people to curl vibecoded trash to bash should be a bannable offense.

For any less technical people, do not use their installer command ffs

2

u/falken047 1d ago

2026 and you're all criticizing like Neanderthals hahaha. Look at the code, it's open source.

1

u/CowNo3 1d ago

I agree, you can critic but do it with respect, don't listen to them

1

u/mistahspecs 1d ago

I like my computer to not be compromised

0

u/Sweaty-Freedom-4034 1d ago

Bannable?

From the sub, or earth?

0

u/AnArmoredPony 1d ago

back to the country of origin

1

u/AnArmoredPony 1d ago

the face of vibecoding