How kimil0207/2026_graduation_project works
AI Detection Project provides image, video, and text AI detection, correction-data collection, and several clients. The main workflow sends captured or uploaded content to the FastAPI server, which routes it to modality-specific analysis and returns a result; corrected image predictions can also be saved as feedback. The graph includes the documented mobile client and browser extension, but their server interactions are not established by the available excerpts. Some server and client subsystems are represented at their exact enclosing directories because their implementation was not sampled.
Main entry points: detection.py Detection routes · kakao.py Kakao route · predic_video.py Video analysis · state.py Detector state
Components 22
User clients
- Desktop capture
execution/main.py - Capture tasks
execution/capture_tasks.py - HTTP API client
execution/api_client.py - Browser extension
extension - Mobile app
mobile/app/src/main
API and routing
- FastAPI app
server/main.py - Detection routes
server/routes/detection.py - Kakao route
server/routes/kakao.py - API schemas
server/schemas.py
Detection engines
- Image analysis
server/service/predict.py - Video analysis
server/service/predic_video.py - Frame extraction
server/util/frame_extract.py - Image model loading
server/service/model_loader.py - Detector state
server/state.py - Text analysis
server/service/ai_text_detector_engine.py - Standalone text engine
server/ai_text_detector_engine.py - Text CLI
server/textmain.py
Correction feedback
- Correction route
server/routes/correction.py - Correction persistence
server/util/save_correction.py - Correction logger
server/util/logger.py - Correction files
Other components
- User
Connections 27
- User → Desktop capture: selects capture
execution/main.py - Desktop capture → Capture tasks: starts tasks
execution/main.py - Desktop capture → HTTP API client: configures
execution/main.py - Capture tasks → HTTP API client: sends images
execution/capture_tasks.py - HTTP API client → Detection routes: posts captures
- User → Browser extension: uses extension
- User → Mobile app: uses app
README.md - User → Detection routes: submits content
README.md - FastAPI app → Detection routes: registers router
server/main.py - FastAPI app → Correction route: registers router
server/main.py - FastAPI app → Kakao route: registers router
server/main.py - Detection routes → Image analysis: predicts images
server/routes/detection.py - Detection routes → Video analysis: predicts videos
server/routes/detection.py - Detection routes → Image analysis: scores frames
server/routes/detection.py - Detection routes → Detector state: gets detector
server/routes/detection.py - Detection routes → API schemas: validates responses
server/routes/detection.py - Kakao route → Image analysis: predicts images
server/routes/kakao.py - Kakao route → Video analysis: predicts videos
server/routes/kakao.py - Kakao route → Detector state: gets detector
server/routes/kakao.py - Video analysis → Frame extraction: extracts frames
server/service/predic_video.py - Video analysis → Image analysis: scores frames
server/service/predic_video.py - Detector state → Image model loading: loads models
server/state.py - Detector state → Text analysis: creates detector
server/state.py - Text CLI → Standalone text engine: uses engine
server/textmain.py - Correction route → Correction persistence: saves feedback
server/routes/correction.py - Correction persistence → Correction logger: logs metadata
server/util/save_correction.py - Correction persistence → Correction files: writes images
README.md