Title: Measure where someone is standing?
Tags: pi-2;sensor;bluetooth
Question: I have a camera with an API to turn and pan it. (Hangs from a ceiling so it can turn and pan every side)

I want to use the Raspberry Pi to control the panning and tilting based on where a device/sensor is (Too point the camera to it). 

So when I have a unique device in my pocket the camera has to point at where the device is even when it's moving. What is worth to note I don't want to use the face recognition or something from the camera it self. Just a device/sensor to point out a "target" where to focus on. 

I can't figure out how to do that... 

I was thinking as putting the raspberry at the same position as the camera (underneath it for example) and take that as the 0 point. With Bluetooth proximity I can check how far someone is and try to measure the distance and change the pan/tilt on that but it doesn't sound like that would work. 

Basically I wanted to know if someone knows what is the best way to do this ? 

Comment: There are commercial solutions.  They are used by lecturers when videoing their classes so that the camera stays on them as they move around.  I don't think they are alarmingly expensive.   Unfortunately I can't think of the right search terms to find an example.  You may have better luck.

Comment: @joan I was thinking about indoor solutions like estimote or ibeacons they can pinpoint where you are in a room. But they will give a location based on the devices in the room... You need to translate those coordinates to pan and tilt movements.. Does this sound possible ?

Comment: Yes, the solution I mentioned is for indoor use.  I think the lecturer has an active tag which is triangulated and used to pan/tilt (or possibly just pan) the camera.  If you can find the commercial product you might get enough information for your own solution.

Comment: Perhaps you could use the Wiimote approach (IR camera receiver) and IR Sensor Bar.  May even be able to strap a Wiimote to your Pi/camera, and communicate with it using the Pi.  Then, keep the sensor bar on you (may or may not be able to see penetrate clothes).  Anyway, may be a start as there are lots of Wii hacks out there, and you can probably get a used one cheap.


Here is another answer: As @joan suggested, you can look up existing solutions for recording lectures in google.
I used keywords "lecture camera". From the results you get you can see that other good terms to use are "lock track" or "motion tracking".

There are different hardware/software solutions that you can experiment or be inspired from.


{'source': 'StackExchangeDataset', 'subset': 'raspberrypi.stackexchange.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 4, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2015:00:09/05/15', 'FavoriteCount': 1.0, 'PostTypeId': 1, 'Tags': '<pi-2><sensor><bluetooth>', 'Title': 'Measure where someone is standing?', 'ViewCount': 86, 'id': 36065, 'user_AboutMe': None, 'user_AccountId': 2110663.0, 'user_DisplayName': 'MichaelAngelo', 'user_Reputation': 9.0, 'user_Views': 5.0, 'user_id': 34396.0}}