Git Product home page Git Product logo

Comments (8)

bwsw avatar bwsw commented on August 14, 2024

@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.

bwsw avatar bwsw commented on August 14, 2024

@hneiraf also, try running with group_boxes=False. Do things change?

from rt-motion-detection-opencv-python.

hneiraf avatar hneiraf commented on August 14, 2024

from rt-motion-detection-opencv-python.

hneiraf avatar hneiraf commented on August 14, 2024

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.

hneiraf avatar hneiraf commented on August 14, 2024

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.

SylvainGarrigues avatar SylvainGarrigues commented on August 14, 2024

Same here, seg fault on macOS.

from rt-motion-detection-opencv-python.

bwsw avatar bwsw commented on August 14, 2024

@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.

markkorput avatar markkorput commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.