Head tracking via camera + QR Code - is this possible? - Samsung Gear VR

Hi all,
Just a quick question regarding head tracking with Gear VR.
Having done some quick reading, I see that the general idea with head tracking relies on external equipment tracking movement or another idea has been to use a phone's internal sensors to detect movement.
Does anyone know if the idea of using the phones camera with some printed QR codes would be possible? The idea being to print out QR codes that can be placed around a user. A quick calibration wizard could be used by the user to ascertain their position relative to the printed codes and then use them as spatial points - similar to when using an AR app.
The phones sensors could still be used, this would just be an additional way to track movement.
Was just curious if it had been tried or was indeed possible?
Cheers,
Wayne

Something kind of like that can be made with OpenTrack (have a mode to use some QR for tracking). Other options use led tracking. All of them track the head, as you already investigated.
What you want to do is tracking the environment movement with the cellphone camera. The closest to that (that i'm aware of), is tracking some controller with Real Controller from Realiteer....
Reading a few, there seems to be some problems with oculus, to develop AR apps. And, there seems to be some support issues with the consumer GearVR (the innovators seems to be friendlier about it).
I'm searching about this, because Rifcat (and its emulation of Vive/Oculus)... The official approuch is with freetrack, but so far the tracking keeps avoids me (but i'm closer with any tryout ).

Related

How to make it beep-beep

Hi.
I've used 4-5 GPS apps and I couldn't find option to set a sound (in my case beeping sound) when I gain vertical speed. I wanna use my tilt like a paragliding variometer cause i can't look at the phone and enjoy the view .
So is there app that have that option or could you make one plz.
You can search on youtube to see how variometer works.
A paragliding variometer can have up to three ways of letting you know your vertical speed. Audio sound, digital readout or analog clockface. Some varios are quite basic, like the simple audio-only vario with nothing but an Off/On switch.
Let's have a quick look at each type in turn.
The audio sound indication. If you are going up faster than a pre-set value, you hear a beep-beep tone which increases in pitch the stronger the lift is. Different models have different sounds. Some of them have a sink-alarm as well, warning you with another sound that you are sinking faster than some pre-set value.
Click to expand...
Click to collapse
The TyTN II is missing the hardware required
arminf said:
I've used 4-5 GPS apps and I couldn't find option to set a sound (in my case beeping sound) when I gain vertical speed. I wanna use my tilt like a paragliding variometer
Click to expand...
Click to collapse
Firstly welcome to XDA-DEV arminf! I know exactly what you're after but the HTC TyTN II (and consequently also the Tilt) isn't equipped with enough hardware to be able to do that. There's no Barometric capsule to sense changes in air pressure and no accelerometer so it's no can do using just the phone. Interestingly the Tomtom Navigator version that came with my TyTN II has a setting for which units pressure is to be displayed in (but it has no way of getting that info). Maybe with future products if you let HTC know you'd like this capability included, they may listen (oh, and don't forget to ask for complete driver support while you're at it ). The Touch Pro has an accelerometer but I don't know if it's capable of sensing acceleration in the right plane and whether it can be harnessed using software for this specific purpose.
Surely it should be doable. GPS gives your 3d position, so all software has to do is give compare the positions and times of two subsequent positions to work out the vertical speed.
It should be quite simple for someone who actually has a clue how to program for Windows Mobile
Flying Kiwi said:
Firstly welcome to XDA-DEV arminf! I know exactly what you're after but the HTC TyTN II (and consequently also the Tilt) isn't equipped with enough hardware to be able to do that. There's no Barometric capsule to sense changes in air pressure and no accelerometer so it's no can do using just the phone. Interestingly the Tomtom Navigator version that came with my TyTN II has a setting for which units pressure is to be displayed in (but it has no way of getting that info). Maybe with future products if you let HTC know you'd like this capability included, they may listen (oh, and don't forget to ask for complete driver support while you're at it ). The Touch Pro has an accelerometer but I don't know if it's capable of sensing acceleration in the right plane and whether it can be harnessed using software for this specific purpose.
Click to expand...
Click to collapse
Thanks
Wow you are really into variometers , and i know that Tilt doesn't have Barometric capsule, but I was trying to improvise with GPS. So i just need that beeping sound on some GPS app when I'm going up
dancj said:
Surely it should be doable. GPS gives your 3d position, so all software has to do is give compare the positions and times of two subsequent positions to work out the vertical speed.
It should be quite simple for someone who actually has a clue how to program for Windows Mobile
Click to expand...
Click to collapse
Keep in ming though that the GPS inside the TILT uses a perfect sphere model for the planet (AFAIR). So it is possible that you will get a number of false posities/negatives on an extremely uneven terrain...
But yes, in principle it should work.
TyTN II hardware still not up to the task
Whats needed for the intended purpose is something that reacts instantaneously (or very close to it) and with imense accuracy to sense when it's rising or decending and at what rate. If the device is to slow or not accurate enough (and I believe relying solely on the TyTN IIs GPS would present these issues) then you'd end up flying right through the thermal and out the other side or through the ridge lift and into the rotor etc.
When I first bought my bicycle and was looking for a GPS device to go on it (before I bought my TyTN II) I was looking at Garmin pocket GPS units one of which had an aneroid capsule built in. I checked their website and this model is still being sold and this is what it says "For extra-precise climb and descent data, Edge 305 also incorporates a barometric altimeter to pinpoint changes in elevation." Having used the TyTN II's GPS with TomTom Navigator, Google Maps and Microsoft Live Mapping, and seen how it sometimes struggles with basic 2 D mapping, I definitely wouldn't trust it to be up to speed in what the OP wants - irrespective of what software is coupled up to it.

Help building an intervalometer app??

Hey guys I am a newbie to app development and I have gotten as far as doing the tip calculator. I am trying to make an intervalometer app based on the ti- calculator app at the link below. Basically, it would use the headphone jack to trigger a camera remote shutter release at a predictable rate for time lapse photography on a Canon DSLR. Here is the TI-83 reference. Any idea how to do this on android. Any help or advice is greatly appreciated.
http://potatoeskillme.com/code/ti-86-intervalometer-for-canon-xti/
Dude, I'm really sorry I'm not skilled enough (yet) to help make this happen.
What a fantastic idea! I would love to see this happen.
Anyone have an idea how to access the audio port in code? I have to close the loop on the headphone jack for an instant and then release it.
You are attacking the wrong hole.
Audio jacks don't behave in the same way as the TI data jack.
Investigate using USB.
I would love to see some sort of wireless control of the camera's basic functions, similar to the hardware wireless control modules for those cameras.
Perhaps easier to accomplish and just as nice would be a way to make the camera a wi-fi storage device for those level Canon cameras. It would be sweet to snap shots to the phone for easy posting to the various places Android supports.
My guess would be that Dalvik (SDK level Code) doesn't have access to hardware level controls.
So this would have to have some Native (NDK Code) in c++ written to make it work. I don't think it would be entirely difficult for someone, but I personally have never tried to use an audio jack for anything other than..well...audio.
Kcarpenter said:
My guess would be that Dalvik (SDK level Code) doesn't have access to hardware level controls.
So this would have to have some Native (NDK Code) in c++ written to make it work. I don't think it would be entirely difficult for someone, but I personally have never tried to use an audio jack for anything other than..well...audio.
Click to expand...
Click to collapse
Yeah, that was kinda what I was afraid of. I have really bitten off more than I can chew with this project.
How I understand the wired remote works is that it just "shorts" the connection.
Now you may be able to simulate that by sending tones through the left/right and/or both poles. (one focuses the other shoots)
You could probably test if this would work by playing music through the cable and see if the camera reacts. I don't have a 1/8th to 1/16th cable or else I would try it myself because I am interested if it would work.
Here is a link of how to make a remote switch which you might find handy if you pursue this.
http://martybugs.net/photography/remote.cgi
Someone mentioned using the usb which would open a whole new world of what you can do. If you have ever played around with the canon software then you know you can control all the camera features from a computer and that should be possible to do on our phones but it would be a lot of work to write an app like that.
centran said:
How I understand the wired remote works is that it just "shorts" the connection.
Now you may be able to simulate that by sending tones through the left/right and/or both poles. (one focuses the other shoots)
You could probably test if this would work by playing music through the cable and see if the camera reacts. I don't have a 1/8th to 1/16th cable or else I would try it myself because I am interested if it would work.
Here is a link of how to make a remote switch which you might find handy if you pursue this.
http://martybugs.net/photography/remote.cgi
Someone mentioned using the usb which would open a whole new world of what you can do. If you have ever played around with the canon software then you know you can control all the camera features from a computer and that should be possible to do on our phones but it would be a lot of work to write an app like that.
Click to expand...
Click to collapse
USB is the way to go. I've written a few apps for windows that control canon cameras using the canon sdk. Unfortunately, the SDK is all C++, so a wrapper is needed to work with java. Plus there are functions that are windows specific. The other option for Linux is libgphoto2. Unfortunately, documentation is not the greatest (nor is it for csdk).
If I had more time, I would have coded this already. But all my coding time is spent programming for work.
centran said:
How I understand the wired remote works is that it just "shorts" the connection.
Now you may be able to simulate that by sending tones through the left/right and/or both poles. (one focuses the other shoots)
You could probably test if this would work by playing music through the cable and see if the camera reacts. I don't have a 1/8th to 1/16th cable or else I would try it myself because I am interested if it would work.
Here is a link of how to make a remote switch which you might find handy if you pursue this.
http://martybugs.net/photography/remote.cgi
Someone mentioned using the usb which would open a whole new world of what you can do. If you have ever played around with the canon software then you know you can control all the camera features from a computer and that should be possible to do on our phones but it would be a lot of work to write an app like that.
Click to expand...
Click to collapse
I am going to test your audio idea and see if it shorts the connection. Yeah, I wish I even knew where to begin with working on the USB. I am very new to this. The farthest I have gotten is building a potential layout for the program.
I just looked up some stuff.
I think the canon remote needs a little over 3volts to trigger the shutter. You are not going to be able to get anywhere close to that with the audio output.
I think the only option is to go through the usb.
centran said:
I just looked up some stuff.
I think the canon remote needs a little over 3volts to trigger the shutter. You are not going to be able to get anywhere close to that with the audio output.
I think the only option is to go through the usb.
Click to expand...
Click to collapse
Thank you for the info. I am downloading the Canon SDK right now(not that I have any idea what to do with it at this point).
is this still going? we are about to make the gsm hero usb-host-mode-able, then all that is missing is libgphoto2 and gphoto2... anyone fancy porting it?
First of all, sorry for my English.
I was searching in Google for something like this and I can't find nothing.
Using the usb is not simple, but the audio option is not crazy at all.
Obviously, that option will require some kind of interface, but can be much simple than the USB option.
You can generate different audio frequencies, for example, 1 KHz for focus and 5 KHz for shutter. With a filter for each frequency you can separate the signal in two circuits. Each circuit can trigger the camera with a transistor, in open collector configuration.
Whatever, if you choose one or another (USB or audio) you will must make some kind of electronic interface.
If someone can works with the software, I can do my part with the circuit. I'm sure that will be easy to build for anyone, even if you don't know electronics.
I am also looking into doing this sort of app, but I am starting with a Pentax k110d... Some camera's only require you to short out the wires, and doing so with the audio headphone jack seems to be possible, from the quick little test I just did with a media player, a 3.5mm jack extension cord, and a multimeter. When the track was playing, i got some resistance across the poles, but when I stopped it, I got nothing registering.
I had actually just given up on the headphone jack, and was looking into doing it over USB as well. I might just have to do several code paths, depending on what kind of camera the person is hooking up /ponder
Alrighty, I just did some more testing with a quick framework app that I had been working on for this. There is apparently a constant 1.7 mV on the headphone jack, which is enough to trigger the shutter release on my camera... boo urns... and when the tone is played, the voltage actually drops, because as all learned ppl know(at least those who paid some attention in physics) is that according to Ohms law, Resistance goes up, Voltage goes down.
Any progress on this?
I would love an intervalometer on Android for my Canon EOS 550D
+1 for the development of such app & hardware it may need.
i hate to bust your bubble but this died over a year ago
ya, development has kinda stalled out... I realized that it is not possible to do over the headphone jack, as there is always voltage there, and I don't know if it is possible just over usb...
The only way I can think that this would be possible would be to get ahold of a google hardware kit/arduino dev kit, and then program that.

Future IR Development

Hi all, being a proud HTC One owner I am very excited regarding the possibilities surrounding the infared capabilities which come with the HTC One. The API is available for devs to use and I'm sure all of you devs know that of course but still. The fact that the API is available opens the door for new ways to utilize the infared capabilities of this device.
Here's the link about the API.
http://blog.htc.com/2013/02/calling-all-ir-apps/
Fir instance, there are some Infared camera apps in the Play store but they simply trick your eyes by playing around with the color spectrum.
Will we now be able to have a real infared camera app? I know the camera isn't originally built for that but it could be possible right? Anyway, here is the link talking about the API being available.
What about other uses for the IR sensor?
Thus nay need to be in the Q&A section. But u posted here since it was a development question.
PAinguINx said:
Hi all, being a proud HTC One owner I am very excited regarding the possibilities surrounding the infared capabilities which come with the HTC One. The API is available for devs to use and I'm sure all of you devs know that of course but still. The fact that the API is available opens the door for new ways to utilize the infared capabilities of this device.
Here's the link about the API.
http://blog.htc.com/2013/02/calling-all-ir-apps/
Fir instance, there are some Infared camera apps in the Play store but they simply trick your eyes by playing around with the color spectrum.
Will we now be able to have a real infared camera app? I know the camera isn't originally built for that but it could be possible right? Anyway, here is the link talking about the API being available.
What about other uses for the IR sensor?
Click to expand...
Click to collapse
I can see where your going with this but using the ir blaster on the power button as a infrared source for nighttime pictures just isn't feasible. Ir only illuminates so far. Decent fully powered day night camera's with ir only illuminate 30 feet at the most. Also with the ir being in the power button to illuminate the area you wish to capture would point the camera at the ground. It just wasn't designed with image capture in mind
True, I didn't consider the IR sensor being in the power button. What about other uses for the IR sensor?
PAinguINx said:
True, I didn't consider the IR sensor being in the power button. What about other uses for the IR sensor?
Click to expand...
Click to collapse
its only limited by hardware. You can do anything with relays and such. For example I had a piece of furniture in a house with a motorized tv lift. I could control that with ir. As long as you have the orig remotes you could control anything with the ir emitter in the phone. Even your car stereo if it has an ir remote you could use your phone to control it. Also you can blast ir through a stereo cable as long as the input your plugged into accepts ir codes, of course that would mean we would have to find a way to route the ir through the headphone jack but they use the headphone jack to accept credit cards.. as an a/v guy its got me really excited
What about devices without remotes? Such as if you bought an IR sensor from Radio Shack and wanted to use it to say turn a light off or activate a device, run a script, etc, etc. Would that be possible as well?

Thoughts? Erisin 3090A - Single Din, quad core, 4.4, 1024x600

I'm looking to get a single DIN flip screen style head unit. Looks like there are really only 2 quad core options out there:
Eonon GA1312: Seems to be relatively popular Klyde design and shows up under a few other "brand" names. It meets my needs but the basic downsides here being the 800x480 screen and typical lack of an external microphone. From a Youtube walk through it looks like it is a KLD5 MCU.
Erisin 3090A: This looks like an upgraded quad core version of the Erisin 8990A (dual core system). This unit has the upsides of a 1024x600 screen, an external microphone (important given this is going in a loud sports car), options for DAB radio and DVB-T TV (not useful here in the US), and a removable face plate. (I can't post links but the specs are posted at the first google search link for "ES3090A")
Needless to say the Erisin looks like the better on paper, but I'm hesitant to pull the trigger. Anyone have any experience, thoughts, or comments on this unit?
I got both.
Eonon GA1312:
Bluetooth is total crap , no one can hear you in a call .
Missing 3g apn setup
unable to change panel leds color, they are blue and blinding.
no detachable front fascia
front usb and front audio in
Simple to root with a password.
Some apps cannot pass the initial screen due to low Res.
Shutdown timer does not work.
It has configurable reserve camera lines
Erisin 3090A
Bluethooth calling is great plus it has an additional external mic.
Device seems to have 2 Bluetooth devices , one for the phone and other for android
Any color you fancy for the panel leds
detachable front fascia
Can only be rooted via king root ( i was able to replace king root with superuser)
missing multitask button.
No front usb or audio in.
Shutdown timer set a 10 seconds, unable to change so far.
Dos not have configurable reserve camera lines ( most cameras come with lines integrated anyway.)
Both units have the same cpu.
Both units DVR are crap,most of the time they ether crash or fail to start.
The Eonon GA1312 has most setting integrated into the android control panel while the other unit has several other apps to change settings.
Also the Eonon GA1312 seems to have slightly better sound out of the box.
Hope it helps
Erisin a3090 a3090aen 3090aen android quadcore
After extensive reseach ,I also considered a couple of options.
I have a supra mk4 1993. It's double din sits quite low, so opted for a single din with fold out display. So i used the upper part of the space..
Also considered the dvb and TV for posible future uses.
Also there is a reverse camera input with reverse sensor contact as well as the expected dvr with the plug and play USB camera.
I tried a couple of USB cameras and the unit crashed or the app crashed, thought it was a pile of cap,* however I read that it has to be the camera supplied by Erisin. After purchase, the camera has been 100% . Dvr loop, 3 ,5 and 10 mins with option to use specific memory, adjustable up to 500mb.
Not tried the reverse camera as yet.
The Bluetooth works well, I have connected the android phone via Bluetooth for music and the torque unit. They work as expected.
However I did find that on occasions, the phone would knock off when I tired to activate the obd2 Bluetooth adaptor. ( got a converter adaptor on ebay £14)
I got around this by connecting the phone first.
I've not yet tried to connect 3 or more devices as yet.
The 4 really annoying thing are,
1. When on a Bluetooth call, you cannot access the android unit. It seems to lock on to the call screen.
2. Fast processor,* my arse.* More like missing a couple of cores. Slower than my galaxy s5. But fast enough for the pleasures it brings.
3. The Google voice app and other voice apps say error when trying to use. "Mic not working", (something like that).
The mic works normal on the phone and the voice memo apps.
The same happened on another new unit.
4. It seems like there is a limited memory for apps. Can't seem to change where they are stored.
I got about 6 apps totaling around 600mb. And it ran out of storage.
Other things like no AM Radio.
The screen only folds up to 90° angle exactly, so if it's low down on the dash, it may be an issue.
No mic on the dvr they provide,* or the app doesn't support it.
The Satnav could do with having the speed cameras info. But It didn't,* it does have the option to warn for it and others, in the settings though.
The WiFi works well if very close to the antenna otherwise seems to go weak very fast when creating a small distance.
I tested it with a new extended wifi antenna, and actually got a slower speed, but that could be a faulty lead!
I actually was able to test 2 units as I wanted to make sure that my initial unit was working as it should.
And it was. So I returned the second unit after extensive comparisons on data speed and app response times etc.
Despite the problems, I am sure I made the correct decision.
Amazing piece of kit considering I'm updating an old double din of 10 year old with satnav etc.
I use it via a "hotspot" , from my phone. Works really well.
Memory locations and availability work well.
Sound is great.
Ended up costing me £215 after I complained about the mic thing.
I'm sure that another app is blocking the mic from working on the Google thing and other voice apps.
Any or update would be really appreciated to help with my issues above.
I hope I have been of some help.
Contact me at [email protected]
Thanks
Is this a MTCB unit? Can I install Malaysk ROM on it?

Rear camera view on PHONE running android auto

Hi guys,
I have thoroughly searched the forum, but I could not find an answer reffering to the use case of the car running android auto on the phone, not on the head unit.
Summary: is there a way to reproduce the rear camera functionality of a headunit running android auto in your phone instead?
I am aware there are video WiFi transimiters, also available apps to go with them, pick a rear camera from amazon and off you go, by launching the app on your phone, you can now see the rear camera.
HOWEVER, if android auto is running I would like this app to launch automatically as I put the rear gear in (hence, enabling current to the camera and having something to look at). For the apps and wifi transmiters, it seems they are built to just be continually run, not only on rear mode. See on youtube "DIY Inexpensive Digital Wireless RV Backup camera- Review EC170 and 903W TrA" (can´t post a link since I am a new user!)
It seems like the apps available are linked to a particular wifi transmitter? Or are they available for any device?
Do you know of an app that as soon as current is given to the rear camera, it will launch the camera app (overriding android auto typical screen, just like it happens in AA headunits with rear camera), and as current is cut from the camera, the app will shut down and let AA continue its business? (all of that without shuting down AA in the first place, just overlaying the camera view).
In case an app like that was not available, how difficult can it be to program? I could potentially be willing to pay.
I am not sure if I explained myself correcty. Let me know if you have any further questions, thanks in avance!
I doubt it. Head units which support cameras do so outside of AA (the camera simply takes the screen away from AA). And they have a wire connected to the backup lights to signal when to switch to the camera. And I'm not aware of any backup cameras which use WiFi or Bluetooth (which doesn't have enough bandwidth anyway) - they're either hardwired or use a proprietary wireless link to a dedicated receiver which connects to the head unit.
So, there are three problems to solve. How does the phone know the car is in reverse? How does the video get to the phone? Even if you found a WiFi backup camera, you'd need to be running a hotspot on the phone, and the time it would take to connect would be unreasonable - head units only take a second or so to display when you start backing up.
Finally, what's the app which ties it all together? Even if there were solutions for the first two, simply buying an AA head unit would be cheaper than paying for an app to be developed. So, why not just buy a head unit? Or even just a backup camera solution with its own screen?

Categories

Resources