More on the openFrameworks and the Kinect


More on the openFrameworks and the Kinect
I guess it’s Peter Daukintis week. 🙂 Today’s project he’s showing off the openFrameworks .

Reminder about openFrameworks ?

openFrameworks is designed to work as a general purpose glue, and wraps together several commonly used libraries, including:

OpenGL , GLEW , GLUT , libtess2 and cairo for graphics rtAudio , PortAudio , OpenAL and Kiss FFT or FMOD for audio input, output and analysis FreeType for fonts FreeImage for image saving and loading Quicktime , GStreamer and videoInput for video playback and grabbing Poco for a variety of utilities OpenCV for computer vision Assimp for 3D model loading The code is written to be massively cross-compatible. Right now we support five operating systems (Windows, OSX, Linux, iOS, Android) and four IDEs (XCode, Code::Blocks, and Visual Studio and Eclipse). The API is designed to be minimal and easy to grasp.

openFrameworks is distributed under the MIT License . This gives everyone the freedoms to use openFrameworks in any context: commercial or non-commercial, public or private, open or closed source. While many openFrameworks users give their work back to the community in a similarly free way, there is no obligation to contribute.

Simply put, openFrameworks is a tool that makes it much easier to make things with code. We find it super useful, and we hope you do too.

Here are some related posts;

Cinder, openFrameworks, Kinect for Windows v2 and getting started… Kinect 4 Windows V2 openFrameworks Using Kinect for Windows v2 Sensor with openFrameworks in WinRT applications OPENFRAMEWORKS + KINECT 4 WINDOWS V2 (II)

In my previous post I showed how to get an environment set up with Openframeworks and Kinect V2.0 for Windows Store. I’d like to elaborate on that a little and run through a demo app I recently created. Since these posts are based on the MSOpenTech fork of Ofx which works with Windows Store we are restricted to using OpenGL ES as this is what is currently supported by Project Angle . What this means in practice is that if you find an oFx addon that you want to use you need to make sure that it doesn’t call methods unsupported by OpenGL ES. This includes things like glBegin..glEnd immediate mode rendering syntax – this is replaced with vertex buffer rendering. If an addon has used this style then it can’t be used with Windows Store currently. Another option here would be to create an oFx desktop app with Kinect integration – more on that in a subsequent post…

Anyway, whilst leafing through the interesting addons I could use I found Box2D which is a 2d physics engine which I thought might work well in a demo.

In the build of the oFx project generator that I am using (from the universal branch here http://ift.tt/1kfX7Hc ) the addons feature doesn’t seem to work. To work around this I used a different fork of oFx from here http://ift.tt/1ylFasK which has support for Visual Studio 2013 and I added the addon and then I copied the entries from the Visual Studio project files across into my Windows Store projects.

Using that method I got Box2D into my app. From there I could define a Box2D world with physical properties and boundaries and I could introduce rigid bodies into the world. I chose to populate the world with differently-coloured circles, I set the boundaries to be the edges of the app and I used the Kinect body data to make my hands attraction points for the circles.

It is mildly amusing to make the circles chase you as you swing your hands around but not difficult to let your imagination run riot thinking about the possibilities here. My demo was put together with a few lines of code – that’s the power of OpenFrameworks and other similar frameworks – they include a host of creative elements without the need to reinvent everything.

Project Information URL: http://ift.tt/1AuW75T

Project Source URL: http://ift.tt/1xivvcP

Contact Information:

Blog: http://ift.tt/1lhApAm Follow peted70 Follow @CH9
Follow @Coding4Fun
Follow @KinectWindows
Follow @gduncan411

http://ift.tt/1xivt4s

Daily Digest: Hybrid IT Roles, Kinect SDK with C++, Keeping ASP.NET Apps Alive, and more…


good2read_banner

Use IIS Application Initialization for keeping ASP.NET Apps alive: 
Ever want to run a service-like, always-on application inside of ASP.NET instead of creating a Windows Service or running a Console application? Need to make sure that your ASP.NET application is always running and comes up immediately after an Application Pool restart even if nobody hits your site? The IIS Application Initialization Module provides this functionality in IIS 7 and later, making it much easier to create always-on ASP.NET applications that can act like a service.
View article…

5 Hybrid IT Roles Your Business Needs to Succeed in 2014: 
This year, the ability to simply configure and run a server or develop software in isolation won’t be enough. Employers will aggressively pursue workers with multi-dimensional talent — combinations of technology, domain, business, process and people skills.
View article…

Kinect for Windows SDK C++ Samples: 
Today’s post is a reminder about all the available C++ Kinect for Windows SDK samples and examples…
View article…


Follow-me-on-twitter

Daily Digest: Security Impermium Joins Google, Snapchat Targeted, ASP.NET Troubleshooting, and more…


good2know_banner

Security Startup Impermium Joining Google: 
Google expects Impermium to fit in with Google’s own spam and abuse teams
View article…

Snapchat, Bitly and Kik Messenger Targeted By Spammers: 
Bitly is working with Symantec to clean up malicious links, the result of API keys left visible on the Web
View article…

Cisco: Thousands of Web Hosting Centers Now Launchpads for Attacks: 
Web hosting centers around the world are being compromised by cyber-criminals that use them to launch major attacks against business and government, says Cisco in its annual security report. This threat really gained full steam last year, the company says.
View article…


good2read_banner

Evangelizing with Architecture: 
Why people should care is far more important than what the technology actually does.
View article…

ASP.NET: Troubleshooting Applications with IIS Logs: 
Learn useful techniques to help you troubleshoot any application or system running under IIS, no matter what platform it’s coded on.
View article…

SQL Server: Unit Testing SQL Server OLAP Cubes Using C#: 
Much time can be wasted testing complex OLAP Cubes only to find they weren’t created correctly. Mark Nadelson draws on his real-world experience to show how to unit test Cubes to ensure they were built the right way.
View article…


good2watch_banner

Dynamic Grammar and the Kinect: 
Today’s project from Abhijit Jana talks about how you can build your Kinect app to handle different speech commands, dynamically.
View article…


Follow-me-on-twitter

Daily Digest: NSA Malware, Responsive Design Pitfalls, Twitter Bootstrap, The New Kinect, and more…


good2know_banner

NSA Reportedly Compromised More Than 50,000 Networks Worldwide: 
Leaked top secret presentation slide shows over 50,000 Computer Network Exploitation implants
View article…


good2read_banner

Evolve or Die: 
During attritive economic times, luck alone does not determine which organizations survive and which become extinct. There is a process of Survival of the Fittest that takes place, to where those who are most attuned to the economic climate, business culture and consumer trends live on to fight another day.
View article…

4 Common Responsive Web Design Pitfalls: 
Some of these pitfalls might seem to contradict each other, and make your task impossible. And yet, if you look closely, you’ll see there are ways to achieve truly responsive web design and still avoid the aforementioned pitfalls.
View article…

Twitter Bootstrap Tutorial – Handling Complex Designs: 
Much has been said and written about Twitter Bootstrap these days in the world of web designing and development. Some people call it a boon for web developers with zero designing knowledge, while others call it a blessing for the designers. Whatever it may be, it does things easier and faster.
View article…


good2watch_banner

Custom Web Site Deployment Scripts with Kudu: 
Kudu can be extended to run Unit Tests and much more more using Custom Deployment Scripts. How far can David and Scott take it?
View article…

The next wave for Kinect for Windows has begun! : 
Thousands of developers are participating in Kinect for Windows v2 Developer Preview—starting today
View article…


Follow-me-on-twitter

Daily Digest: Big Data Strategies, JavaScript Performance, Kinect Sign Language and more…


good2know_banner

Kinect Sign Language Translator from Microsoft Research: 
Kinect can be the bridge between folks who don’t speak the same language – and even those who can hear and those who can’t. A collaboration between Microsoft Research Asia, the Chinese Academy of Sciences and Beijing Union University has created a prototype that translates sign language into spoken language— and spoken language into sign language — in real time.
View article…

Microsoft Has Announced Their Proposal to Teach US Military Vets on Tech Jobs: 
View article…


good2read_banner

Big Data Strategies Are Nonsense: 
Simply writing the phrase Big Data strategy indicates that you either don’t understand Big Data, or even worse, you don’t understand the word strategy.
View article…

How to Trace JavaScript Performance Using Your Developer Console: 
Trimming page fat is vital and so is optimizing your JavaScript performance. Fortunately, there are a number of easy ways to determine whether your scripts are causing significant delays.
View article…


good2watch_banner

Testing Windows Store Applications: 
Learn about the new and enhanced features in Visual Studio 2013 make testing Windows Store applications quicker and easier
View article…

Best Practices for Windows Phone Proximity API: 
Jerry Nixon welcomes Principal Program Manager, Tim Laverty to the show as they talk about the Windows Phone Proximity API.
View article…


Follow-me-on-twitter

Daily Digest: Secure ASP.NET API, Control Windows with Kinect, Agile tools and more…


good2know_banner

Tech Industry Calls for ‘oversight and Accountability’ of NSA Surveillance:
Microsoft, Google, Yahoo and other Internet companies had so far asked for permission to reveal data requests to the public
View article…

New Malware Variant Suggests Cybercriminals Targeting SAP Users:
The malware checks if infected systems have a SAP client application installed, ERPScan researchers said
View article…

FAA to Allow Use of Electronics for Entire Flights:
Each airline will need to get FAA approval before offering their passengers gate-to-gate use of their portable electronics
View article…


good2read_banner

7 Top Tools for Agile Software Development:
Project managers and developers cited these tools as among their favorites.
View article…

Working with the CommandBar in Windows 8.1:
Vipul Patel walks Windows Store developers through the basics of creating properly designed app bars using the CommandBar control.
View article…

Developer’s Guide to Marketing an App — How to Name an Application:
Naming your application can be one of the hardest things to do and uninspired names are pretty hard to hide. So much is dependent on a name, if it does not inherently suggest what the application or game is about, it has to be intriguing enough that the lack of association won’t matter.
View article…


good2watch_banner

Window to the Kinect, Kinect to Windows…:
Today’s inspirational post from The Verge and Tom Warren shows off how Microsoft is thinking about some ever more wild ways to use the Kinect…
View article…

Securing ASP.NET Web APIs:
This week is a long awaited show for many ASP.NET Web API Developer out there, Daniel Roth joins Channel 9 for the feature show on how to secure your ASP.NET Web API.
View article…


Follow-me-on-twitter

Good2Read: Build-A-Bear Selects Kinect for Windows for “Store of the Future”

 Build-A-Bear Workshop stores have been delivering custom-tailored experiences to children for 15 years in the form of make-your-own stuffed animals, but the company recently recognized that its target audience was gravitating toward digital devices. So it has begun advancing its in-store experiences to match the preferences of its core customers by incorporating digital screens throughout the stores—from the entrance to the stations where the magic of creating new fluffy friends happens.

A key part of Build-A-Bear’s digital shift is their interactive storefront that’s powered by Kinect for Windows. It enables shoppers to play digital games on either a screen adjacent to the store entrance or directly through the storefront window simply by using their bodies and natural gestures to control the game.

View Article…