It appears the latest version is out. I haven't tried it yet to see if it fixes the issues.
My main Blue Iris system I have RTX 3060 for AI. The Orange Pi5 Rockchip will do both LPR and object detection. There is a bug that causes the detection times to slowdown after a while that I have not found the fixed yet.
How many cameras are you running ai on and what resolution? I run CPAI on all my machines using the cpu and/or intel gpu with no issues.Mike do you have a wattage measuring plug and if so, what wattage is your BI PC drawing with a 3060?
I haven't had much success with Coral AI but over the pond here, electricty is really expensive atm. eg. We're paying approx 33 cents per unit + 5% VAT on top making low wattage solution a must have for many.
How many cameras are you running ai on and what resolution? I run CPAI on all my machines using the cpu and/or intel gpu with no issues.
For what it’s worth, I recently rewrote the CPAI Coral implementation and it was accepted into the mainline branch a few days ago. Now it handles multithreaded code, multi TPUs, and segmented inference pipelines. There are a few things left to do, but hopefully this next version is more effective.Mike do you have a wattage measuring plug and if so, what wattage is your BI PC drawing with a 3060?
I haven't had much success with Coral AI but over the pond here, electricty is really expensive atm. eg. We're paying approx 33 cents per unit + 5% VAT on top making low wattage solution a must have for many.
What do you mean compressed in camera? I believe you are just confusing bytes and bits...https://ipcamtalk.com/threads/bit-rate.61091/Just the two. 2 @ 4K 16800kbs = @ 4,000KBS stream to BI when compressed in camera . The sub streams at 1080P 4,000kbs = 1,000 kbs istreamed to BI.
According to an in the wall power plug, electricty comsumption for the BI PC at idle is around 50w peaking to around 60-70w with activity.
At 60w average that's costing @$170 a year:
Electricity Cost Calculator
Use our simple energy calculator to see the running costs of any electrical items using a range of electricity tariffswww.sust-it.net
Do you have a Graphics Card GPU?Just the two. 2 @ 4K 16800kbs = @ 4,000KBS stream to BI when compressed in camera . The sub streams at 1080P 4,000kbs = 1,000 kbs istreamed to BI.
According to an in the wall power plug, electricty comsumption for the BI PC at idle is around 50w peaking to around 60-70w with activity.
At 60w average that's costing @$170 a year:
Electricity Cost Calculator
Use our simple energy calculator to see the running costs of any electrical items using a range of electricity tariffswww.sust-it.net
12:12:07:ObjectDetectionCoral went quietly
12:12:07:
12:12:07:Module 'Object Detection (Coral)' 2.0.3 (ID: ObjectDetectionCoral)
12:12:07:Valid: True
12:12:07:Module Path: <root>\modules\ObjectDetectionCoral
12:12:07:AutoStart: True
12:12:07:Queue: objectdetection_queue
12:12:07:Runtime: python3.9
12:12:07:Runtime Loc: Local
12:12:07:FilePath: objectdetection_coral_adapter.py
12:12:07:Pre installed: False
12:12:07:Start pause: 1 sec
12:12:07:LogVerbosity:
12:12:07:Platforms: all
12:12:07:GPU Libraries: installed if available
12:12:07:GPU Enabled: enabled
12:12:07:Parallelism: 1
12:12:07:Accelerator:
12:12:07:Half Precis.: enable
12:12:07:Environment Variables
12:12:07:CPAI_CORAL_MULTI_TPU = True
12:12:07:CPAI_CORAL_USE_YOLO = true
12:12:07:MODELS_DIR = <root>\modules\ObjectDetectionCoral\assets
12:12:07:MODEL_SIZE = medium
12:12:07:
12:12:07:Started Object Detection (Coral) module
12:14:09:objectdetection_coral_adapter.py: WARNING:root:No work in 120.0 seconds, watchdog shutting down TPU runners!
12:14:09:objectdetection_coral_adapter.py: WARNING: Logging before InitGoogleLogging() is written to STDERR
12:14:09:objectdetection_coral_adapter.py: I20240119 12:14:09.623443 15248 pipelined_model_runner.cc:171] Thread: 15248 receives empty request
12:14:09:objectdetection_coral_adapter.py: I20240119 12:14:09.623443 15248 pipelined_model_runner.cc:244] Thread: 15248 is shutting down the pipeline...
12:14:09:objectdetection_coral_adapter.py: I20240119 12:14:09.623443 15248 pipelined_model_runner.cc:254] Thread: 15248 Pipeline is off.
16:41:58:Update ObjectDetectionYOLOv5Net. Setting AutoStart=false
16:41:58:Sending shutdown request to ObjectDetectionYOLOv5Net/ObjectDetectionYOLOv5Net
16:41:58:Client request 'Quit' in queue 'objectdetection_queue' (...08ff56)
16:41:58:Request 'Quit' dequeued from 'objectdetection_queue' (...08ff56)
16:41:58:ObjectDetectionYOLOv5Net.exe: Application is shutting down...
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Unable to get request from objectdetection_queue for ObjectDetectionYOLOv5Net
16:41:58:ObjectDetectionYOLOv5Net.exe: Shutdown signal received. Ending loop
16:41:58:ObjectDetectionYOLOv5Net.exe: Shutdown signal received. Ending loop
16:41:58:ObjectDetectionYOLOv5Net.exe: Shutdown signal received. Ending loop
16:41:58:ObjectDetectionYOLOv5Net.exe: Shutdown signal received. Ending loop
16:41:58:ObjectDetectionYOLOv5Net.exe: Shutdown signal received. Ending loop
16:41:59:Module ObjectDetectionYOLOv5Net has shutdown
16:41:59:ObjectDetectionYOLOv5Net.exe: has exited
16:42:31:ObjectDetectionYOLOv5Net went quietly
16:42:41:Running module using: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python
16:42:41:Update ObjectDetectionCoral. Setting AutoStart=true
16:42:41:Starting C:\Program Files...ws\python39\venv\Scripts\python "C:\Program Files...ectdetection_coral_adapter.py"
16:42:41:
16:42:41:
16:42:41:Attempting to start ObjectDetectionCoral with C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_adapter.py"
16:42:41:Module 'Object Detection (Coral)' 2.0.3 (ID: ObjectDetectionCoral)
16:42:41:Valid: True
16:42:41:Module Path: <root>\modules\ObjectDetectionCoral
16:42:41:AutoStart: True
16:42:41:Queue: objectdetection_queue
16:42:41:Runtime: python3.9
16:42:41:Runtime Loc: Local
16:42:41:FilePath: objectdetection_coral_adapter.py
16:42:41:Pre installed: False
16:42:41:Start pause: 1 sec
16:42:41:LogVerbosity:
16:42:41:Platforms: all
16:42:41:GPU Libraries: installed if available
16:42:41:GPU Enabled: enabled
16:42:41:Parallelism: 1
16:42:41:Accelerator:
16:42:41:Half Precis.: enable
16:42:41:Environment Variables
16:42:41:CPAI_CORAL_MULTI_TPU = True
16:42:41:CPAI_CORAL_USE_YOLO = true
16:42:41:MODELS_DIR = <root>\modules\ObjectDetectionCoral\assets
16:42:41:MODEL_SIZE = medium
16:42:41:
16:42:41:Started Object Detection (Coral) module
16:44:44:objectdetection_coral_adapter.py: WARNING:root:No work in 120.0 seconds, watchdog shutting down TPU runners!
16:44:44:objectdetection_coral_adapter.py: WARNING: Logging before InitGoogleLogging() is written to STDERR
16:44:44:objectdetection_coral_adapter.py: I20240119 16:44:44.554811 11144 pipelined_model_runner.cc:171] Thread: 11144 receives empty request
16:44:44:objectdetection_coral_adapter.py: I20240119 16:44:44.554811 11144 pipelined_model_runner.cc:244] Thread: 11144 is shutting down the pipeline...
16:44:44:objectdetection_coral_adapter.py: I20240119 16:44:44.554811 11144 pipelined_model_runner.cc:254] Thread: 11144 Pipeline is off.
16:47:01:Forcing shutdown of python/ObjectDetectionCoral
16:47:01:Module ObjectDetectionCoral has shutdown
16:47:01:Waiting for ObjectDetectionCoral to end.
16:47:01:objectdetection_coral_adapter.py: has exited
16:47:01:ObjectDetectionCoral ended after 111 ms
16:47:01:Running module using: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python
16:47:01:Starting C:\Program Files...ws\python39\venv\Scripts\python "C:\Program Files...ectdetection_coral_adapter.py"
16:47:01:
16:47:01:
16:47:01:Attempting to start ObjectDetectionCoral with C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_adapter.py"
16:47:01:Module 'Object Detection (Coral)' 2.0.3 (ID: ObjectDetectionCoral)
16:47:01:Valid: True
16:47:01:Module Path: <root>\modules\ObjectDetectionCoral
16:47:01:AutoStart: True
16:47:01:Queue: objectdetection_queue
16:47:01:Runtime: python3.9
16:47:01:Runtime Loc: Local
16:47:01:FilePath: objectdetection_coral_adapter.py
16:47:01:Pre installed: False
16:47:01:Start pause: 1 sec
16:47:01:LogVerbosity:
16:47:01:Platforms: all
16:47:01:GPU Libraries: installed if available
16:47:01:GPU Enabled: enabled
16:47:01:Parallelism: 1
16:47:01:Accelerator:
16:47:01:Half Precis.: enable
16:47:01:Environment Variables
16:47:01:CPAI_CORAL_MULTI_TPU = True
16:47:01:CPAI_CORAL_USE_YOLO = true
16:47:01:MODELS_DIR = <root>\modules\ObjectDetectionCoral\assets
16:47:01:MODEL_SIZE = medium
16:47:01:
16:47:01:Started Object Detection (Coral) module
16:48:54:Client request 'Quit' in queue 'objectdetection_queue' (...9ad588)
16:48:54:Update ObjectDetectionCoral. Setting CPAI_CORAL_MULTI_TPU=True
16:48:54:Sending shutdown request to python/ObjectDetectionCoral
16:49:03:objectdetection_coral_adapter.py: WARNING:root:No work in 120.0 seconds, watchdog shutting down TPU runners!
16:49:03:objectdetection_coral_adapter.py: WARNING: Logging before InitGoogleLogging() is written to STDERR
16:49:03:objectdetection_coral_adapter.py: I20240119 16:49:03.168071 14056 pipelined_model_runner.cc:171] Thread: 14056 receives empty request
16:49:03:objectdetection_coral_adapter.py: I20240119 16:49:03.168071 14056 pipelined_model_runner.cc:244] Thread: 14056 is shutting down the pipeline...
16:49:03:objectdetection_coral_adapter.py: I20240119 16:49:03.168071 14056 pipelined_model_runner.cc:254] Thread: 14056 Pipeline is off.
16:49:27:Forcing shutdown of python/ObjectDetectionCoral
16:49:27:Module ObjectDetectionCoral has shutdown
16:49:27:Waiting for ObjectDetectionCoral to end.
16:49:27:Running module using: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python
16:49:27:objectdetection_coral_adapter.py: has exited
16:49:27:ObjectDetectionCoral ended after 106 ms
16:49:27:Starting C:\Program Files...ws\python39\venv\Scripts\python "C:\Program Files...ectdetection_coral_adapter.py"
16:49:27:
16:49:27:Attempting to start ObjectDetectionCoral with C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_adapter.py"
16:49:27:
16:49:27:Module 'Object Detection (Coral)' 2.0.3 (ID: ObjectDetectionCoral)
16:49:27:Valid: True
16:49:27:Module Path: <root>\modules\ObjectDetectionCoral
16:49:27:AutoStart: True
16:49:27:Queue: objectdetection_queue
16:49:27:Runtime: python3.9
16:49:27:Runtime Loc: Local
16:49:27:FilePath: objectdetection_coral_adapter.py
16:49:27:Pre installed: False
16:49:27:Start pause: 1 sec
16:49:27:LogVerbosity:
16:49:27:Platforms: all
16:49:27:GPU Libraries: installed if available
16:49:27:GPU Enabled: enabled
16:49:27:Parallelism: 1
16:49:27:Accelerator:
16:49:27:Half Precis.: enable
16:49:27:Environment Variables
16:49:27:CPAI_CORAL_MULTI_TPU = True
16:49:27:CPAI_CORAL_USE_YOLO = true
16:49:27:MODELS_DIR = <root>\modules\ObjectDetectionCoral\assets
16:49:27:MODEL_SIZE = medium
16:49:27:
16:49:27:Started Object Detection (Coral) module
16:50:04:Client request 'detect' in queue 'objectdetection_queue' (...a260f6)
16:50:04:Client request 'detect' in queue 'objectdetection_queue' (...d5ea6c)
16:50:05:Client request 'detect' in queue 'objectdetection_queue' (...586cf6)
16:50:06:Client request 'detect' in queue 'objectdetection_queue' (...b7e42b)
16:51:29:objectdetection_coral_adapter.py: WARNING:root:No work in 120.0 seconds, watchdog shutting down TPU runners!
16:51:29:objectdetection_coral_adapter.py: WARNING: Logging before InitGoogleLogging() is written to STDERR
16:51:29:objectdetection_coral_adapter.py: I20240119 16:51:29.429220 1400 pipelined_model_runner.cc:171] Thread: 1400 receives empty request
16:51:29:objectdetection_coral_adapter.py: I20240119 16:51:29.429220 1400 pipelined_model_runner.cc:244] Thread: 1400 is shutting down the pipeline...
16:51:29:objectdetection_coral_adapter.py: I20240119 16:51:29.429977 1400 pipelined_model_runner.cc:254] Thread: 1400 Pipeline is off.
16:53:05:Client request 'Quit' in queue 'objectdetection_queue' (...700ea6)
16:53:05:Update ObjectDetectionCoral. Setting CPAI_CORAL_MULTI_TPU=False
16:53:05:Sending shutdown request to python/ObjectDetectionCoral
16:53:38:Forcing shutdown of python/ObjectDetectionCoral
16:53:38:Module ObjectDetectionCoral has shutdown
16:53:38:Waiting for ObjectDetectionCoral to end.
16:53:38:Running module using: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python
16:53:38:objectdetection_coral_adapter.py: has exited
16:53:38:ObjectDetectionCoral ended after 109 ms
16:53:38:Starting C:\Program Files...ws\python39\venv\Scripts\python "C:\Program Files...ectdetection_coral_adapter.py"
16:53:38:
16:53:38:Module 'Object Detection (Coral)' 2.0.3 (ID: ObjectDetectionCoral)
16:53:38:Valid: True
16:53:38:Module Path: <root>\modules\ObjectDetectionCoral
16:53:38:
16:53:38:Attempting to start ObjectDetectionCoral with C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_adapter.py"
16:53:38:AutoStart: True
16:53:38:Queue: objectdetection_queue
16:53:38:Runtime: python3.9
16:53:38:Runtime Loc: Local
16:53:38:FilePath: objectdetection_coral_adapter.py
16:53:38:Pre installed: False
16:53:38:Start pause: 1 sec
16:53:38:LogVerbosity:
16:53:38:Platforms: all
16:53:38:GPU Libraries: installed if available
16:53:38:GPU Enabled: enabled
16:53:38:Parallelism: 1
16:53:38:Accelerator:
16:53:38:Half Precis.: enable
16:53:38:Environment Variables
16:53:38:CPAI_CORAL_MULTI_TPU = False
16:53:38:CPAI_CORAL_USE_YOLO = true
16:53:38:MODELS_DIR = <root>\modules\ObjectDetectionCoral\assets
16:53:38:MODEL_SIZE = medium
16:53:38:
16:53:38:Started Object Detection (Coral) module
16:53:40:objectdetection_coral_adapter.py: MODULE_PATH: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral
16:53:40:objectdetection_coral_adapter.py: Running init for Object Detection (Coral)
16:53:40:objectdetection_coral_adapter.py: MODELS_DIR: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\assets
16:53:40:objectdetection_coral_adapter.py: MODEL_SIZE: medium
16:53:40:objectdetection_coral_adapter.py: CPU_MODEL_NAME: efficientdet_lite2_448_ptq.tflite
16:53:40:objectdetection_coral_adapter.py: TPU_MODEL_NAME: efficientdet_lite2_448_ptq_edgetpu.tflite
16:53:40:objectdetection_coral_adapter.py: Edge TPU detected
16:53:40:objectdetection_coral_adapter.py: Using Edge TPU
16:53:40:objectdetection_coral_adapter.py: Input details: {'name': 'serving_default_images:0', 'index': 0, 'shape': array([ 1, 448, 448, 3]), 'shape_signature': array([ 1, 448, 448, 3]), 'dtype': , 'quantization': (0.0078125, 127), 'quantization_parameters': {'scales': array([0.0078125], dtype=float32), 'zero_points': array([127]), 'quantized_dimension': 0}, 'sparsity_parameters': {}}
16:53:40:objectdetection_coral_adapter.py: Output details: {'name': 'StatefulPartitionedCall:3', 'index': 16, 'shape': array([ 1, 25, 4]), 'shape_signature': array([ 1, 25, 4]), 'dtype': , 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}
16:53:40:Request 'Quit' dequeued from 'objectdetection_queue' (...eaeb2f)
16:53:40:Request 'Quit' dequeued from 'objectdetection_queue' (...9ad588)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...a260f6)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...d5ea6c)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...586cf6)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...b7e42b)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...402547)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...0cad90)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...500211)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...da423a)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...6d4fb9)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...ad10d7)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...79541c)
16:53:40:Request 'detect' dequeued from 'objectdetection_queue' (...8f98f1)
16:53:40:Object Detection (Coral): Object Detection (Coral) started.
16:53:40:Request 'Quit' dequeued from 'objectdetection_queue' (...700ea6)
What do you mean compressed in camera? I believe you are just confusing bytes and bits...https://ipcamtalk.com/threads/bit-rate.61091/
You can easily run those cams through CPAI on cpu or integrated gpu on any i5 since the second gen
50w is really high for idle..what processor are you using, how many hard drives and what is the cpu load at idle? are you including the cameras power consumption?
Do you have a Graphics Card GPU?