Hi everyone,
I am relatively new to this, but I am working on a project that uses object recognition. I am following this tutorial:
https://core-electronics.com.au/guides/ ... pberry-pi/
Everything is working fine an I can run the script either by using Thonny, as set forth in the tutorial, or I can do it via a terminal window using:
and then:
Both methods work fine, but when I try to autostart using crontab, I get the following error message:
Can someone help me figure out what the problem is? Thanks.
I am relatively new to this, but I am working on a project that uses object recognition. I am following this tutorial:
https://core-electronics.com.au/guides/ ... pberry-pi/
Everything is working fine an I can run the script either by using Thonny, as set forth in the tutorial, or I can do it via a terminal window using:
Code:
source yolo_object/bin/activateCode:
python3 /home/pi/Desktop/yolo/yolo2.pyCode:
[0:00:12.324458695] [858] [1;32m INFO [1;37mCamera [1;34mcamera_manager.cpp:340 [0mlibcamera v0.6.0+rpt20251202[0:00:12.332993862] [1532] [1;32m INFO [1;37mRPI [1;34mpisp.cpp:720 [0mlibpisp version 1.3.0[0:00:12.335371232] [1532] [1;32m INFO [1;37mIPAProxy [1;34mipa_proxy.cpp:180 [0mUsing tuning file /usr/share/libcamera/ipa/rpi/pisp/imx477.json[0:00:12.342287639] [1532] [1;32m INFO [1;37mCamera [1;34mcamera_manager.cpp:223 [0mAdding camera '/base/axi/pcie@1000120000/rp1/i2c@88000/imx477@1a' for pipeline handler rpi/pisp[0:00:12.342312899] [1532] [1;32m INFO [1;37mRPI [1;34mpisp.cpp:1181 [0mRegistered camera /base/axi/pcie@1000120000/rp1/i2c@88000/imx477@1a to CFE device /dev/media3 and ISP device /dev/media0 using PiSP variant BCM2712_D0[0:00:12.345069787] [858] [1;32m INFO [1;37mCamera [1;34mcamera.cpp:1215 [0mconfiguring streams: (0) 1280x1280-RGB888/sRGB (1) 2028x1520-BGGR_PISP_COMP1/RAW[0:00:12.345161695] [1532] [1;32m INFO [1;37mRPI [1;34mpisp.cpp:1485 [0mSensor: /base/axi/pcie@1000120000/rp1/i2c@88000/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12/RAW - Selected CFE format: 2028x1520-PC1B/RAW0: 160x160 (no detections), 186.0msSpeed: 14.5ms preprocess, 186.0ms inference, 20.0ms postprocess per image at shape (1, 3, 160, 160)qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/pi/yolo_object/lib/python3.13/site-packages/cv2/qt/plugins" even though it was found.This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: xcb.Statistics: Posted by kodiak1120 — Mon Jan 12, 2026 4:00 pm — Replies 2 — Views 30