Comments (8)
@hneiraf Hi, could you please provide me with the video source which gives you a segfault?
BTW, we only tested in Linux.
from rt-motion-detection-opencv-python.
@hneiraf also, try running with group_boxes=False
. Do things change?
from rt-motion-detection-opencv-python.
from rt-motion-detection-opencv-python.
I'm still getting the same error.
I'm working with python 3.7.7 and last version of all required libraries, something related to this?
Best,
Hugo
from rt-motion-detection-opencv-python.
This is what I'm getting:
StdDev: 0.0000 Mean: 1.3139 Last: 1.3139 Boxes found: 0
StdDev: 0.1974 Mean: 1.1165 Last: 0.9191 Boxes found: 0
StdDev: 0.2242 Mean: 1.0064 Last: 0.7861 Boxes found: 0
StdDev: 0.1952 Mean: 0.9945 Last: 0.9589 Boxes found: 0
StdDev: 0.1751 Mean: 1.0010 Last: 1.0269 Boxes found: 0
StdDev: 0.1601 Mean: 1.0051 Last: 1.0259 Boxes found: 0
StdDev: 0.1552 Mean: 1.0239 Last: 1.1368 Boxes found: 0
Fatal Python error: Segmentation fault
Current thread 0x00000001149ea5c0 (most recent call first):
File "/Users/XXX/PycharmProjects/rt-motion-detection/bounding_boxes/init.py", line 25 in scan
File "/Users/XXX/PycharmProjects/rt-motion-detection/detector.py", line 119 in __get_movement_zones
File "/Users/XXX/PycharmProjects/rt-motion-detection/detector.py", line 109 in detect
File "/Users/XXX/PycharmProjects/rt-motion-detection/sample.py", line 40 in
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
from rt-motion-detection-opencv-python.
Same here, seg fault on macOS.
from rt-motion-detection-opencv-python.
@SylvainGarrigues, @hneiraf I don't have MacOS to test and fix it. Please do it with your own environments and send a PR here.
from rt-motion-detection-opencv-python.
I'm also getting the seg fault (also on macOS), I've been able to narrow it down to the Py_BuildValue
call in the below line in scanner.c. Haven't been able to solve it, but seems like on my machine Py_BuildValue with ints always segfaults, though floats sometimes work... dunno, not familiar with this kind of python/c interoperability.
PyList_Append(boxes, Py_BuildValue("(iiii)", c_min, r_min, c_max, r_max));
from rt-motion-detection-opencv-python.
Related Issues (13)
- Packer boxes mapping HOT 1
- Windows support ? HOT 2
- Pip Install HOT 3
- How to use HOT 2
- Exception has occurred: IndexError list index out of range HOT 2
- undefined symbol: PyInt_AsLong HOT 5
- WinError2 on build HOT 1
- Is it possible to use without numba? HOT 1
- Error when build the project HOT 2
- Error when building the project HOT 2
- "libmotion_detector_optimization.so" File Build error. HOT 6
- build in anaconda environment HOT 1
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 rt-motion-detection-opencv-python.