df38e90ff2
Merge pull request 'feat: add session image retrieval endpoint' ( #27 ) from dev into main
...
Reviewed-on: #27
2025-09-30 19:04:01 +00:00
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
43c717947e
Merge pull request 'fix: change min bbox size for frontal' ( #26 ) from dev into main
...
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 2m43s
Build Worker Base and Application Images / deploy-stack (push) Successful in 19s
Reviewed-on: #26
2025-09-30 10:25:03 +00: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
fff6ec7a14
Merge pull request 'fix: bring back gpu usage' ( #25 ) from dev into main
...
Build Worker Base and Application Images / check-base-changes (push) Successful in 16s
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 14s
Reviewed-on: #25
2025-09-30 09:23:25 +00: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
a50b3dbcdf
Merge pull request 'fix: tracking and abandon and add fallback' ( #24 ) from dev into main
...
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
Reviewed-on: #24
2025-09-30 09:21:14 +00: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
116a75d861
Merge pull request 'fix: custom subscriptionIdentifier' ( #23 ) from dev into main
...
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 17s
Reviewed-on: #23
2025-09-30 08:14:48 +00: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
e37d88a570
Merge pull request 'fix: inference in reader thread' ( #22 ) 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) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m47s
Build Worker Base and Application Images / deploy-stack (push) Successful in 1m3s
Reviewed-on: #22
2025-09-30 07:21:51 +00: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
46c3fa060c
Merge branch 'dev'
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 2m43s
Build Worker Base and Application Images / deploy-stack (push) Successful in 20s
2025-09-30 12:21:14 +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
4a8b107297
Merge pull request 'merge main' ( #21 ) 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) 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 19s
Reviewed-on: #21
2025-09-30 05:06:44 +00: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
4a8676b8d5
Merge pull request 'feat: add min bbox for frontal tracking' ( #20 ) from dev into main
...
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 3m19s
Build Worker Base and Application Images / deploy-stack (push) Successful in 22s
Reviewed-on: #20
2025-09-29 16:47:08 +00: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
7490430c05
Merge pull request 'fix: sessionId type mismatch' ( #19 ) from dev into main
...
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 3m17s
Build Worker Base and Application Images / deploy-stack (push) Successful in 21s
Reviewed-on: #19
2025-09-29 10:43:59 +00: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