what is blessing my ears rn
This commit is contained in:
1 parent
02e00cbaa2
commit
8f6c3969c0
7 files changed
+28
-411
No files matched your search
@@ -8,3 +8,5 @@ wheels/
|
||||
|
||||
# Virtual environments
|
||||
.venv
|
||||
logs/
|
||||
events/
|
||||
LFS
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -1,385 +0,0 @@
|
||||
2026-01-11 01:42:17,502 | INFO | MainThread | main.main:97 - Loading models... Person: models/human-det-best.pt, Cig: models/cig-det-best.pt, Verifier: models/cig-cls-best.pt
|
||||
2026-01-11 01:42:17,502 | INFO | MainThread | pipeline.models.__init__:22 - Loading Person Detector: models/human-det-best.pt
|
||||
2026-01-11 01:42:17,529 | INFO | MainThread | pipeline.models.__init__:49 - Loading Cigarette Detector: models/cig-det-best.pt
|
||||
2026-01-11 01:42:17,570 | INFO | MainThread | pipeline.models.__init__:77 - Loading Smoking Classifier: models/cig-cls-best.pt
|
||||
2026-01-11 01:42:17,609 | INFO | MainThread | pipeline.outputs.__init__:198 - Initialized Async VideoFileStore writing to output.mp4
|
||||
2026-01-11 01:42:17,610 | INFO | MainThread | pipeline.outputs.__init__:49 - Initialized SmartEventSink in events
|
||||
2026-01-11 01:42:17,610 | INFO | MainThread | pipeline.outputs.__init__:143 - Initialized FileAlertStore writing to alerts.jsonl
|
||||
2026-01-11 01:42:17,611 | INFO | MainThread | pipeline.core.__init__:52 - Pipeline initialized with 3 sinks. Async Inference enabled.
|
||||
2026-01-11 01:42:17,611 | INFO | MainThread | pipeline.core.process_stream:58 - Starting stream processing...
|
||||
2026-01-11 01:42:17,611 | INFO | MainThread | pipeline.sources.stream:43 - Opening video file: .\Group_project_smoking_detection\img\stock-footage-girl-on-a-break-smoking-a-cigarette.webm
|
||||
2026-01-11 01:42:17,665 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 100 frames...
|
||||
2026-01-11 01:42:17,700 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 200 frames...
|
||||
2026-01-11 01:42:17,733 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 300 frames...
|
||||
2026-01-11 01:42:17,768 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 400 frames...
|
||||
2026-01-11 01:42:17,802 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 500 frames...
|
||||
2026-01-11 01:42:17,835 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 600 frames...
|
||||
2026-01-11 01:42:17,858 | INFO | MainThread | pipeline.sources.stream:49 - End of video file reached.
|
||||
2026-01-11 01:42:17,861 | INFO | MainThread | pipeline.core.process_stream:129 - Stream processing finished.
|
||||
2026-01-11 01:42:17,889 | INFO | MainThread | pipeline.outputs.close:321 - VideoFileStore closed.
|
||||
2026-01-11 01:42:18,387 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:189 - Inference took 0.770s (Slow)
|
||||
2026-01-11 01:45:01,042 | INFO | MainThread | main.main:97 - Loading models... Person: models/human-det-best.pt, Cig: models/cig-det-best.pt, Verifier: models/cig-cls-best.pt
|
||||
2026-01-11 01:45:01,042 | INFO | MainThread | pipeline.models.__init__:22 - Loading Person Detector: models/human-det-best.pt
|
||||
2026-01-11 01:45:01,070 | INFO | MainThread | pipeline.models.__init__:49 - Loading Cigarette Detector: models/cig-det-best.pt
|
||||
2026-01-11 01:45:01,123 | INFO | MainThread | pipeline.models.__init__:77 - Loading Smoking Classifier: models/cig-cls-best.pt
|
||||
2026-01-11 01:45:01,151 | INFO | MainThread | pipeline.outputs.__init__:198 - Initialized Async VideoFileStore writing to output.mp4
|
||||
2026-01-11 01:45:01,152 | INFO | MainThread | pipeline.outputs.__init__:49 - Initialized SmartEventSink in events
|
||||
2026-01-11 01:45:01,153 | INFO | MainThread | pipeline.outputs.__init__:143 - Initialized FileAlertStore writing to alerts.jsonl
|
||||
2026-01-11 01:45:01,153 | INFO | MainThread | pipeline.core.__init__:52 - Pipeline initialized with 3 sinks. Async Inference enabled.
|
||||
2026-01-11 01:45:01,153 | INFO | MainThread | pipeline.core.process_stream:58 - Starting stream processing...
|
||||
2026-01-11 01:45:01,153 | INFO | MainThread | pipeline.sources.stream:43 - Opening video file: .\Group_project_smoking_detection\img\stock-footage-girl-on-a-break-smoking-a-cigarette.webm
|
||||
2026-01-11 01:45:01,205 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 100 frames...
|
||||
2026-01-11 01:45:01,238 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 200 frames...
|
||||
2026-01-11 01:45:01,268 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 300 frames...
|
||||
2026-01-11 01:45:01,301 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 400 frames...
|
||||
2026-01-11 01:45:01,333 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 500 frames...
|
||||
2026-01-11 01:45:01,364 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 600 frames...
|
||||
2026-01-11 01:45:01,379 | INFO | MainThread | pipeline.sources.stream:49 - End of video file reached.
|
||||
2026-01-11 01:45:01,385 | INFO | MainThread | pipeline.core.process_stream:129 - Stream processing finished.
|
||||
2026-01-11 01:45:01,414 | INFO | MainThread | pipeline.outputs.close:321 - VideoFileStore closed.
|
||||
2026-01-11 01:45:01,878 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:189 - Inference took 0.718s (Slow)
|
||||
2026-01-11 01:45:25,018 | INFO | MainThread | main.main:97 - Loading models... Person: models/human-det-best.pt, Cig: models/cig-det-best.pt, Verifier: models/cig-cls-best.pt
|
||||
2026-01-11 01:45:25,018 | INFO | MainThread | pipeline.models.__init__:22 - Loading Person Detector: models/human-det-best.pt
|
||||
2026-01-11 01:45:25,046 | INFO | MainThread | pipeline.models.__init__:49 - Loading Cigarette Detector: models/cig-det-best.pt
|
||||
2026-01-11 01:45:25,079 | INFO | MainThread | pipeline.models.__init__:77 - Loading Smoking Classifier: models/cig-cls-best.pt
|
||||
2026-01-11 01:45:25,278 | INFO | MainThread | pipeline.outputs.__init__:198 - Initialized Async VideoFileStore writing to output.mp4
|
||||
2026-01-11 01:45:25,279 | INFO | MainThread | pipeline.outputs.__init__:49 - Initialized SmartEventSink in events
|
||||
2026-01-11 01:45:25,280 | INFO | MainThread | pipeline.outputs.__init__:143 - Initialized FileAlertStore writing to alerts.jsonl
|
||||
2026-01-11 01:45:25,280 | INFO | MainThread | pipeline.core.__init__:52 - Pipeline initialized with 3 sinks. Async Inference enabled.
|
||||
2026-01-11 01:45:25,281 | INFO | MainThread | pipeline.core.process_stream:58 - Starting stream processing...
|
||||
2026-01-11 01:45:25,281 | INFO | MainThread | pipeline.sources.stream:43 - Opening video file: .\Group_project_smoking_detection\img\vecteezy_man-lights-a-cigarette-and-smokes-it_2657337.mov
|
||||
2026-01-11 01:45:26,528 | INFO | MainThread | pipeline.core.process_stream:81 - Frame 46: Activity detected! Switching to ACTIVE mode (0s interval).
|
||||
2026-01-11 01:45:26,650 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:189 - Inference took 0.121s (Slow)
|
||||
2026-01-11 01:45:27,792 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 100 frames...
|
||||
2026-01-11 01:45:28,253 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:189 - Inference took 0.117s (Slow)
|
||||
2026-01-11 01:45:28,377 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.92
|
||||
2026-01-11 01:45:28,378 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:189 - Inference took 0.117s (Slow)
|
||||
2026-01-11 01:45:30,125 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 200 frames...
|
||||
2026-01-11 01:45:31,182 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.95
|
||||
2026-01-11 01:45:31,254 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 01:45:31,398 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.99
|
||||
2026-01-11 01:45:31,399 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:189 - Inference took 0.119s (Slow)
|
||||
2026-01-11 01:45:31,495 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.99
|
||||
2026-01-11 01:45:31,802 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:189 - Inference took 0.103s (Slow)
|
||||
2026-01-11 01:45:32,246 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 300 frames...
|
||||
2026-01-11 01:45:32,467 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:189 - Inference took 0.129s (Slow)
|
||||
2026-01-11 01:45:33,206 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.90
|
||||
2026-01-11 01:45:33,435 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.84
|
||||
2026-01-11 01:45:33,697 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.90
|
||||
2026-01-11 01:45:33,798 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.89
|
||||
2026-01-11 01:45:33,850 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.93
|
||||
2026-01-11 01:45:33,940 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.81
|
||||
2026-01-11 01:45:34,003 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:164 - CONFIRMED SMOKING! Score: 0.89
|
||||
2026-01-11 01:45:34,654 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 400 frames...
|
||||
2026-01-11 01:45:36,804 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 500 frames...
|
||||
2026-01-11 01:45:37,027 | INFO | MainThread | pipeline.sources.stream:49 - End of video file reached.
|
||||
2026-01-11 01:45:37,058 | INFO | MainThread | pipeline.core.process_stream:129 - Stream processing finished.
|
||||
2026-01-11 01:45:38,521 | INFO | MainThread | pipeline.outputs.close:321 - VideoFileStore closed.
|
||||
2026-01-11 01:59:42,251 | INFO | MainThread | main.main:97 - Loading models... Person: models/human-det-best.pt, Cig: models/cig-det-best.pt, Verifier: models/cig-cls-best.pt
|
||||
2026-01-11 01:59:42,252 | INFO | MainThread | pipeline.models.__init__:22 - Loading Person Detector: models/human-det-best.pt
|
||||
2026-01-11 01:59:42,283 | INFO | MainThread | pipeline.models.__init__:49 - Loading Cigarette Detector: models/cig-det-best.pt
|
||||
2026-01-11 01:59:42,325 | INFO | MainThread | pipeline.models.__init__:77 - Loading Smoking Classifier: models/cig-cls-best.pt
|
||||
2026-01-11 01:59:42,512 | INFO | MainThread | pipeline.outputs.__init__:204 - Initialized Async VideoFileStore writing to output.mp4
|
||||
2026-01-11 01:59:42,513 | INFO | MainThread | pipeline.outputs.__init__:49 - Initialized SmartEventSink in events
|
||||
2026-01-11 01:59:42,514 | INFO | MainThread | pipeline.outputs.__init__:149 - Initialized FileAlertStore writing to alerts.jsonl
|
||||
2026-01-11 01:59:42,514 | INFO | MainThread | pipeline.core.__init__:52 - Pipeline initialized with 3 sinks. Async Inference enabled.
|
||||
2026-01-11 01:59:42,515 | INFO | MainThread | pipeline.core.process_stream:58 - Starting stream processing...
|
||||
2026-01-11 01:59:42,515 | INFO | MainThread | pipeline.sources.stream:43 - Opening video file: .\Group_project_smoking_detection\img\vecteezy_man-lights-a-cigarette-and-smokes-it_2657337.mov
|
||||
2026-01-11 01:59:43,812 | INFO | MainThread | pipeline.core.process_stream:81 - Frame 40: Activity detected! Switching to ACTIVE mode (0s interval).
|
||||
2026-01-11 01:59:43,932 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.120s (Slow)
|
||||
2026-01-11 01:59:46,922 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 100 frames...
|
||||
2026-01-11 01:59:47,993 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.130s (Slow)
|
||||
2026-01-11 01:59:48,150 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.101s (Slow)
|
||||
2026-01-11 01:59:48,281 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.92
|
||||
2026-01-11 01:59:48,281 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.117s (Slow)
|
||||
2026-01-11 01:59:48,334 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.92 confirmed at Verifier
|
||||
2026-01-11 01:59:51,012 | INFO | MainThread | pipeline.outputs._trigger_event:97 - Started recording event 1768071588
|
||||
2026-01-11 01:59:51,821 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.124s (Slow)
|
||||
2026-01-11 01:59:52,014 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.142s (Slow)
|
||||
2026-01-11 01:59:54,541 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.109s (Slow)
|
||||
2026-01-11 01:59:55,645 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.81
|
||||
2026-01-11 01:59:55,664 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.81 confirmed at Verifier
|
||||
2026-01-11 01:59:55,733 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 01:59:56,770 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 200 frames...
|
||||
2026-01-11 02:00:00,183 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.95
|
||||
2026-01-11 02:00:00,228 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.95 confirmed at Verifier
|
||||
2026-01-11 02:00:00,288 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.98
|
||||
2026-01-11 02:00:00,290 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:00,309 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.98 confirmed at Verifier
|
||||
2026-01-11 02:00:00,362 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:00:00,397 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:00:00,451 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:00:00,474 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:00:00,526 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:00:00,559 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:00:00,714 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:00:00,715 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.156s (Slow)
|
||||
2026-01-11 02:00:00,728 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:00:00,779 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.98
|
||||
2026-01-11 02:00:00,795 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:00,822 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.98 confirmed at Verifier
|
||||
2026-01-11 02:00:00,871 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.98
|
||||
2026-01-11 02:00:00,898 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.98 confirmed at Verifier
|
||||
2026-01-11 02:00:00,953 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:00:00,973 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:00:01,059 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.99
|
||||
2026-01-11 02:00:01,119 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.99 confirmed at Verifier
|
||||
2026-01-11 02:00:01,183 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:01,194 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.99
|
||||
2026-01-11 02:00:01,197 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.99 confirmed at Verifier
|
||||
2026-01-11 02:00:01,239 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.97
|
||||
2026-01-11 02:00:01,272 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.97 confirmed at Verifier
|
||||
2026-01-11 02:00:01,478 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.124s (Slow)
|
||||
2026-01-11 02:00:03,769 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 300 frames...
|
||||
2026-01-11 02:00:06,642 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.90
|
||||
2026-01-11 02:00:06,650 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.90 confirmed at Verifier
|
||||
2026-01-11 02:00:06,701 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:07,362 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.84
|
||||
2026-01-11 02:00:07,425 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.84 confirmed at Verifier
|
||||
2026-01-11 02:00:07,482 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:07,756 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.110s (Slow)
|
||||
2026-01-11 02:00:08,038 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.97
|
||||
2026-01-11 02:00:08,098 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.97 confirmed at Verifier
|
||||
2026-01-11 02:00:08,161 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:08,191 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.93
|
||||
2026-01-11 02:00:08,250 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.93 confirmed at Verifier
|
||||
2026-01-11 02:00:08,305 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:08,341 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.95
|
||||
2026-01-11 02:00:08,403 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.95 confirmed at Verifier
|
||||
2026-01-11 02:00:08,460 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:08,480 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.90
|
||||
2026-01-11 02:00:08,560 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.90 confirmed at Verifier
|
||||
2026-01-11 02:00:08,612 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:08,638 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.96
|
||||
2026-01-11 02:00:08,707 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.96 confirmed at Verifier
|
||||
2026-01-11 02:00:08,763 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:08,792 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.94
|
||||
2026-01-11 02:00:08,843 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.94 confirmed at Verifier
|
||||
2026-01-11 02:00:08,905 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:08,921 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.91
|
||||
2026-01-11 02:00:08,925 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.91 confirmed at Verifier
|
||||
2026-01-11 02:00:09,126 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.89
|
||||
2026-01-11 02:00:09,169 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.89 confirmed at Verifier
|
||||
2026-01-11 02:00:09,223 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:09,468 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.96
|
||||
2026-01-11 02:00:09,471 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.96 confirmed at Verifier
|
||||
2026-01-11 02:00:09,530 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071588 extended due to new detection.
|
||||
2026-01-11 02:00:09,659 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.104s (Slow)
|
||||
2026-01-11 02:00:10,124 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.123s (Slow)
|
||||
2026-01-11 02:00:11,328 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 400 frames...
|
||||
2026-01-11 02:00:14,426 | INFO | MainThread | pipeline.outputs._stop_event:131 - Finished recording event 1768071588
|
||||
2026-01-11 02:00:15,329 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 500 frames...
|
||||
2026-01-11 02:00:15,824 | INFO | MainThread | pipeline.sources.stream:49 - End of video file reached.
|
||||
2026-01-11 02:00:15,855 | INFO | MainThread | pipeline.core.process_stream:130 - Stream processing finished.
|
||||
2026-01-11 02:00:17,022 | INFO | MainThread | pipeline.outputs.close:318 - VideoFileStore closed.
|
||||
2026-01-11 02:00:17,022 | INFO | MainThread | pipeline.outputs.close:137 - SmartEventSink closed.
|
||||
2026-01-11 02:02:42,895 | INFO | MainThread | main.main:97 - Loading models... Person: models/human-det-best.pt, Cig: models/cig-det-best.pt, Verifier: models/cig-cls-best.pt
|
||||
2026-01-11 02:02:42,895 | INFO | MainThread | pipeline.models.__init__:22 - Loading Person Detector: models/human-det-best.pt
|
||||
2026-01-11 02:02:42,924 | INFO | MainThread | pipeline.models.__init__:49 - Loading Cigarette Detector: models/cig-det-best.pt
|
||||
2026-01-11 02:02:42,964 | INFO | MainThread | pipeline.models.__init__:77 - Loading Smoking Classifier: models/cig-cls-best.pt
|
||||
2026-01-11 02:02:43,140 | INFO | MainThread | pipeline.outputs.__init__:204 - Initialized Async VideoFileStore writing to output.mp4
|
||||
2026-01-11 02:02:43,141 | INFO | MainThread | pipeline.outputs.__init__:49 - Initialized SmartEventSink in events
|
||||
2026-01-11 02:02:43,142 | INFO | MainThread | pipeline.outputs.__init__:149 - Initialized FileAlertStore writing to alerts.jsonl
|
||||
2026-01-11 02:02:43,142 | INFO | MainThread | pipeline.core.__init__:52 - Pipeline initialized with 3 sinks. Async Inference enabled.
|
||||
2026-01-11 02:02:43,142 | INFO | MainThread | pipeline.core.process_stream:58 - Starting stream processing...
|
||||
2026-01-11 02:02:43,142 | INFO | MainThread | pipeline.sources.stream:43 - Opening video file: .\Group_project_smoking_detection\img\vecteezy_man-lights-a-cigarette-and-smokes-it_2657337.mov
|
||||
2026-01-11 02:02:44,358 | INFO | MainThread | pipeline.core.process_stream:81 - Frame 45: Activity detected! Switching to ACTIVE mode (0s interval).
|
||||
2026-01-11 02:02:44,490 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.132s (Slow)
|
||||
2026-01-11 02:02:44,601 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.102s (Slow)
|
||||
2026-01-11 02:02:45,734 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 100 frames...
|
||||
2026-01-11 02:02:46,756 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.132s (Slow)
|
||||
2026-01-11 02:02:46,925 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.121s (Slow)
|
||||
2026-01-11 02:02:47,748 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.86
|
||||
2026-01-11 02:02:47,800 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.86 confirmed at Verifier
|
||||
2026-01-11 02:02:50,001 | INFO | MainThread | pipeline.outputs._trigger_event:97 - Started recording event 1768071767
|
||||
2026-01-11 02:02:53,377 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.81
|
||||
2026-01-11 02:02:53,415 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.81 confirmed at Verifier
|
||||
2026-01-11 02:02:53,470 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:02:54,478 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 200 frames...
|
||||
2026-01-11 02:02:57,925 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.95
|
||||
2026-01-11 02:02:57,995 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.95 confirmed at Verifier
|
||||
2026-01-11 02:02:58,062 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:02:58,125 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:02:58,126 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.131s (Slow)
|
||||
2026-01-11 02:02:58,181 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:02:58,250 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:02:58,306 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:02:58,306 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.126s (Slow)
|
||||
2026-01-11 02:02:58,345 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:02:58,395 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:02:58,509 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.99
|
||||
2026-01-11 02:02:58,510 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.165s (Slow)
|
||||
2026-01-11 02:02:58,577 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.99 confirmed at Verifier
|
||||
2026-01-11 02:02:58,637 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:02:58,688 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:02:58,689 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.112s (Slow)
|
||||
2026-01-11 02:02:58,743 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:02:58,805 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:02:58,848 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:02:58,848 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.105s (Slow)
|
||||
2026-01-11 02:02:58,900 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:02:58,950 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:02:59,000 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.97
|
||||
2026-01-11 02:02:59,000 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.101s (Slow)
|
||||
2026-01-11 02:02:59,056 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.97 confirmed at Verifier
|
||||
2026-01-11 02:02:59,114 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:02:59,221 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.165s (Slow)
|
||||
2026-01-11 02:02:59,540 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.101s (Slow)
|
||||
2026-01-11 02:02:59,855 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.115s (Slow)
|
||||
2026-01-11 02:03:00,007 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.107s (Slow)
|
||||
2026-01-11 02:03:00,171 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.110s (Slow)
|
||||
2026-01-11 02:03:01,059 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.110s (Slow)
|
||||
2026-01-11 02:03:01,221 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.104s (Slow)
|
||||
2026-01-11 02:03:01,507 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 300 frames...
|
||||
2026-01-11 02:03:01,535 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.101s (Slow)
|
||||
2026-01-11 02:03:01,847 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.103s (Slow)
|
||||
2026-01-11 02:03:02,564 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.101s (Slow)
|
||||
2026-01-11 02:03:02,735 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.112s (Slow)
|
||||
2026-01-11 02:03:02,892 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.113s (Slow)
|
||||
2026-01-11 02:03:03,040 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.109s (Slow)
|
||||
2026-01-11 02:03:03,176 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.101s (Slow)
|
||||
2026-01-11 02:03:03,696 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.101s (Slow)
|
||||
2026-01-11 02:03:04,022 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.107s (Slow)
|
||||
2026-01-11 02:03:04,461 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.90
|
||||
2026-01-11 02:03:04,462 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.110s (Slow)
|
||||
2026-01-11 02:03:04,511 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.90 confirmed at Verifier
|
||||
2026-01-11 02:03:04,569 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:03:04,614 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.103s (Slow)
|
||||
2026-01-11 02:03:04,778 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.101s (Slow)
|
||||
2026-01-11 02:03:04,932 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.106s (Slow)
|
||||
2026-01-11 02:03:05,087 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.104s (Slow)
|
||||
2026-01-11 02:03:05,519 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.102s (Slow)
|
||||
2026-01-11 02:03:05,820 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.97
|
||||
2026-01-11 02:03:05,820 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.114s (Slow)
|
||||
2026-01-11 02:03:05,867 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.97 confirmed at Verifier
|
||||
2026-01-11 02:03:05,922 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:03:06,022 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.93
|
||||
2026-01-11 02:03:06,022 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.155s (Slow)
|
||||
2026-01-11 02:03:06,080 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.93 confirmed at Verifier
|
||||
2026-01-11 02:03:06,136 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:03:06,211 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.89
|
||||
2026-01-11 02:03:06,211 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:190 - Inference took 0.132s (Slow)
|
||||
2026-01-11 02:03:06,249 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.89 confirmed at Verifier
|
||||
2026-01-11 02:03:06,304 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:03:06,343 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.97
|
||||
2026-01-11 02:03:06,393 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.97 confirmed at Verifier
|
||||
2026-01-11 02:03:06,442 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.93
|
||||
2026-01-11 02:03:06,459 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:03:06,477 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.93 confirmed at Verifier
|
||||
2026-01-11 02:03:06,566 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.94
|
||||
2026-01-11 02:03:06,623 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.94 confirmed at Verifier
|
||||
2026-01-11 02:03:06,687 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:03:06,714 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.91
|
||||
2026-01-11 02:03:06,779 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.91 confirmed at Verifier
|
||||
2026-01-11 02:03:06,835 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:03:07,160 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:165 - CONFIRMED SMOKING! Score: 0.87
|
||||
2026-01-11 02:03:07,212 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.87 confirmed at Verifier
|
||||
2026-01-11 02:03:07,271 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768071767 extended due to new detection.
|
||||
2026-01-11 02:03:08,923 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 400 frames...
|
||||
2026-01-11 02:03:11,810 | INFO | MainThread | pipeline.outputs._stop_event:131 - Finished recording event 1768071767
|
||||
2026-01-11 02:03:12,699 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 500 frames...
|
||||
2026-01-11 02:03:12,862 | INFO | MainThread | pipeline.sources.stream:49 - End of video file reached.
|
||||
2026-01-11 02:03:12,895 | INFO | MainThread | pipeline.core.process_stream:130 - Stream processing finished.
|
||||
2026-01-11 02:03:14,287 | INFO | MainThread | pipeline.outputs.close:318 - VideoFileStore closed.
|
||||
2026-01-11 02:03:14,287 | INFO | MainThread | pipeline.outputs.close:137 - SmartEventSink closed.
|
||||
2026-01-11 02:10:20,713 | INFO | MainThread | main.main:97 - Loading models... Person: models/human-det-best.pt, Cig: models/cig-det-best.pt, Verifier: models/cig-cls-best.pt
|
||||
2026-01-11 02:10:20,713 | INFO | MainThread | pipeline.models.__init__:22 - Loading Person Detector: models/human-det-best.pt
|
||||
2026-01-11 02:10:20,744 | INFO | MainThread | pipeline.models.__init__:49 - Loading Cigarette Detector: models/cig-det-best.pt
|
||||
2026-01-11 02:10:20,785 | INFO | MainThread | pipeline.models.__init__:77 - Loading Smoking Classifier: models/cig-cls-best.pt
|
||||
2026-01-11 02:10:20,964 | INFO | MainThread | pipeline.outputs.__init__:204 - Initialized Async VideoFileStore writing to output.mp4
|
||||
2026-01-11 02:10:20,966 | INFO | MainThread | pipeline.outputs.__init__:49 - Initialized SmartEventSink in events
|
||||
2026-01-11 02:10:20,966 | INFO | MainThread | pipeline.outputs.__init__:149 - Initialized FileAlertStore writing to alerts.jsonl
|
||||
2026-01-11 02:10:20,966 | INFO | MainThread | pipeline.core.__init__:52 - Pipeline initialized with 3 sinks. Async Inference enabled.
|
||||
2026-01-11 02:10:20,967 | INFO | MainThread | pipeline.core.process_stream:58 - Starting stream processing...
|
||||
2026-01-11 02:10:20,967 | INFO | MainThread | pipeline.sources.stream:43 - Opening video file: .\Group_project_smoking_detection\img\vecteezy_man-lights-a-cigarette-and-smokes-it_2657337.mov
|
||||
2026-01-11 02:10:22,182 | INFO | MainThread | pipeline.core.process_stream:81 - Frame 42: Activity detected! Switching to ACTIVE mode (0s interval).
|
||||
2026-01-11 02:10:22,304 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.121s (Slow)
|
||||
2026-01-11 02:10:22,414 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.101s (Slow)
|
||||
2026-01-11 02:10:23,648 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 100 frames...
|
||||
2026-01-11 02:10:24,659 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.134s (Slow)
|
||||
2026-01-11 02:10:24,834 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.138s (Slow)
|
||||
2026-01-11 02:10:25,650 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.86
|
||||
2026-01-11 02:10:25,720 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.86 confirmed at Verifier
|
||||
2026-01-11 02:10:27,899 | INFO | MainThread | pipeline.outputs._trigger_event:97 - Started recording event 1768072225
|
||||
2026-01-11 02:10:31,119 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.81
|
||||
2026-01-11 02:10:31,158 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.81 confirmed at Verifier
|
||||
2026-01-11 02:10:31,208 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:32,228 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 200 frames...
|
||||
2026-01-11 02:10:35,482 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.95
|
||||
2026-01-11 02:10:35,505 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.95 confirmed at Verifier
|
||||
2026-01-11 02:10:35,562 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:35,587 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.98
|
||||
2026-01-11 02:10:35,654 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.98 confirmed at Verifier
|
||||
2026-01-11 02:10:35,714 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:35,736 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:10:35,809 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:10:35,868 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:35,967 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:10:35,967 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.159s (Slow)
|
||||
2026-01-11 02:10:36,030 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:10:36,092 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:36,099 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.98
|
||||
2026-01-11 02:10:36,112 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.98 confirmed at Verifier
|
||||
2026-01-11 02:10:36,193 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:10:36,255 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:10:36,324 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:36,346 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 1.00
|
||||
2026-01-11 02:10:36,411 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 1.00 confirmed at Verifier
|
||||
2026-01-11 02:10:36,473 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:36,485 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.97
|
||||
2026-01-11 02:10:36,496 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.97 confirmed at Verifier
|
||||
2026-01-11 02:10:36,760 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.119s (Slow)
|
||||
2026-01-11 02:10:37,426 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.107s (Slow)
|
||||
2026-01-11 02:10:37,598 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.113s (Slow)
|
||||
2026-01-11 02:10:38,341 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.104s (Slow)
|
||||
2026-01-11 02:10:38,985 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 300 frames...
|
||||
2026-01-11 02:10:40,039 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.105s (Slow)
|
||||
2026-01-11 02:10:41,778 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.90
|
||||
2026-01-11 02:10:41,832 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.90 confirmed at Verifier
|
||||
2026-01-11 02:10:41,893 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:42,087 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.105s (Slow)
|
||||
2026-01-11 02:10:42,242 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.112s (Slow)
|
||||
2026-01-11 02:10:42,407 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.109s (Slow)
|
||||
2026-01-11 02:10:42,530 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.100s (Slow)
|
||||
2026-01-11 02:10:42,845 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.107s (Slow)
|
||||
2026-01-11 02:10:43,152 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.97
|
||||
2026-01-11 02:10:43,152 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.123s (Slow)
|
||||
2026-01-11 02:10:43,198 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.97 confirmed at Verifier
|
||||
2026-01-11 02:10:43,262 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:43,345 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.93
|
||||
2026-01-11 02:10:43,345 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.148s (Slow)
|
||||
2026-01-11 02:10:43,382 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.93 confirmed at Verifier
|
||||
2026-01-11 02:10:43,445 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:43,475 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.95
|
||||
2026-01-11 02:10:43,545 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.95 confirmed at Verifier
|
||||
2026-01-11 02:10:43,594 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:43,630 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.90
|
||||
2026-01-11 02:10:43,679 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.90 confirmed at Verifier
|
||||
2026-01-11 02:10:43,743 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:43,766 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.96
|
||||
2026-01-11 02:10:43,837 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.96 confirmed at Verifier
|
||||
2026-01-11 02:10:43,900 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:43,982 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.94
|
||||
2026-01-11 02:10:43,982 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.146s (Slow)
|
||||
2026-01-11 02:10:44,016 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.94 confirmed at Verifier
|
||||
2026-01-11 02:10:44,074 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:44,124 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.91
|
||||
2026-01-11 02:10:44,124 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.109s (Slow)
|
||||
2026-01-11 02:10:44,172 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.91 confirmed at Verifier
|
||||
2026-01-11 02:10:44,233 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:44,279 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.107s (Slow)
|
||||
2026-01-11 02:10:44,501 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.107s (Slow)
|
||||
2026-01-11 02:10:44,650 | INFO | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:168 - CONFIRMED SMOKING! Score: 0.96
|
||||
2026-01-11 02:10:44,651 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.105s (Slow)
|
||||
2026-01-11 02:10:44,714 | INFO | MainThread | pipeline.outputs.handle:168 - [ALERT SAVED] 0.96 confirmed at Verifier
|
||||
2026-01-11 02:10:44,764 | DEBUG | MainThread | pipeline.outputs.handle:68 - Event 1768072225 extended due to new detection.
|
||||
2026-01-11 02:10:44,827 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.113s (Slow)
|
||||
2026-01-11 02:10:45,119 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.100s (Slow)
|
||||
2026-01-11 02:10:45,282 | DEBUG | ThreadPoolExecutor-0_0 | pipeline.core._run_inference:193 - Inference took 0.110s (Slow)
|
||||
2026-01-11 02:10:46,315 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 400 frames...
|
||||
2026-01-11 02:10:49,179 | INFO | MainThread | pipeline.outputs._stop_event:131 - Finished recording event 1768072225
|
||||
2026-01-11 02:10:50,041 | INFO | MainThread | pipeline.core.process_stream:64 - Processed 500 frames...
|
||||
2026-01-11 02:10:50,214 | INFO | MainThread | pipeline.sources.stream:49 - End of video file reached.
|
||||
2026-01-11 02:10:50,252 | INFO | MainThread | pipeline.core.process_stream:133 - Stream processing finished.
|
||||
2026-01-11 02:10:51,666 | INFO | MainThread | pipeline.outputs.close:318 - VideoFileStore closed.
|
||||
2026-01-11 02:10:51,667 | INFO | MainThread | pipeline.outputs.close:137 - SmartEventSink closed.
|
||||
LFS
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
+26
-14
@@ -114,11 +114,8 @@ class SmokingDetectionPipeline:
|
||||
self.current_future = self.executor.submit(self._run_inference, frame)
|
||||
|
||||
# 3. Apply cached detections to current frame for visualization
|
||||
# This ensures smooth video output even if inference runs at 10fps
|
||||
frame.detections.extend(self.latest_detections)
|
||||
|
||||
# 4. Run NMS to clean up overlapping boxes before display
|
||||
frame.detections = nms_by_class(frame.detections, iou_threshold=0.5)
|
||||
# This ensures smooth video output even if inference runs at lower fps
|
||||
frame.detections = self.latest_detections.copy()
|
||||
|
||||
# Ticket dispatch: Only attach to ONE frame, then clear
|
||||
# This prevents duplicate alerts in sinks like FileAlertStore
|
||||
@@ -146,6 +143,9 @@ class SmokingDetectionPipeline:
|
||||
|
||||
# --- Step 1: Broad Phase (Person Detection) ---
|
||||
people = self.person_model.predict(frame.data)
|
||||
|
||||
people = nms_by_class(people, iou_threshold=0.7)
|
||||
|
||||
detections.extend(people)
|
||||
|
||||
if not people:
|
||||
@@ -153,13 +153,13 @@ class SmokingDetectionPipeline:
|
||||
return False, detections, None
|
||||
|
||||
# --- Step 2: Narrow Phase (Cigarette Candidate) ---
|
||||
candidates = self._find_candidates(frame, people)
|
||||
candidates = self._find_candidates(frame, people, detections)
|
||||
|
||||
if not candidates:
|
||||
return True, detections, None
|
||||
|
||||
# --- Step 3: Verification (Classifier) ---
|
||||
best_hit = self._verify_candidates(frame, candidates)
|
||||
best_hit = self._verify_candidates(frame, candidates, detections)
|
||||
|
||||
ticket = None
|
||||
# --- Step 4: Action ---
|
||||
@@ -188,6 +188,9 @@ class SmokingDetectionPipeline:
|
||||
)
|
||||
detections.append(verified_det)
|
||||
|
||||
# Clean up overlapping boxes from model output
|
||||
detections = nms_by_class(detections, iou_threshold=0.5)
|
||||
|
||||
dt = time.time() - t0
|
||||
if dt > 0.1:
|
||||
logger.debug("Inference took %.3fs (Slow)", dt)
|
||||
@@ -195,9 +198,13 @@ class SmokingDetectionPipeline:
|
||||
return True, detections, ticket
|
||||
|
||||
def _find_candidates(
|
||||
self, frame: Frame, people: List[Detection]
|
||||
self, frame: Frame, people: List[Detection], detections_out: List[Detection]
|
||||
) -> List[Tuple[Detection, List[Detection], Tuple[int, int]]]:
|
||||
"""Runs cigarette detection on expanded person crops."""
|
||||
"""Runs cigarette detection on expanded person crops.
|
||||
|
||||
Args:
|
||||
detections_out: List to append candidate detections to (thread-safe output)
|
||||
"""
|
||||
candidates = []
|
||||
h_img, w_img = frame.data.shape[:2]
|
||||
margin = 0.2 # 20% expansion
|
||||
@@ -226,12 +233,13 @@ class SmokingDetectionPipeline:
|
||||
# 3. Detect
|
||||
cig_candidates = self.cigarette_model.predict(person_crop)
|
||||
|
||||
# 4. Filter Noise
|
||||
# 4. Filter Noise + NMS (model can return overlapping boxes for same cig)
|
||||
cig_candidates = [
|
||||
c
|
||||
for c in cig_candidates
|
||||
if (c.box.x2 - c.box.x1) >= 10 and (c.box.y2 - c.box.y1) >= 10
|
||||
]
|
||||
cig_candidates = nms_by_class(cig_candidates, iou_threshold=0.5)
|
||||
|
||||
if cig_candidates:
|
||||
candidates.append((person, cig_candidates, (ex1, ey1)))
|
||||
@@ -250,14 +258,18 @@ class SmokingDetectionPipeline:
|
||||
label="candidate_cig",
|
||||
metadata=cig.metadata,
|
||||
)
|
||||
frame.detections.append(global_cig)
|
||||
detections_out.append(global_cig)
|
||||
|
||||
return candidates
|
||||
|
||||
def _verify_candidates(
|
||||
self, frame: Frame, candidates: List[Tuple]
|
||||
self, frame: Frame, candidates: List[Tuple], detections_out: List[Detection]
|
||||
) -> Optional[Tuple]:
|
||||
"""Runs verification on candidate crops."""
|
||||
"""Runs verification on candidate crops.
|
||||
|
||||
Args:
|
||||
detections_out: List to append verified detections to (thread-safe output)
|
||||
"""
|
||||
confirmed_hits = []
|
||||
|
||||
for person, cigs, (ex1, ey1) in candidates:
|
||||
@@ -305,7 +317,7 @@ class SmokingDetectionPipeline:
|
||||
label="verified_smoking",
|
||||
metadata={"verifier_score": score},
|
||||
)
|
||||
frame.detections.append(verified_det)
|
||||
detections_out.append(verified_det)
|
||||
|
||||
if confirmed_hits:
|
||||
return max(confirmed_hits, key=lambda x: x[2])
|
||||
|
||||
Reference in new issue
Block a user