b2e7bc499d
feat: add session image retrieval endpoint
...
Add HTTP endpoint to retrieve saved session images by session ID.
Images are saved during car_fueling progression stage.
- Add GET /session-image/{session_id} endpoint
- Search images directory for files matching session ID pattern
- Return most recent image if multiple exist
- Proper error handling (404 for not found, 500 for errors)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-01 01:27:12 +07:00
ziesorx
402f7732a8
fix: change min bbox size for frontal
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m53s
Build Worker Base and Application Images / deploy-stack (push) Successful in 15s
2025-09-30 17:24:33 +07:00
ziesorx
9e5b5a32ad
fix: bring back gpu usage
Build Worker Base and Application Images / check-base-changes (push) Successful in 18s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m42s
Build Worker Base and Application Images / deploy-stack (push) Successful in 11s
2025-09-30 16:23:07 +07:00
ziesorx
3ed7a2cd53
fix: abandonment works
Build Worker Base and Application Images / deploy-stack (push) Blocked by required conditions
Build Worker Base and Application Images / check-base-changes (push) Successful in 9s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Has been cancelled
2025-09-30 16:20:39 +07:00
ziesorx
793beb1571
fix: tracking works but absent not work
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m26s
Build Worker Base and Application Images / deploy-stack (push) Successful in 13s
2025-09-30 16:04:24 +07:00
ziesorx
354ed9ce3c
fix: fallback when there is sessionId
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m28s
Build Worker Base and Application Images / deploy-stack (push) Successful in 14s
2025-09-30 15:46:32 +07:00
ziesorx
e92efdbe11
fix: custom subscriptionIdentifier
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m51s
Build Worker Base and Application Images / deploy-stack (push) Successful in 15s
2025-09-30 15:14:28 +07:00
ziesorx
8d2a71fcd7
fix: inference in reader thread
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m45s
Build Worker Base and Application Images / deploy-stack (push) Successful in 17s
2025-09-30 14:21:29 +07:00
ziesorx
fed71046a9
fix: update ffmpeg flags to improve frame handling
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m46s
Build Worker Base and Application Images / deploy-stack (push) Successful in 14s
2025-09-30 12:20:52 +07:00
ziesorx
31bc91d57b
fix: add ffmpeg flags fix frame delay
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m58s
Build Worker Base and Application Images / deploy-stack (push) Successful in 14s
2025-09-30 12:06:03 +07:00
ziesorx
fa0f865319
feat: add fallback when cant initially detect but backend start session
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m45s
Build Worker Base and Application Images / deploy-stack (push) Successful in 16s
2025-09-30 00:53:27 +07:00
ziesorx
ee484b4655
feat: add min bbox for frontal tracking
Build Worker Base and Application Images / check-base-changes (push) Successful in 9s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m22s
Build Worker Base and Application Images / deploy-stack (push) Successful in 15s
2025-09-29 23:45:20 +07:00
ziesorx
52ba1ff316
fix: sessionId type mismatch
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m31s
Build Worker Base and Application Images / deploy-stack (push) Successful in 15s
2025-09-29 17:43:30 +07:00
eb57de02c3
fix: update import paths for monitoring modules in FFmpegRTSPReader and HTTPSnapshotReader
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m48s
Build Worker Base and Application Images / deploy-stack (push) Successful in 9s
2025-09-27 14:57:20 +07:00
b08ce27de2
Implement comprehensive health monitoring for streams and threads
...
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m7s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
- Added RecoveryManager for automatic handling of health issues, including circuit breaker patterns, automatic restarts, and graceful degradation.
- Introduced StreamHealthTracker to monitor video stream metrics, including frame production, connection health, and error rates.
- Developed ThreadHealthMonitor for detecting unresponsive and deadlocked threads, providing liveness detection and responsiveness testing.
- Integrated health checks for streams and threads, reporting metrics and recovery actions to the health monitor.
- Enhanced logging for recovery attempts, errors, and health checks to improve observability and debugging.
2025-09-27 12:27:38 +07:00
8c08c815ce
Merge pull request 'dev' ( #18 ) from dev into main
...
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Successful in 11m28s
Build Worker Base and Application Images / build-docker (push) Successful in 4m6s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
Reviewed-on: #18
2025-09-26 13:50:19 +00:00
2b382210eb
Refactor streaming readers: Split into modular files and implement base class
...
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Successful in 10m17s
Build Worker Base and Application Images / build-docker (push) Successful in 3m54s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
- Removed the existing `readers.py` file and created separate modules for `FFmpegRTSPReader`, `HTTPSnapshotReader`, and utility functions.
- Introduced an abstract base class `VideoReader` to standardize the interface for video stream readers.
- Updated `FFmpegRTSPReader` and `HTTPSnapshotReader` to inherit from `VideoReader` and implement required methods.
- Enhanced logging utilities for better readability and maintainability.
- Removed `pycuda` from requirements as it is no longer needed.
2025-09-26 20:03:09 +07:00
d8d1b33cd8
feat: add GPU accelerated libraries
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Failing after 13m12s
Build Worker Base and Application Images / build-docker (push) Has been skipped
Build Worker Base and Application Images / deploy-stack (push) Has been skipped
2025-09-26 19:47:13 +07:00
33d738b31b
fix: remove unused watchdog logging configuration and FrameFileHandler
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m55s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
2025-09-26 19:42:57 +07:00
2808316e94
fix: remove unused RTSPReader import and related code
Build Worker Base and Application Images / deploy-stack (push) Blocked by required conditions
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Has been cancelled
2025-09-26 19:42:41 +07:00
ziesorx
cd1359f5d2
fix: enable hardward acceleration
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m14s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
2025-09-26 15:06:12 +07:00
ziesorx
cc604841d0
Merge branch 'dev'
Build Worker Base and Application Images / deploy-stack (push) Blocked by required conditions
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m12s
2025-09-26 15:00:48 +07:00
ziesorx
9f8372d844
fix: change save image logic
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m15s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
2025-09-26 15:00:24 +07:00
ziesorx
61ac39b4f3
fix: validator
2025-09-26 14:50:45 +07:00
ziesorx
791f611f7d
feat: custom bot-sort based tracker
2025-09-26 14:22:38 +07:00
ziesorx
bd201acac1
fix: cameras buffer
2025-09-26 13:16:37 +07:00
ziesorx
519e073f7f
fix: camera api endpoint
2025-09-26 13:05:58 +07:00
ziesorx
d43a971d5b
Merge branch 'dev'
Build Worker Base and Application Images / check-base-changes (push) Successful in 9s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m8s
Build Worker Base and Application Images / deploy-stack (push) Failing after 38s
2025-09-26 11:26:03 +07:00
ziesorx
83aaf95f59
fix: can read, track, and detect frame
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m5s
Build Worker Base and Application Images / deploy-stack (push) Successful in 11s
2025-09-26 11:24:48 +07:00
ziesorx
f5c6da8014
change: temp_file path
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m1s
Build Worker Base and Application Images / deploy-stack (push) Successful in 20s
2025-09-26 10:18:44 +07:00
a12e3efa12
refactor: enhance FFmpegRTSPReader to implement persistent file locking for PPM frame reading
Build Worker Base and Application Images / check-base-changes (push) Successful in 9s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m8s
Build Worker Base and Application Images / deploy-stack (push) Successful in 14s
2025-09-26 03:04:53 +07:00
d663aaa446
Merge pull request 'dev' ( #17 ) from dev into main
...
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Successful in 9m7s
Build Worker Base and Application Images / build-docker (push) Successful in 4m3s
Build Worker Base and Application Images / deploy-stack (push) Successful in 29s
Reviewed-on: #17
2025-09-25 19:59:49 +00:00
fe0da18d0f
refactor: change temporary file format from JPG to PPM for improved frame reading
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m52s
Build Worker Base and Application Images / deploy-stack (push) Successful in 13s
2025-09-26 02:55:26 +07:00
73c3367681
refactor: update FFmpegRTSPReader to use JPG format for single frame updates and improve image quality
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m48s
Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
2025-09-26 02:51:30 +07:00
95c39a008f
refactor: suppress noisy watchdog debug logs for cleaner output
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m53s
Build Worker Base and Application Images / deploy-stack (push) Failing after 12s
2025-09-26 02:35:27 +07:00
2742b86961
refactor: enhance FFmpegRTSPReader to improve frame reading reliability with retry logic
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m51s
Build Worker Base and Application Images / deploy-stack (push) Successful in 8s
2025-09-26 02:26:44 +07:00
84144a2955
refactor: update FFmpegRTSPReader to read and update a single frame in place for improved efficiency
Build Worker Base and Application Images / check-base-changes (push) Successful in 10s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m0s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
2025-09-26 02:20:14 +07:00
cb31633cc1
refactor: enhance FFmpegRTSPReader with file watching and reactive frame reading
Build Worker Base and Application Images / deploy-stack (push) Blocked by required conditions
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Has been cancelled
2025-09-26 02:18:20 +07:00
79a1189675
refactor: update FFmpegRTSPReader to use a temporary file for frame reading and improve error handling
2025-09-26 02:15:06 +07:00
c38b58e34c
refactor: add FFmpegRTSPReader for enhanced RTSP stream handling with CUDA acceleration
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m57s
Build Worker Base and Application Images / deploy-stack (push) Successful in 20s
2025-09-26 02:07:17 +07:00
08cb4eafc4
refactor: enhance error handling and logging in RTSPReader for improved frame retrieval diagnostics
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m57s
Build Worker Base and Application Images / deploy-stack (push) Successful in 20s
2025-09-26 01:58:50 +07:00
65b7573fed
refactor: remove unnecessary buffer size setting for RTSP stream to improve latency
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m52s
Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
2025-09-26 01:52:50 +07:00
a1e7c42fb3
refactor: improve error handling and logging in RTSPReader for frame capture failures
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m55s
Build Worker Base and Application Images / deploy-stack (push) Successful in 23s
2025-09-26 01:44:46 +07:00
c6a4258055
refactor: enhance error logging in RTSPReader for better debugging of frame capture issues
Build Worker Base and Application Images / deploy-stack (push) Blocked by required conditions
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Has been cancelled
2025-09-26 01:42:30 +07:00
cb9ff7bc86
refactor: update FFmpeg hardware acceleration to use NVDEC instead of CUVID for improved performance
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m2s
Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
2025-09-26 01:33:41 +07:00
bdbf688946
refactor: streamline CUDA development tools installation and simplify FFmpeg configuration for NVIDIA support
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Successful in 10m9s
Build Worker Base and Application Images / build-docker (push) Successful in 4m4s
Build Worker Base and Application Images / deploy-stack (push) Successful in 43s
2025-09-26 01:11:32 +07:00
fa3ab5c6d2
refactor: update base image to runtime version and install minimal CUDA development tools for FFmpeg
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Failing after 3m52s
Build Worker Base and Application Images / build-docker (push) Has been skipped
Build Worker Base and Application Images / deploy-stack (push) Has been skipped
2025-09-26 00:48:39 +07:00
6fe4b6ebf0
refactor: update Dockerfile to use development image and enhance FFmpeg build process with NVIDIA support
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-docker (push) Has been cancelled
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
Build Worker Base and Application Images / build-base (push) Has been cancelled
2025-09-26 00:48:06 +07:00
e2e5356047
refactor: build FFmpeg from source with NVIDIA CUDA support and remove unnecessary development libraries
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Failing after 4m23s
Build Worker Base and Application Images / build-docker (push) Has been skipped
Build Worker Base and Application Images / deploy-stack (push) Has been skipped
2025-09-26 00:41:49 +07:00
59e8448f0d
fix: add missing FFmpeg development libraries for OpenCV integration
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Successful in 7m22s
Build Worker Base and Application Images / build-docker (push) Successful in 4m45s
Build Worker Base and Application Images / deploy-stack (push) Successful in 44s
2025-09-26 00:27:08 +07:00