neucomp is an application that uses neural networks to compress images with better quality-to-size ratios than traditional compression methods like JPEG.
- neural network-based image compression using CompressAI
- adjustable compression quality levels (1-8)
- real-time compression metrics (BPP, PSNR, SSIM, MS-SSIM)
- automatic handling of large images to prevent memory issues
- GPU acceleration with fallback to CPU when needed
- side-by-side comparison of original and compressed images
- download option for compressed images
- FastAPI framework
- CompressAI for neural image compression
- PyTorch for deep learning operations
- Python 3.8+
- Next.js 14
- React 18
- TailwindCSS for styling
- TypeScript
- Python 3.8+
- Node.js 18+
- CUDA-compatible GPU (optional, for faster compression)
- clone the repository
git clone https://github.com/shamikhan005/neucomp.git
cd neucomp
- set up the backend
cd backend
pip install -r requirements.txt
- set up the frontend
cd ../frontend
npm install
- start the backend server
cd backend
uvicorn main:app --reload
- start the frontend development server
cd ../frontend
npm run dev
- open your browser and navigate to
http://localhost:3000
- upload an image using the drag-and-drop interface
- select your desired compression quality level
- click "Compress Image"
- view the results, including compression metrics and size reduction
- download the compressed image using the download button