viseron icon indicating copy to clipboard operation
viseron copied to clipboard

Python3 high cpu usage and error

Open Ranger21 opened this issue 1 month ago • 2 comments

[2024-05-20 10:56:59] [INFO ] [viseron.components] - Setup of component darknet took 0.2 seconds [2024-05-20 10:56:59] [INFO ] [viseron.components] - Setting up domain camera for component ffmpeg with identifier camera_1 [2024-05-20 10:56:59] [INFO ] [viseron.components] - Setting up domain object_detector for component darknet with identifier camera_1 [2024-05-20 10:56:59] [INFO ] [viseron.components] - Setting up domain nvr for component nvr with identifier camera_1 [2024-05-20 10:56:59] [INFO ] [viseron.components] - Setup of domain camera for component ffmpeg with identifier camera_1 took 0.2 seconds [2024-05-20 10:56:59] [WARNING ] [viseron.components.darknet.object_detector.camera_1] - scan_on_motion_only is enabled but no motion detector is configured. Disabling scan_on_motion_only [2024-05-20 10:56:59] [INFO ] [viseron.components] - Setup of domain object_detector for component darknet with identifier camera_1 took 0.0 seconds [2024-05-20 10:56:59] [INFO ] [viseron.components.nvr.nvr.camera_1] - Motion detector is disabled [2024-05-20 10:56:59] [INFO ] [viseron.components.nvr.nvr.camera_1] - NVR for camera varshpc initialized [2024-05-20 10:56:59] [INFO ] [viseron.components] - Setup of domain nvr for component nvr with identifier camera_1 took 0.0 seconds [2024-05-20 10:56:59] [INFO ] [viseron.core] - Viseron initialized in 1.0 seconds [ WARN:[email protected]] global /tmp/opencv/modules/core/src/utils/filesystem.cpp (489) getCacheDirectory Using world accessible cache directory. This may be not secure: /var/tmp/ [2024-05-20 10:57:04] [ERROR ] [viseron.components.nvr.nvr.camera_1] - Failed to retrieve result for object_detector [2024-05-20 11:02:19] [INFO ] [viseron.core] - Initiating shutdown [2024-05-20 11:02:19] [INFO ] [viseron.components.nvr.nvr.camera_1] - Stopping NVR thread [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [2024-05-20 11:02:22] [INFO ] [viseron.core] - Shutdown complete [viseron-finish] Viseron exit code 0 s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... usermod: no changes ************************ UID/GID ************************* User uid: 2 User gid: 2 ************************** Done ************************** [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-gid-video-device: executing... [cont-init.d] 20-gid-video-device: exited 0. [cont-init.d] 30-edgetpu-permission: executing... ************** Setting EdgeTPU permissions *************** Coral Vendor IDs: "1a6e" "18d1" No EdgeTPU USB device was found No EdgeTPU PCI device was found ************************** Done ************************** [cont-init.d] 30-edgetpu-permission: exited 0. [cont-init.d] 40-set-env-vars: executing... ****** Checking for hardware acceleration platforms ****** OpenCL is available! VA-API cannot be used CUDA cannot be used *********************** Done ***************************** [cont-init.d] 40-set-env-vars: exited 0. [cont-init.d] 50-check-if-rpi: executing... ********** Checking if we are running on an RPi ********** Not running on any supported RPi *********************** Done ***************************** [cont-init.d] 50-check-if-rpi: exited 0. [cont-init.d] 55-check-if-jetson: executing... ****** Checking if we are running on a Jetson Board ****** Not running on any supported Jetson board *********************** Done ***************************** [cont-init.d] 55-check-if-jetson: exited 0. [cont-init.d] 60-ffmpeg-path: executing... ****************** Getting FFmpeg path ******************* FFmpeg path: /home/abc/bin/ffmpeg *********************** Done ***************************** [cont-init.d] 60-ffmpeg-path: exited 0. [cont-init.d] 70-gstreamer-path: executing... ***************** Getting GStreamer path ***************** GStreamer path: /usr/bin/gst-launch-1.0 *********************** Done ***************************** [cont-init.d] 70-gstreamer-path: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [2024-05-20 11:02:27] [INFO ] [viseron.core] - ------------------------------------------- [2024-05-20 11:02:27] [INFO ] [viseron.core] - Initializing Viseron [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setting up component data_stream [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setup of component data_stream took 0.0 seconds [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setting up component webserver [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setup of component webserver took 0.0 seconds [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setting up component darknet [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setting up component ffmpeg [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setting up component nvr [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setup of component nvr took 0.0 seconds [2024-05-20 11:02:27] [INFO ] [viseron.components] - Setup of component ffmpeg took 0.0 seconds [2024-05-20 11:02:28] [INFO ] [viseron.components] - Setup of component darknet took 0.1 seconds [2024-05-20 11:02:28] [INFO ] [viseron.components] - Setting up domain camera for component ffmpeg with identifier camera_1 [2024-05-20 11:02:28] [INFO ] [viseron.components] - Setting up domain object_detector for component darknet with identifier camera_1 [2024-05-20 11:02:28] [INFO ] [viseron.components] - Setting up domain nvr for component nvr with identifier camera_1 [2024-05-20 11:02:28] [INFO ] [viseron.components] - Setup of domain camera for component ffmpeg with identifier camera_1 took 0.2 seconds [2024-05-20 11:02:28] [WARNING ] [viseron.components.darknet.object_detector.camera_1] - scan_on_motion_only is enabled but no motion detector is configured. Disabling scan_on_motion_only [2024-05-20 11:02:28] [INFO ] [viseron.components] - Setup of domain object_detector for component darknet with identifier camera_1 took 0.0 seconds [2024-05-20 11:02:28] [INFO ] [viseron.components.nvr.nvr.camera_1] - Motion detector is disabled [2024-05-20 11:02:28] [INFO ] [viseron.components.nvr.nvr.camera_1] - NVR for camera varshpc initialized [2024-05-20 11:02:28] [INFO ] [viseron.components] - Setup of domain nvr for component nvr with identifier camera_1 took 0.0 seconds [2024-05-20 11:02:28] [INFO ] [viseron.core] - Viseron initialized in 0.9 seconds [ WARN:[email protected]] global /tmp/opencv/modules/core/src/utils/filesystem.cpp (489) getCacheDirectory Using world accessible cache directory. This may be not secure: /var/tmp/ [2024-05-20 11:02:33] [ERROR ] [viseron.components.nvr.nvr.camera_1] - Failed to retrieve result for object_detector

What is viseron.components.nvr.nvr.camera_1] - Failed to retrieve result for object_detector and how to resolve it?

Ranger21 avatar May 20 '24 08:05 Ranger21