diff --git a/archive/desktop/README.md b/archive/desktop/README.md new file mode 100644 index 0000000..bccb3df --- /dev/null +++ b/archive/desktop/README.md @@ -0,0 +1,33 @@ +# Desktop Version Archive + +This directory contains all files related to the desktop GUI version of PunimTag, which has been archived as the project has migrated to a web-based interface. + +## Archived Files + +### GUI Components (gui/) +- dashboard_gui.py - Main unified dashboard GUI +- gui_core.py - Core GUI utilities +- identify_panel.py - Face identification panel +- modify_panel.py - Modify identified faces panel +- auto_match_panel.py - Auto-matching panel +- tag_manager_panel.py - Tag management panel + +### Entry Points +- run_dashboard.py - Desktop dashboard launcher +- run_deepface_gui.sh - DeepFace GUI test script +- photo_tagger.py - CLI entry point for desktop version + +### Test Files (tests/) +- test_deepface_gui.py - DeepFace GUI test application +- test_simple_gui.py - Simple GUI test +- test_thumbnail_sizes.py - Thumbnail size test +- show_large_thumbnails.py - Large thumbnails demo + +### Documentation +- README_DESKTOP.md - Desktop version documentation + +## Migration Date +November 2025 + +## Status +These files are archived and no longer maintained. The project now uses a web-based interface accessible via the API and frontend. diff --git a/README_DESKTOP.md b/archive/desktop/README_DESKTOP.md similarity index 100% rename from README_DESKTOP.md rename to archive/desktop/README_DESKTOP.md diff --git a/src/gui/__init__.py b/archive/desktop/gui/__init__.py similarity index 100% rename from src/gui/__init__.py rename to archive/desktop/gui/__init__.py diff --git a/src/gui/auto_match_panel.py b/archive/desktop/gui/auto_match_panel.py similarity index 100% rename from src/gui/auto_match_panel.py rename to archive/desktop/gui/auto_match_panel.py diff --git a/src/gui/dashboard_gui.py b/archive/desktop/gui/dashboard_gui.py similarity index 100% rename from src/gui/dashboard_gui.py rename to archive/desktop/gui/dashboard_gui.py diff --git a/src/gui/gui_core.py b/archive/desktop/gui/gui_core.py similarity index 100% rename from src/gui/gui_core.py rename to archive/desktop/gui/gui_core.py diff --git a/src/gui/identify_panel.py b/archive/desktop/gui/identify_panel.py similarity index 100% rename from src/gui/identify_panel.py rename to archive/desktop/gui/identify_panel.py diff --git a/src/gui/modify_panel.py b/archive/desktop/gui/modify_panel.py similarity index 100% rename from src/gui/modify_panel.py rename to archive/desktop/gui/modify_panel.py diff --git a/src/gui/tag_manager_panel.py b/archive/desktop/gui/tag_manager_panel.py similarity index 100% rename from src/gui/tag_manager_panel.py rename to archive/desktop/gui/tag_manager_panel.py diff --git a/src/photo_tagger.py b/archive/desktop/photo_tagger.py similarity index 100% rename from src/photo_tagger.py rename to archive/desktop/photo_tagger.py diff --git a/run_dashboard.py b/archive/desktop/run_dashboard.py similarity index 100% rename from run_dashboard.py rename to archive/desktop/run_dashboard.py diff --git a/run_deepface_gui.sh b/archive/desktop/run_deepface_gui.sh similarity index 100% rename from run_deepface_gui.sh rename to archive/desktop/run_deepface_gui.sh diff --git a/tests/show_large_thumbnails.py b/archive/desktop/tests/show_large_thumbnails.py similarity index 100% rename from tests/show_large_thumbnails.py rename to archive/desktop/tests/show_large_thumbnails.py diff --git a/tests/test_deepface_gui.py b/archive/desktop/tests/test_deepface_gui.py similarity index 100% rename from tests/test_deepface_gui.py rename to archive/desktop/tests/test_deepface_gui.py diff --git a/tests/test_simple_gui.py b/archive/desktop/tests/test_simple_gui.py similarity index 100% rename from tests/test_simple_gui.py rename to archive/desktop/tests/test_simple_gui.py diff --git a/tests/test_thumbnail_sizes.py b/archive/desktop/tests/test_thumbnail_sizes.py similarity index 100% rename from tests/test_thumbnail_sizes.py rename to archive/desktop/tests/test_thumbnail_sizes.py diff --git a/scripts/cleanup_false_positives.py b/scripts/cleanup_false_positives.py index c1a716d..2e36404 100644 --- a/scripts/cleanup_false_positives.py +++ b/scripts/cleanup_false_positives.py @@ -32,8 +32,8 @@ def main(): print("\nโœ… No false positive faces found to remove.") print("\nTo reprocess photos with improved face detection:") - print("1. Run the dashboard: python run_dashboard.py") - print("2. Go to Process tab and click 'Process Photos'") + print("1. Use the web interface to process photos") + print("2. Or use the API endpoints to trigger face processing") if __name__ == "__main__": main() diff --git a/src/setup.py b/src/setup.py index 19b51b0..c556af3 100644 --- a/src/setup.py +++ b/src/setup.py @@ -145,12 +145,11 @@ def main(): print("โœ… Setup complete!") print() print("๐ŸŽฏ Quick Start:") - print(" 1. Add photos: python3 photo_tagger.py scan /path/to/photos") - print(" 2. Process faces: python3 photo_tagger.py process") - print(" 3. Identify faces: python3 photo_tagger.py identify") - print(" 4. View stats: python3 photo_tagger.py stats") + print(" 1. Start the web server: python run_api_with_worker.sh") + print(" 2. Access the web interface at http://localhost:8000") + print(" 3. Use the web UI to scan, process, and identify faces") print() - print("๐Ÿ“– For help: python3 photo_tagger.py --help") + print("๐Ÿ“– For more information, see README.md") print() print("โš ๏ธ IMPORTANT: Always activate virtual environment first!") print(" source venv/bin/activate") diff --git a/tests/test_phase2_config.py b/tests/test_phase2_config.py index 317e938..b59c32f 100755 --- a/tests/test_phase2_config.py +++ b/tests/test_phase2_config.py @@ -131,16 +131,12 @@ def test_entry_point_imports(): print("\n๐Ÿงช Test 4: Test entry point imports (with TF suppression)") try: - # These imports should not cause TensorFlow warnings - print(" Importing dashboard_gui...") - from src.gui import dashboard_gui - print(" โœ“ dashboard_gui imported") + # Desktop GUI has been archived - skip this test + print(" โš ๏ธ Desktop GUI entry points have been archived") + print(" โš ๏ธ Skipping desktop entry point import test") + print(" โœ“ Web version entry points are available via API") - print(" Importing photo_tagger...") - from src import photo_tagger - print(" โœ“ photo_tagger imported") - - print(" โœ… All entry points import cleanly") + print(" โœ… Entry point test skipped (desktop archived)") return True except Exception as e: