Giter VIP home page Giter VIP logo

Comments (6)

raymondlo84 avatar raymondlo84 commented on September 26, 2024 1

Wow! Nice... =D! <3 Love you guys going deep into it so quickly! I cannot fix it unfortunately unless I have your brain :P

from depthai-experiments.

themarpe avatar themarpe commented on September 26, 2024 1

@raymondlo84 fix for this is underway to library - will let you know once ready:)

from depthai-experiments.

Luxonis-Brandon avatar Luxonis-Brandon commented on September 26, 2024

Update from the investigation into this:

Initial tests show that the abort issue doesn't pop up when using libusb 1.0.23 vs the latest 1.0.24
I presume that XLink (or our usage of it) doesn't use libusb correctly and it gets into a state where an assert fails.
Also it might be that this assert was added from 1.0.23 -> 1.0.24 - which shows this incorrect state. Will check this now

from depthai-experiments.

VanDavv avatar VanDavv commented on September 26, 2024

@raymondlo84 together with @themarpe we were able to solve this issue, more info here - #57

from depthai-experiments.

VanDavv avatar VanDavv commented on September 26, 2024

It appears that I closed it automatically when I merged the PR. @raymondlo84 if it happens not to be resolved, please feel free to reopen

from depthai-experiments.

raymondlo84 avatar raymondlo84 commented on September 26, 2024

I got a crash if I use ctrl-c. 'q' works properly so far.

Starting pipeline...
^CTraceback (most recent call last):
File "main.py", line 362, in
app.run()
File "main.py", line 304, in run
read_correctly, new_frame = self.get_frame()
File "main.py", line 282, in get_frame
return True, np.array(self.cam_out.get().getData()).reshape((3, 300, 300)).transpose(1, 2, 0).astype(np.uint8)
KeyboardInterrupt
^CException ignored in: <module 'threading' from '/usr/local/Cellar/[email protected]/3.7.9_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py'>
Traceback (most recent call last):
File "/usr/local/Cellar/[email protected]/3.7.9_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 1307, in _shutdown
lock.acquire()
KeyboardInterrupt
Assertion failed: (pthread_mutex_lock(mutex) == 0), function usbi_mutex_lock, file ./os/threads_posix.h, line 46.
zsh: abort python main.py -cam

from depthai-experiments.

Related Issues (20)

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.