Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,14 +1,68 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
-
short_description:
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: TRIQA Image Quality Assessment
|
| 3 |
+
emoji: 🖼️
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.0.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
+
short_description: Image Quality Assessment using ConvNeXt features
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# TRIQA: Image Quality Assessment
|
| 15 |
+
|
| 16 |
+
TRIQA combines content-aware and quality-aware features from ConvNeXt models to predict image quality scores on a 1-5 scale.
|
| 17 |
+
|
| 18 |
+
## Features
|
| 19 |
+
|
| 20 |
+
- **Unified Framework**: Single interface combining content-aware and quality-aware feature extraction
|
| 21 |
+
- **ConvNeXt Architecture**: Uses state-of-the-art ConvNeXt models for feature extraction
|
| 22 |
+
- **Multi-scale Processing**: Processes images at two scales (original and half-size) for robust feature extraction
|
| 23 |
+
- **Regression-based Prediction**: Uses trained regression models for quality score prediction
|
| 24 |
+
- **Easy-to-use Interface**: Simple web interface for quality assessment
|
| 25 |
+
|
| 26 |
+
## How It Works
|
| 27 |
+
|
| 28 |
+
1. **Preprocessing**: Resize image to two scales (original + half-size)
|
| 29 |
+
2. **Feature Extraction**: Extract content and quality features using ConvNeXt models
|
| 30 |
+
3. **Prediction**: Combine features and predict quality score using regression model
|
| 31 |
+
|
| 32 |
+
## Model Files
|
| 33 |
+
|
| 34 |
+
Download the required model files from Box and place them in the appropriate directories:
|
| 35 |
+
|
| 36 |
+
### Required Files:
|
| 37 |
+
- `feature_models/convnext_tiny_22k_224.pth` - Content-aware model (170MB)
|
| 38 |
+
- `feature_models/triqa_quality_aware.pth` - Quality-aware model (107MB)
|
| 39 |
+
- `Regression_Models/KonIQ_scaler.save` - Feature scaler
|
| 40 |
+
- `Regression_Models/KonIQ_TRIQA.save` - Regression model (111MB)
|
| 41 |
+
|
| 42 |
+
### Box Links:
|
| 43 |
+
- [Download Model Files](https://utexas.box.com/s/8aw6axc2lofouja65uc726lca8b1cduf) - Place in `feature_models/` and `Regression_Models/` directories
|
| 44 |
+
|
| 45 |
+
## Citation
|
| 46 |
+
|
| 47 |
+
If you use this code in your research, please cite our paper:
|
| 48 |
+
|
| 49 |
+
```bibtex
|
| 50 |
+
@INPROCEEDINGS{11084443,
|
| 51 |
+
author={Sureddi, Rajesh and Zadtootaghaj, Saman and Barman, Nabajeet and Bovik, Alan C.},
|
| 52 |
+
booktitle={2025 IEEE International Conference on Image Processing (ICIP)},
|
| 53 |
+
title={Triqa: Image Quality Assessment by Contrastive Pretraining on Ordered Distortion Triplets},
|
| 54 |
+
year={2025},
|
| 55 |
+
volume={},
|
| 56 |
+
number={},
|
| 57 |
+
pages={1744-1749},
|
| 58 |
+
keywords={Image quality;Training;Deep learning;Contrastive learning;Predictive models;Feature extraction;Distortion;Data models;Synthetic data;Image Quality Assessment;Contrastive Learning},
|
| 59 |
+
doi={10.1109/ICIP55913.2025.11084443}}
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
### Paper Links:
|
| 63 |
+
- **arXiv**: [https://arxiv.org/pdf/2507.12687](https://arxiv.org/pdf/2507.12687)
|
| 64 |
+
- **IEEE Xplore**: [https://ieeexplore.ieee.org/abstract/document/11084443](https://ieeexplore.ieee.org/abstract/document/11084443)
|
| 65 |
+
|
| 66 |
+
## License
|
| 67 |
+
|
| 68 |
+
MIT License
|