Comments (5)
from pi-timolo.
I haven't had any luck with this under bullseye / python3. I'm new to the script, but got it working without issues a few months back. When I returned, I started afresh with a new SD image, which I assume included the OS update.
hugh@zerotwo:~/pi-timolo $ ./pi-timolo.py
-------------------------------------------------------
pi-timolo.py ver 12.52 written by Claude Pageau
-------------------------------------------------------
Loading Wait ....
WARN : Could Not Import pyexiv2. Required for Saving Image EXIF meta data
If Running under python3 then Install pyexiv2 library for python3 per
cd ~/pi-timolo
./install-py3exiv2.sh
Please Review Warnings Wait 10 sec ...
Loading Wait ....
Traceback (most recent call last):
File "/home/hugh/pi-timolo/./pi-timolo.py", line 395, in <module>
from picamera import PiCamera
File "/usr/lib/python3/dist-packages/picamera/__init__.py", line 72, in <module>
from picamera.exc import (
File "/usr/lib/python3/dist-packages/picamera/exc.py", line 41, in <module>
import picamera.mmal as mmal
File "/usr/lib/python3/dist-packages/picamera/mmal.py", line 49, in <module>
_lib = ct.CDLL('libmmal.so')
File "/usr/lib/python3.9/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libmmal.so: cannot open shared object file: No such file or directory
libmmal.so is present:
hugh@zerotwo:~/opencv3-setup $ ls /opt/vc/lib/libm*
/opt/vc/lib/libmmal_components.so /opt/vc/lib/libmmal.so /opt/vc/lib/libmmal_vc_client.so
/opt/vc/lib/libmmal_core.so /opt/vc/lib/libmmal_util.so
I have enabled the legacy camera stack via rpi-config
I'm running on a Pi Zero 2 W. The github readme for python 3 suggests you need to build OpenCV, but when I download and run your build / install script, I get this:
./cv3-install-menu.sh ver 3.82 written by Claude Pageau
Internet Check OpenCV version 4.1.2 Wait ...
STATUS
Current Installed python OpenCV version is 4.5.1
Variable OPENCV_VER=4.1.2 Is a Valid OpenCV Version
UPGRADE
python OpenCV Version From 4.5.1
To 4.1.2
Which suggests a manual build is unnecessary?
from pi-timolo.
from pi-timolo.
Sorry, I did not accurately explain that I had already enabled legacy camera support (I mentioned rpi-config
, rather than raspi-config
).
The result remains the same, still seeing the libmmal error as previously quoted. This, after reinstalling after double-checking that camera support was enabled.
from pi-timolo.
from pi-timolo.
Related Issues (20)
- Can't start pi-timolo HOT 27
- Python3 compatibility HOT 4
- Filename given to user actions should include full path, instead of relative to pi-timolo HOT 1
- Change filename style HOT 1
- Daemon is crashing HOT 5
- Ideal settings for Raspberry Pi Camera V2 (8 Mega Pixels) for motion detection HOT 9
- Camera version is being detected as 1.13 even though I have Raspberry Pi Camera v2.1 HOT 10
- Motion tracked images stored in media folder are not high definition HOT 7
- Permission Denied on Startup HOT 3
- IMAGE_USE_VIDEOPORT config is not used HOT 7
- Suggested optimization for resize call when in quick pic mode HOT 1
- Low light video HOT 4
- Raspi IRcamera how to auto-change exposure time when light changes HOT 1
- Update to Picamera2 for Raspbian Bullseye? HOT 7
- pi-timolo exits due to error HOT 4
- The pi-timolo.py does not executes user motion function, everything works somehow.
- MOTION_NUM_MAX = 0 is not continuous; Only records one video
- "pi" is no longer the standard user name on Raspberry PIs
- How to deal with memory issues and py3exiv2 install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi-timolo.