Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Python2.3
Hello,
I'm trying to make a virtual dressing room application with kinect. My problem is that I want to use poser for modeling, so I need to convert C++ from kinect to python. I have no experience in python!
 
Can anybody help me please?
Posted 15-Feb-13 9:11am
Edited 15-Feb-13 9:15am
34K
v3
Comments
joshrduncan2012 at 15-Feb-13 15:15pm
   
Why are you using Python if you have no prior experience with it? WHy can't you use a language you are more familiar with?
Sergey Alexandrovich Kryukov at 15-Feb-13 15:25pm
   
It would be hard to answer such question. As if getting knowledge required excuses... But usually, "converting" is a bad idea.
The language is valuable only if it supports some different way of thinking...
—SA
joshrduncan2012 at 15-Feb-13 15:26pm
   
I agree 100%.
Matthew Faithfull at 15-Feb-13 15:18pm
   
I know precious little about Python other than that it sucks but I have heard that if you want to connect C++ and Python together there is a Boost library to help with that, presumably Boost::python. I would start at http://wiki.python.org/moin/boost.python/GettingStarted
Sergey Alexandrovich Kryukov at 15-Feb-13 15:27pm
   
You first problem here is not become a Python poser being a C++ fan at heart. :-)
That's why "conversion" is, maybe, not a good idea.
—SA
TRK3 at 15-Feb-13 16:29pm
   
You can call functions in a C-DLL from python using the ctypes python library.
 
Or you can spawn process and get return values using the subprocess python module.
 
And/or you can invoke the python interpreter from C.
 
There are all kinds of ways to interoperate C/C++ and python. I'd look into doing that rather converting everything to python.
GiZmoDragonBack at 21-Jul-13 16:02pm
   
What do you mean by convert? Automatically or manually?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 385
1 BillWoodruff 344
2 George Jonsson 295
3 Sergey Alexandrovich Kryukov 293
4 OriginalGriff 222
0 OriginalGriff 5,095
1 CPallini 4,285
2 Sergey Alexandrovich Kryukov 3,767
3 George Jonsson 2,941
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 15 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100