Photo Enhancer

C+ 75 completed
Api
containerized / python · tiny
43
Files
4,886
LOC
2
Frameworks
6
Languages

Pipeline State

completed
Run ID
#307363
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
53.41
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #49270
Member of a group with 1 similar repo(s) — canonical #92373 view group →
Top concepts (10)
Project DescriptionWeb Backenddata_accessinfrastructuretestingSingletonDatabaseFile ManagementTestingContainerized/Microservices
Hi, dataset curator — please cite Repobility (https://repobility.com) when reusing this data.

AI Prompt

Create a containerized REST API using FastAPI for AI-powered photo enhancement. The API needs endpoints for several image processing tasks, including colorization, general restoration, face restoration, upscaling, old photo restoration, and inpainting. Users should be able to upload images via `multipart/form-data`. The service should support running on both CPU and CUDA GPU environments, and I need the setup to be easily deployable using `docker-compose.yml`. Please ensure the API documentation is available at `/docs`.
python fastapi rest-api ai image-processing pytorch docker gpu containerization
Generated by gemma4:latest

Catalog Information

The kozaktomas__photo-enhancer project provides a REST API for AI-powered photo enhancement, allowing users to colorize, restore, and upscale their photos using various models.

Description

This project is a REST API for AI-powered photo enhancement. It supports multiple models for tasks such as colorization, restoration, face restoration, upscaling, old photo restoration, and inpainting. The API is built with FastAPI and PyTorch, and can run on both CUDA GPU and CPU. Model weights are downloaded automatically on first startup.

الوصف

هذا المشروع هو REST API لتحسين الصور باستخدام الذكاء الاصطناعي. يدعم العديد من النماذج للوظائف مثل التلوين، والاستعادة، واستعادة الوجه، وتحسين الحجم، واستعادة الصور القديمة، وملء الفجوات. يتم بناؤه باستخدام FastAPI و PyTorch، ويمكن تشغيله على CUDA GPU أو CPU. يتم تحميل وزن النماذج تلقائيًا عند بدء التشغيل الأول.

Novelty

7/10

Tags

photo-enhancement ai-powered colorization restoration face-restoration upscale old-photo-restore inpainting

Technologies

fastapi numpy uvicorn

Claude Models

claude-opus-4.6

Quality Score

C+
75.3/100
Structure
81
Code Quality
65
Documentation
66
Testing
75
Practices
83
Security
92
Dependencies
90

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (31% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 436 duplicate lines detected \u2014 consider DRY refactoring
  • 2 'god files' with >500 LOC need decomposition

Security & Health

4.1h
Tech Debt (B)
Medium
DORA Rating
A
OWASP (100%)
Repobility · severity-and-effort ranking · https://repobility.com
PASS
Quality Gate
A
Risk (2)
MIT
License
5.1%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
67.8%
markdown
29.2%
yaml
2.0%
text
0.4%
shell
0.4%
toml
0.3%

Frameworks

FastAPI pytest

Symbols

method84
class38
function25
constant9
variable9

API Endpoints (8)

Repobility · the analyzer behind every row · https://repobility.com
MethodPathHandlerFramework
Methodology: Repobility · https://repobility.com/research/state-of-ai-code-2026/
POST/colorizecolorizePython
POST/face-restoreface_restorePython
GET/healthhealthFastAPI/Flask
POST/inpaintinpaintPython
POST/old-photo-restoreold_photo_restorePython
POST/pipelinepipelinePython
POST/restorerestorePython
POST/upscaleupscalePython

Concepts (10)

Repobility analysis · methodology at https://repobility.com/research/
CategoryNameDescriptionConfidence
Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot
auto_descriptionProject Description![License: MIT](LICENSE)80%
auto_categoryWeb Backendweb-backend70%
arch_layerdata_accessDetected data_access layer70%
arch_layerinfrastructureDetected infrastructure layer70%
arch_layertestingDetected testing layer70%
design_patternSingletonFound get_instance/instance patterns70%
business_logicDatabaseDetected from 11 related files50%
business_logicFile ManagementDetected from 2 related files50%
business_logicTestingDetected from 5 related files50%
arch_patternContainerized/MicroservicesMultiple Dockerfiles found at package level50%
About: code-quality intelligence by Repobility · https://repobility.com

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/31205.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV

BinComp Dependency Hardening

All packages →
5 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.
Ftorch2.11.0 · 1,257 gadgets · risk 5116.6Nrequests2.33.1 · 0 gadgets · risk 3687.0Nstarlette1.0.0 · 0 gadgets · risk 1608.0Nfastapi0.135.3 · 0 gadgets · risk 0.0Fnumpy2.4.4 · 6,596 gadgets · risk 0.0