How to hack OpenNi Framework - openni

I downloaded OpenNi's framework code source, Its ofcourse include c++ files and codes, so the question is How do I understand that code and framework? How can I understand embedded logic which Works with Sensor? How can I develop some other middlewares myself? Which place that I should look first?

Your question is too wide to be answered properly but I'll give you a place to start:
Take a look at OpenNI's "get started" and reference guide (http://www.openni.org/resources/)
The simplest way to get started is to compile the enclosed examples and work your way through them to understand how the communication with the sensor is set up.

Related

VoIP c++ references

I'm having troubles with finding tutorials/examples of how a simple VoIP application would look like. I've searched the web and found an out-dated step-by-step tutorial, so it wasn't much of a help and that's about it considering tutorials. However I've managed to find some nice API's like libosip ( oSIP ). It would be a great thing if anyone would know any good tutorial; or if anything a small VoIP open source app that i could checkout. I don't really have any troubles with understanding someone else's code if it wasn't commented/explained.
There is a great sip framework called PJSIP. look at this example for a short, but yet complete demo. Also take a look in the PJSUA API.

Is there any python implementation for text replacement with truetype fonts?

I have searched and there are some php or flash based solutions, but none in Python.
PIL (Python Image Library) could be the starting point, but if anybody knows something done or half done I will gladly use it for my Django projects, finish or polish the library and release it for everyone.
It's actually fairly easy in Django. Jacob Kaplan-Moss posted about it years ago. I used this on my site for a while.
Apparently there's a django-rendertext project based on that code, but I haven't used it.
The nicest text comes from PyCairo, but having said that, I've not seen any project that just spits out images with the desired text in that manner, for any web framework.

Please help my learning in Django

Hi All I am new on Django and python.I want to wirte program with Django .So please share me useful ideas and concept.How can I set up djanog in my window OS.
I little confuse and occur some errors while I read ebooks.
Share me with all experiences please in step by step.
Thank for all
http://www.djangobook.com is your friend. Free, well written and generally ace.
First, if you're new in python read dive into python, you must use python 2.5 or 2.6 not 3 (for django at least)
For windows here's a good tutorial. Then read the djangobook
For further information you can read Pro Django
And remember the oficial docs is very well written.
This may help you to start
This is great resource for you Getting Started with Django
Enjoy.
The first thing you should do is get yourself a project, it can be anything. The classic django-learning project is a blog.
Python is fairly easy to learn once you have some programming experience. I recommend that you go through the official tutorial. This google class also looks pretty good. You don't need to know the standard library all that much -- just enough python to find your way around whenever you need something. I'd say you can pick up python in a few afternoons of work.
After that, go through the django tutotial to get an idea of how to get started. Then start with your project using the docs which are quite good. They also contain an overview and installation section which may be handy. After you've gotten your feet wet, read the django book and then go fix all the things that could be better about your project.
Just like with any kind of programming, the key is to be constantly practicing and improving your code.

C++ and Thrift: Reference needed to get started

I have read about Thrift while trying to find out how to use Google Protocol Buffers. I have been searching for some reference that shows how to go about using it with a simple working example for C++. It's been frustrating not being able to find any such site. It is a bit surprising that almost all the examples use Java, a language that has cross-platform RMI already at its disposal. May be I have missed something in searching, and I would very much appreciate if anyone can give a reference to a tutorial with a working example, however small.
TIA,
-Sviya
I've never used Thrift, but Googling for "thrift" brought me to this page - http://incubator.apache.org/thrift/ - which has a C++ example at the bottom of the page.
The thrift wiki has this page - http://wiki.apache.org/thrift/ThriftUsageC%2B%2B - which has more info on using it with C++
Also,
once when you install thrift in folder tutorial you have example of thrift file,
server&client implementations in different languages and README file.
This is good place to start!
Because there were no tutorial on the web, I created one in my blog.
You can check my full tutorial about Thrift in: My Blog
Since it's too long, I cannot post my answer here. But I think my blog is a good resource for anyone who wants to get started with Thrift.

How to best integrate Flex and Django?

I'm building a site with a Flex frontend and Django backend.
The problem I'm facing is that it's tedious to write a CRUD frontend for every model.
I've checked out django-rest-interface but it is not obvious on how to do anything other than read/GET (i.e. create/POST, update/PUT, delete/DELETE) and couldn't find any related examples.
The usual answer I get on asking this question is "Use AMF" but what I am trying to learn is how to actually do the interfacing, not the protocol format.
So, bottom line, what are the best practices and simplest ways to integrate Flex and Django?
#Matt Briggs, The DjangoAMF tutorial wasn't clear enough and I was unable to make headway there.
I've finally gotten hold of how to use PyAMF and so far, so good.
Asked a buddy who is doing just that, he said he uses the DjangoAMF library