Comments (14)
I had the same issue, so I edited the parameters to:
depth_method to opengl
reg_method to cpu
After that, it is working well.
from pylibfreenect2.
I had the same issue, so I edited the parameters to:
depth_method to opengl reg_method to cpu
After that, it is working well.
hi, but I still want to use opencl for registration, any idea?
from pylibfreenect2.
Do you see the error with Protonect
?
from pylibfreenect2.
Nope. Protonect works fine. I get that error as soon as I run the examples and any other scripts I wrote which use pylibfreenect2 which were working fine on OSX. I am starting to wonder if it might be a graphics card issue? (I am running ubuntu 14.04 on a macbook pro with amd Radeon HD 8870M)
from pylibfreenect2.
Um, it might be the issue related graphics, but I'm afraid that I don't have a workaround right now. It's worth trying to see which packet processor triggers this; OpenGLPacketPipeline, OpenCLPacketPipeline or CpuPacketPipeline to dig into the problem.
from pylibfreenect2.
I am not 100% sure if it's a graphics card issue. It seems very odd that Protonect works but not this. I might be missing some configuration settings
from pylibfreenect2.
How did you resolve this issue? I am also getting recursively same error.
from pylibfreenect2.
Any Solutions ? I am having the same issue!
from pylibfreenect2.
./Protonect doesn't present any isssues
./Protonect cl DOES present the same error
Changing from OpenCL to OpenCV seem to have solved the issue
EDIT: As mentioned below by @r9y9 using
from pylibfreenect2 import OpenGLPacketPipeline
pipeline = OpenGLPacketPipeline()
instead of
from pylibfreenect2 import OpenCLPacketPipeline
pipeline = OpenCLPacketPipeline()
Seems to have solved the issue.
(CpuPacketPipeline() also works just fine)
from pylibfreenect2.
@LucasSubli You can switch to CPU or OpenGL packet processor. See:
- https://github.com/r9y9/pylibfreenect2/blob/master/examples/multiframe_listener.py#L11-L21
- http://r9y9.github.io/pylibfreenect2/latest/api.html#packet-pipelines
from pylibfreenect2.
I am facing the same problem.
Protonect works normally.
Do you think the problem lies with the GPU?
My PC uses only CPU. Can not I use Kinect V 2 with pylibfreenect with CPU alone?
However,
from pylibfreenect 2 import CpuPacketPipeline
pipeline = CpuPacketPipeline ()
I guess that this is programmed to work with only the CPU
I do not know what to do
from pylibfreenect2.
Well, since I don't have Kinect v2 anymore, it's hard to say what is the real cause of this. Could anybody confirm whether the issue comes from pylibfreenect2 or libfreenect2? According to the #34 (comment), there's something wrong with OpenCL. Does Protonect work even with OpenCL backend?
from pylibfreenect2.
I tried
$ ./Protonect gl It works normally
$ ./Protonect cl It does not work properly, Packet buffer is NULL
$ ./Protonect cpu It works normally
OpenCL doesn't work, but the problem was solved.
I modified the example code(multiframe_listener.py) and tested it.
I made the order of OpenCL the last.
【before】
try:
from pylibfreenect2 import OpenCLPacketPipeline
pipeline = OpenCLPacketPipeline()
except:
try:
from pylibfreenect2 import OpenGLPacketPipeline
pipeline = OpenGLPacketPipeline()
except:
from pylibfreenect2 import CpuPacketPipeline
pipeline = CpuPacketPipeline()
【after】
try:
from pylibfreenect2 import OpenGLPacketPipeline
pipeline = OpenGLPacketPipeline()
except:
try:
from pylibfreenect2 import CpuPacketPipeline
pipeline = CpuPacketPipeline()
except:
from pylibfreenect2 import OpenCLPacketPipeline
pipeline = OpenCLPacketPipeline()
This code worked without problems!
Thank you for your help!
from pylibfreenect2.
@tokyokuma Thank you very much! So there should be something wrong with OpenCL setup. I used OpenCL backend because it was the fastest backend for me, but I changed example code to use the OpenGL backend instead by default.
from pylibfreenect2.
Related Issues (20)
- Kinect Recording
- Creating Frame from numpy array HOT 2
- Freenect2Device setConfiguration
- Offline RGB/depth registration
- OSError: libfreenect2 library cannot be found HOT 1
- is Raspberry pi 4 support? HOT 6
- How to use cuda to process data? HOT 2
- How to set record frame rate?
- How to flip RGB and depth images ?
- Problem with pip install
- Issues running examples HOT 2
- Timeout only in Python, not in C++ HOT 2
- [Error] connecting three "kinectv2"
- Pylibfreenect2 Setup.py Can't find DLL's HOT 1
- How to align the Color and the Depth
- Running slow when saving the video
- how to get skeletons ?
- ImportError trying to install pylibfreenect2
- recent installs failing? lower your Cython verison
- Gray Images using kinect V2 and libfreenect
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 pylibfreenect2.