WPIRoboticsProjects / GRIP

Program for rapidly developing computer vision applications
http://wpiroboticsprojects.github.io/GRIP
Other
374 stars 108 forks source link

Kinect Support #163

Open codetheweb opened 8 years ago

codetheweb commented 8 years ago

Do you have any plans to package Kinect support with GRIP? I'm not sure how it would work, since every platform implements drivers differently, but it could potentially be very useful.

JLLeitschuh commented 8 years ago

At the moment no. This is something that we briefly discussed early on.

How would you want to use GRIP with a Kinect? Are you looking to do things with the 3d matrix or just the 2D camera?

codetheweb commented 8 years ago

I was thinking the depth stream. For example, grouping objects with similar depths together or filtering by a certain depth.

On Nov 23, 2015, at 12:42, Jonathan Leitschuh notifications@github.com wrote:

How would you want to use GRIP with a Kinect? Are you looking to do things with the 3d matrix or just the 2D camera?

— Reply to this email directly or view it on GitHub https://github.com/WPIRoboticsProjects/GRIP/issues/163#issuecomment-159024069.

JLLeitschuh commented 8 years ago

If you are interested in opening a pull request to support this then we will take a look. One other thing that GRIP will support that you may find useful is custom python scripts. This will allow you to write custom operations if the operations that we support don't work with the Kinect. Supposedly the opencv library we are using will support the Kinect as is (as long as you plug in the right camera index when selecting your webcam).

JaciBrunning commented 8 years ago

@JLLeitschuh mind assigning this to me? I'll attempt to resolve this at the season's conclusion.

SamCarlberg commented 7 years ago

@JacisNonsense Have you got anywhere with this?

JaciBrunning commented 7 years ago

Unfortunately not, I'm trying to think of a good way to load the Libfreenect Native Library while still maintaining platform compatibility.

JLLeitschuh commented 7 years ago

Is there a problem in that the library isn't supported on all OS's or that there isn't a compiled binary for all OS's?

We have a toolchain you can use to compile for ARM linux if that's what you're missing.

http://first.wpi.edu/FRC/roborio/toolchains/

JaciBrunning commented 7 years ago

I'm aware of the toolchain. It is possible to package all the compatible binaries for libfreenect with the jar, but this would bloat the binary size and also require a partial rewrite of libfreenect's java wrapper.