Kinect Skeleton Tracking for 2 people - kinect

I want to use Kinect sensor to develop a application, what I want to accomplish is to differentiate between Skeleton of two people, and use only one which is required and ignore the other,can this be done?

Kinect identifies the closest skeleton first but if you want to pick the skeleton with user specific condition like a specific color on the user then its a kind of image processing too.

The Kinect SDK assigns a tracking ID to each skeleton that it detects: you can use that number to tell apart who's who. So, after you pick a user, you can store his tracking ID and later, find in the skeleton array the one with the matching tracking ID. If it is not found, it means that the user has left the scene (or the Kinect stopped seeing him for other reason, like somebody walked in front of him).

Related

Is it possible to Access all Beacons with ibeacon API?

i'm close to finish an App using Estimote beacons having their UUID
hardcoded in my project which list out all the Estimote beacons using ibeacon API, but when i'm trying to make my own device as a beacon transmitter using the Device UUID, which is differ from the estimote UUID, i cannot find it, as the UUID which i mentioned in the code is Estimote's.
So my question is , is there any way that i can find all the beacons(Ex- Estimote Beacons, Kontakt Beacons, Blue cat Beacons and ibeacon hardware) which i can track with apple's ibeacon API?
With same code i wanted to track all beacons without hardcoding any UUID?
is it possible?
No,Apple has put restriction on finding of unknown Ibeacon .You can not find any unknown beacon.Though there are some hacks which are not that effective.Also there can not be more than one Udid a app region can contain.What you can do either is that ask the user what Udid he wants to monitor then the app can range for it.
Sorry for wrong spelling if any..
No, you must tell CoreLocation the ProximityUUID of any iBeacon you want your app to see or it will not tell you about it. See http://developer.radiusnetworks.com/2013/10/21/corebluetooth-doesnt-let-you-see-ibeacons.html
This does not mean you need to hardcode every UUID in your app. Doing so would require you to resubmit the app for approval each time you add an iBeacon with another UUID.
An alternative is to use a web service to give you a list of UUIDs to search for. You can build your own, or use my company's ProximityKit service that does this for you.
I wrote a test bench app for my company that has an array of UUIDs. It saves a default set of UUIDs to user defaults using the registerDefaults call.
The user can then create new UUIDs at will, as well as sharing them with other devices. (I Use a UIActivity, so you can share via AirDrop, messages, email, etc.)
It lets you input a UUID as hex digits, or you can tap a "create new UUID" button to generate a new UUID.
I included the Estimote UUID as well as the 3 UUIDs Apple includes, and a couple of unique ones.
Our test bench app then uses the list of UUIDs for both transmitting and receiving beacon IDs.
So while the UUIDs are stored locally, they are not hard-coded.
You could certainly also fetch a list of UUIDs from a web service as David proposes, or use iCloud to fetch a user-defined list of IDs across all devices that use the same AppleID.
A bitter truth for those who want to discover arbitrary iBeacons and their uuids.
There doesn't seem to be any hack to look for an arbitrary iBeacon on iOS -- you have to know at least the ProximityUUID to see one.
Using CoreBluetooth is pretty useless for working with iBeacons. You can see their advertisements, and measure the signal strength, but you can't see any of the identifiers, and thus, you don't even know for sure if any advertisement you see is an iBeacon at all, versus any other BluetoothLE device.

Real Time - Event Tracking with Google Analytics API?

I searched around this site to try to find a similar answer, but I had no luck.
What I'm trying to do is set up an image, ad, or button and tag in it with event listeners, so that I can track events. I've managed to do this, but what I really need is something that will let me gather the interaction data of each individual, provide a unique id for each individual, and gather real-time event interaction information, so that I can record and possibly act on different events based on user interaction.
I was looking into google analytics for this because I can see the real-time events, but I don't know if it is possible to call these events in the way I explained. Ideally there would be an api call I could make with a populated unique id to pull in the event interaction information in real time.
Any help or direction would be greatly appreciated.
Thanks!
You'd have to put client id into a custom variable/dimension and you could then segment based on a unique id, not in real-time however. I was then going to say, have you looked at Google Analytics Real-time reporting API, but then I was looking at the Dimensions & Metics and noticed that you can't pull in custom dimensions nor events.
Does it have to be real-time? The reason I ask is that it's possible to do this using the Core Reporting API, or the UI itself.

GPS code for server

Is there any code for GPS receiver and for GPS net server available?
I want to build complete application: a client for the MS Win Pocket PDA and a server which shows position of my trucks on map. It is easy to find via internet code for GPS receiver (PDA) but I cannot find corresponding part code for server.
If I am understanding you correctly, you want the code to be able to render trucks on a map on your server.
If that is the case, I think that the approach you need depends on the language you are using. Plotting GPS coordinates on an X-Y plane is not a straight forward thing to do, reason being that if you where to cut the surface of the globe into pieces you would not end up with perfect squares, and would thus have to use a technique called Map Projections.
There are various readily available mechanisms provided by companies such a Google provided that you implement a web application. If on the other hand you where looking for a desktop application, SwingX provides a Java API which allows you to build GPS related desktop applications through the use of OpenStreetMaps.
So basically, you can have something as follows:
Create a concurrent server which accepts data from these PDA's and save it in the DB;
At a given period of time, pull the data from your database and refresh your desktop application or web page.
Edit: You can take a look at this tutorial to see how you can draw and plot on a map Using SwingX. If you shall be using Java, you might want to give a look at this previous SO post for more Java mapping API's.

Is this application possible with the twitter api?

I have to make an application where a "sender" can send a message to a group of people and to a location. So when a member of the group reach this place (using location position with the cell phone), he receives all the messages for this location. I have thought to make the application using the twitter API, but I'm not really sure if that functionality is possible.
I thought using twitter would be nice to manage groups and login... the application is written in c++ in QT, so, any ideas for the service to be used to manage messages?
Thank you!
This sounds more like something you'd want to write independently; there's nothing using Twitter would really gain you here.
ok... Here are some points from me.
First of all the person should have enabled geo tagging for you to get the position of the location.
The person should send a Tweet only then you will know the location of the person.
I wouldn't say its not possible but may not work in all cases. I would look for developing a service where the person can join, activate geo tagging and then you can monitor each person's tweet and then send them this location based message.

What is the best way to start a movie the first time your app starts

I want to have a movie start the first time my app is launched to train users on its use, say a 50 second clip.
How would I go about doing this in an iPad app?
(I am building a very complex platform that has hooks into the web and need users to be aware of that. The video will explain that users can go to the website for different features. When the app starts for the FIRST TIME only I want the video to play.)
Don't force users to sit thru a 50 second movie when the app starts. Your user interface should be obvious enough that they can figure out the basics without watching a training video. If you want to offer it, provide a help button, where they can watch it when they choose to.
See the iPhone HIG section Minimal User Help, which says:
A hallmark of the design of iPhone
OS–based devices is ease of use, so
it’s crucial that you meet users’
expectations and make the use of your
application immediately obvious.
EDIT -- The simplest way to keep track would be to store a flag indicating whether or not you have shown the video by using NSUserDefaults. Check if it's set at startup, set it after showing the video the first time.