Downloads · 30 days
0
FatimahEmadEldin/GenAI-RealEstate-Detector
GenAI-RealEstate-Detector is a image classification model from FatimahEmadEldin. Use it when you need a label for an image. It is set up for tensorflow.
Status: 🏆 Competition Submission for MenaML Winter School 2026 Track: B (Real Estate & Commercial Integrity) Model Architecture: EfficientNetB0 (Fine-tuned) Framework: TensorFlow / Keras
Downloads · 30 days
0
Access
Public
Updated Jan 25, 2026
Repo size
43.7 MB
Likes
0
Public
Click a slice to open those files.
.zip27 MB · 61%
From the Hugging Face model README
Status: 🏆 Competition Submission for MenaML Winter School 2026
Track: B (Real Estate & Commercial Integrity)
Model Architecture: EfficientNetB0 (Fine-tuned)
Framework: TensorFlow / Keras
As Generative AI becomes mainstream, "virtual staging" in real estate can mislead buyers by hiding structural flaws or fabricating non-existent features.
This project provides a Forensic Signal Detector capable of identifying GenAI-generated or heavily manipulated images in high-stakes public domains. It focuses on detecting:
The model was trained on a dynamic stream of Places365 images with synthetic artifact injection.
| Metric | Best Value | Epoch Achieved |
|---|---|---|
| Training Accuracy | 99.07% | Epoch 1 |
| Training Loss | 0.0201 | Epoch 1 |
| Validation Stability | 97.34% | Epoch 5 |
| File | Description |
|---|---|
forensic_model.h5 | The Model. Fine-tuned EfficientNetB0 weights. |
predict.py | Inference Script. Automates the detection process for a folder of images. |
hackathon_test_set.zip | The Dataset. Contains 1,000 images (500 Real / 500 Fake) for testing. |
requirements.txt | Dependencies. Required Python libraries. |
Clone the repository and install dependencies:
git clone [https://huggingface.co/](https://huggingface.co/)[FatimahEmadEldin]/{GenAI-RealEstate-Detector}
cd {GenAI-RealEstate-Detector}
pip install -r requirements.txt
You can run the detection script on any folder of images:
python predict.py --input_dir ./path_to_images --output_file predictions.json
The system produces a JSON report with authenticity scores and VLM-based reasoning:
{{
"image_name": "living_room_01.jpg",
"authenticity_score": 0.99,
"manipulation_type": "Synthetic/Inpainting",
"vlm_reasoning": "Forensic analysis detected high-frequency artifacts (0.99). Visual context suggests issues near: window reflection."
}}
Instead of relying on a static dataset of "Fake" images (which may become outdated), we implemented an On-the-Fly Artifact Generator that corrupts real images (from Places365) during training.
The 3 Forensic Signals:
This project uses the Places365 dataset (MIT CSAIL). The code is open-source under the MIT License.