OpenCV 2.3.1 and OpenNI Kinect - visual-c++

I am new to this technology and I am trying to use OpenCV and OpenNI in my project, but I have no idea where to start after I link all the lib to my Visual C++ Express. Can someone give me some pointers on how to view my Kinect's camera and process returned values. Thanks!

OpenCV has a sample named kinect_maps.cpp which demonstrate interactions with Kinect.

First, take a look in the documentation, is the openni user guide:
www openni.org/documentation
Next you can go to "official group" of openni: http://openni-discussions.979934.n3.nabble.com/
After, install the openNI, this is a good link about how install(on windows):
http://studentguru.gr/b/vangos/archive/2011/01/20/how-to-successfully-install-kinect-windows-openni-nite.aspx
When you install openNI, openNI will show you code samples
Happy code!!

After Installing OpenNI, use the following link to compile OpenCV with OpenNI.
http://docs.opencv.org/doc/user_guide/ug_highgui.html
If everything goes well you will be able to compile and run openni_capture.cpp from opencv sample folder.

Related

How to compile libdash on MAC OSX for the target iOS

I'm working on DASH-MPEG streaming technique, and find out the open source library which help me accomplish the function. ( https://github.com/bitmovin/libdash )
It told that the library is across-platform available. And I'm trying to apply it for iOS platform. But I get stuck on compile the library source on MACOS.
Because I have no idea on cmakefile , Could you help create the makefile to bypass this problem ?
Thank you.

Where are the components?

I am using version 1.9.0 of the RED HAWK IDE on RedHat 6.3.
After install RedHawk I looked at the video http://www.youtube.com/watch?v=wN9p8EjiQs4.
I tried to run through the example but I notice I am missing a large amount of the components she has like add_const_ff, complex_to, noise_source, vector_sink, medianfilter.
Should I have them? Is there a package I am missing?
Adding stuff to get the checker to except my question. I tried, then tried. Going to try.
Here you can find several packages from RedHawk developer:
https://github.com/Axios-Engineering
https://github.com/RedhawkSDR
You can try to download and build them
All of the components you mentioned except for the medianfilter are part of the GNUHawk library of components and can be found at https://github.com/RedhawkSDR/integration-gnuhawk/tree/master/components.
The median filter is part of the basic-components library and can be found at https://github.com/RedhawkSDR/basic-components

Java JSR-82 Implementation (javax.Bluetooth.*) - Using Bluecove

I am searching for some help with JSR-82. I have searched for a long time, and even had my project supervisor at uni helping me out, and so far, I have had no luck.
My Problem...
I have a project whereby I simply need to scan for Bluetooth Devices
I have not yet been able to get my Bluetooth device scanning. I am using Eclipse IDE in CentOS 5.5
and am trying to use Bluecove.
I have downloaded "bluecove-gpl-2.1.0.jar" and added it to my Eclipse Build Path and the code i am using is sample code provided by BlueCove (RemoteDeviceDiscovery Found here: http://bluecove.org/bluecove/apidocs/overview-summary.html#DeviceDiscovery).
Before i can even compile, javax.Bluetooth.*; is underlined suggesting it cannot find it - Now as far as i am aware, this should be within the bluecove jar file i mentioned previously.
How on earth do I get this thing working? Ive tried using JSR82.com but that wasnt much help at all
If any one has the time to assist me, you would be concidered a god! haha
thanks
Ryan
With bluecove on linux you need to provide the bluecove.jar and bluecove-gpl.jar. http://code.google.com/p/bluecove/wiki/Documentation
you will be needing 4 jar files: bluecove.jar,bluecove-emu.jar,electricblue.jar, javabluetooth.jar
however my code based on jsr82 implimentation did not work on samsung mobiles.... it is said that it does not support jsr82 stack. if anyone has idea on this share..

building a gl3 app under cygwin

i've got a small opengl 3.2 app that i've been developing on linux using the standard gnu tools (gmake/gcc). the code seems pretty portable--i had no problems running it on osx until i started using gl3 features that the mac mini gl drivers don't seem to support. i've got a bootcamp partition with windows xp on the same mini, and i'd like to run my app there if possible.
the windows drivers definitely support gl 3.2, but i'm having trouble linking. this seems like a really common issue, but i haven't found any answers online that address using opengl > 1.2 under cygwin. i'm using glew-1.5.5 and linking like so:
g++ -o glToy *.o -L/cygdrive/c/Program\ Files/glew-1.5.5/lib -lglew32 -lglut32 -lglu32 -lopengl32
but i get a whole lot of this sort of output:
Program.o:/home/Jacob/glToy/Program.cpp:134: undefined reference to `__imp____glewUseProgram'
Program.o:/home/Jacob/glToy/Program.cpp:235: undefined reference to `__imp____glewActiveTexture'
Program.o:/home/Jacob/glToy/Program.cpp:73: undefined reference to `__imp____glewGetShaderiv'
...
any ideas what i'm doing wrong? or perhaps this isn't a workable setup? other ideas for getting this going on the mac mini (2009 version)? thanks!
you can also skip linking, just get glew.c and put it in /include (not /include/GL like glew.h) and then change your #include to <glew.c>
you aren't linking glew properly or glew is broken... nothing to do with gl itself
the easy fix is just to use the extension api and forget about glew.

TurboPower Abbrevia in C++Builder2009

I want install TurboPower Abbrevia 3.05 from http://sourceforge.net/projects/tpabbrevia/ but its not working. :(
docu says:
_4. Open & compile the runtime package specific to the IDE being
used (e.g. B305vr2007.dpk for Delphi2007)
Start C++Builder2009 -> "Open Project..", select "B305vr2009.dpk" and click "open", but nothing happen. What is my mistake?
It's nice to see that someone is finally working on Abbrevia again, but looking at the Abbrevia web site I see that it still doesn't support modern versions of C++Builder. A few years ago I need to create Zips in an application and I found out that Abbrevia wouldn't work for me anymore. So, I compiled and linked in the Zip library from Info-ZIP, which worked very well. I didn't have much trouble adapting it to C++Builder as I recall, and it's still working fine today.
Info-ZIP's library only works with Zip files (no 7zip, etc.) but that's all we need here.
If you don't have RAD Studio, and only have C++Builder, you'll have to build it via the command line:
dcc32 -JL B305vr2009.dpk
You can then import the .bpl file generated from the Component->Import Component menu.
Abbrevia 3.05 didn't have C++Builder packages. The current release (5.0) supports C++Builder 2009-XE2 and has native .cbproj packages for it.

Resources