# alex-damian/pulse

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/alex-damian-pulse).**

8,015 stars · 1,481 forks · Python

## Links

- GitHub: https://github.com/alex-damian/pulse
- awesome-repositories: https://awesome-repositories.com/repository/alex-damian-pulse.md

## Description

Pulse is a face image super-resolution tool and self-supervised image enhancer. It functions as a generative model image upsampler and latent space optimization tool designed to increase photo resolution and recover image details.

The system differentiates itself by using latent space exploration and spherical constraints to find high-fidelity matches within a generative model. It employs geodesic distance measurement and spherical latent space optimization to regularize representations and maintain parameter radii during the recovery process.

The project covers facial image restoration through a pipeline of automated face alignment and image upsampling. This includes detecting facial landmarks to standardize orientation and using reconstruction loss calculations to guide the restoration of low-resolution images.

## Tags

### Artificial Intelligence & ML

- [Image Resolution Reconstruction](https://awesome-repositories.com/f/artificial-intelligence-ml/image-super-resolution-models/high-resolution-synthesis/image-resolution-reconstruction.md) — Increases the resolution of low-quality photos by reconstructing missing facial details using generative models.
- [Face Alignment Tools](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/computer-vision/facial-analysis-systems/face-alignment-tools.md) — Provides utilities to detect facial landmarks and format face patches for high-fidelity upscaling.
- [Image-to-Latent Projections](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-ai-models/latent-space-generative-models/latent-space-projections/image-to-latent-projections.md) — Maps existing low-resolution images back into the generative model's latent space to find high-resolution matches.
- [Latent Search](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-ai-models/latent-space-generative-models/latent-space-projections/latent-space-encoders/latent-space-manipulations/latent-search.md) — Searches the generative model's internal representation to find a high-resolution match for a low-resolution input.
- [Latent Vector Optimizers](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-ai-models/latent-space-generative-models/latent-space-projections/latent-space-encoders/latent-space-manipulations/latent-vector-optimizers.md) — Optimizes latent vectors using spherical constraints and reconstruction loss to recover missing image details.
- [Latent-Based Upsamplers](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-image-models/latent-based-upsamplers.md) — Increases photo resolution by exploring the latent space of generative models for high-fidelity matches.
- [Image Super Resolution Models](https://awesome-repositories.com/f/artificial-intelligence-ml/image-super-resolution-models.md) — Functions as a specialized system for increasing the resolution and recovering fine details of facial images.
- [Real Image Inversion](https://awesome-repositories.com/f/artificial-intelligence-ml/image-super-resolution-models/generative-adversarial-image-synthesis/real-image-inversion.md) — Implements techniques to map real facial images back to GAN latent codes for high-resolution reconstruction.
- [Geodesic Distance Regularizations](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-ai-models/latent-space-generative-models/latent-space-projections/latent-space-encoders/latent-space-manipulations/geodesic-distance-regularizations.md) — Implements geodesic distance measurement to regularize latent representations during the image recovery process. ([source](https://github.com/alex-damian/pulse/blob/master/loss.py))
- [Spherical Constraints](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-ai-models/latent-space-generative-models/latent-space-projections/latent-space-encoders/latent-space-manipulations/spherical-constraints.md) — Uses spherical constraints to maintain parameter radii while optimizing latent vectors for high-fidelity image reconstruction. ([source](https://github.com/alex-damian/pulse/blob/master/SphericalOptimizer.py))
- [Self-Supervised Reconstruction](https://awesome-repositories.com/f/artificial-intelligence-ml/image-region-reconstruction/self-supervised-reconstruction.md) — Improves image quality without labeled training pairs by using the generative model's architecture as a regularization prior.
- [Pixel-Wise Reconstruction Losses](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/architectures/neural-network-components/loss-functions/perceptual-loss/content-loss-calculators/focal-loss-calculators/detection-loss-calculators/smooth-l1-loss-calculators/regression-loss-functions/pixel-wise-reconstruction-losses.md) — Calculates the pixel-wise difference between generated and reference images to guide the upsampling process.

### Part of an Awesome List

- [Face Alignment](https://awesome-repositories.com/f/awesome-lists/ai/face-alignment.md) — Detects facial landmarks and aligns image features to ensure consistent orientation for the generative model.

### Graphics & Multimedia

- [Facial Restoration](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/media-processing-workflows/generative-visual-engines/generative-image-enhancements/facial-restoration.md) — Reconstructs high-fidelity facial details and removes artifacts using specialized alignment and generative synthesis.

### Scientific & Mathematical Computing

- [Spherical Distance Calculators](https://awesome-repositories.com/f/scientific-mathematical-computing/distance-metrics/spherical-distance-calculators.md) — Uses spherical distance calculations to regularize and constrain latent representations during the optimization process.
- [Spherical Constraints](https://awesome-repositories.com/f/scientific-mathematical-computing/optimization-constraint-enforcement/spherical-constraints.md) — Restricts parameter updates to a spherical surface to maintain the original radius of latent vectors.
