Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kedhareswer/mlgenefunction
https://github.com/kedhareswer/mlgenefunction
css deep-neural-networks image-processing jupyter-notebook machine-learning python
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/kedhareswer/mlgenefunction
- Owner: Kedhareswer
- Created: 2024-09-27T13:02:34.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-13T09:18:51.000Z (17 days ago)
- Last Synced: 2025-01-13T09:38:20.803Z (17 days ago)
- Topics: css, deep-neural-networks, image-processing, jupyter-notebook, machine-learning, python
- Language: Jupyter Notebook
- Homepage: https://kedhareswer.github.io/MLGeneFunction/
- Size: 4.71 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image to Sketch Model
Welcome to the Image-to-Sketch Conversion project! This project explores the use of deep learning techniques to transform digital images into realistic, hand-drawn sketches. Utilizing the CUHK Face Sketch Database (CUFS), we developed a model capable of producing high-quality, sketch-style renditions of digital images.
🖼️ Project Overview
This project aims to bridge the gap between digital imagery and artistic sketching through artificial intelligence. It leverages deep neural networks to mimic the nuances of hand-drawn sketches, bringing subtle texture, shading, and line work into a digitally rendered form.
✨ Problem Statement
Convert digital images into authentic sketch-like representations using deep learning, providing a seamless experience for generating sketches that emulate traditional hand-drawn art.
🔍 Approach
Data Preparation:
Dataset: CUHK Face Sketch Database (CUFS), containing pairs of photos and corresponding sketch images.
Preprocessing: Resized and normalized images, and applied transformations to enhance model robustness.
Model Architecture:
Developed a deep neural network tailored to produce clear, detailed sketches. The model was iteratively optimized to capture fine line work and shading, improving the authenticity of each sketch.
Training:
Experimented with various neural network layers and configurations.
Fine-tuned hyperparameters to achieve optimal sketch quality, balancing model complexity with training time.
Evaluation:
Used metrics such as Mean Absolute Error (MAE) and Structural Similarity Index (SSIM) to evaluate the fidelity of generated sketches compared to the ground truth.
Conducted qualitative assessments to ensure the model accurately represented key facial features and textures.
🚀 Results
The model effectively generated clear, hand-drawn-style sketches with high visual appeal.
Final sketches showcased intricate line details and shading, closely resembling traditional pencil sketches.
The approach demonstrated promising potential for applications in creative AI, portrait rendering, and more.
Input Image:
![fantasy-2049567](https://github.com/user-attachments/assets/c99a5308-c6ce-4866-8cd6-230c269cfd5f)Output Sketch:
![hand-drawn-sketch](https://github.com/user-attachments/assets/47a7cb65-61f7-41e1-be80-01d5491c5ee3)📈 Key Insights
The model successfully learned to generate consistent, hand-drawn-like sketches.
Fine-tuning layers and experimenting with hyperparameters were crucial to achieving high-quality sketches.📝 Future Work
Experimenting with larger datasets for broader generalization.
Extending the model to support different artistic styles beyond sketching.🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.