Replies: 1 comment 2 replies
-
It should help when multiple cameras are running detection in parallel. Each detector process is completely independent, so they each have their own inference_time. Have multiple running doesn't have any overhead. The idle ones don't consume much resources. You may want to limit it if you want to limit the CPU usage. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a RPI4 4GB with 5 Hikvision cameras ( width: 704,height: 480 ). I'm currently playing around with testing multiple detectors.
cpu1:
type: cpu
num_threads: 3
cpu2:
type: cpu
num_threads: 3
cpu3:
type: cpu
num_threads: 3
cpu4:
type: cpu
num_threads: 3
cpu5:
type: cpu
num_threads: 3
I know that CPU Detectors are not recommended, but with Coral USB's being not available, there isn't much that can be done.
I have noticed that when all 5 CPU's are used ( 1 for each camera ) that inference speeds are 170-300+.
When I change it to one CPU only inference speeds are about the same or even lower. Processor use is about the same with both.
Are there really performance increases by using multiple CPU's ? Is there a recommended setting for those of us who do not have a Coral USB on our RPI4's ?
Beta Was this translation helpful? Give feedback.
All reactions