Sony Encouraging SmartWatch 2 Development

Mobile device companies like selling devices–it’s how they make their money and … more

Easily Toggles Your Lollipop Mobile Data Network Type

Android Lollipop is by good margin the most advanced and refinedversion of … more

Unofficial CM12 for Android One, Disabling Encryption on Nexus 6 – XDA TV

Android One devices have received an Unofficial CyanogenMod … more

Pushbullet Universal Copy/Paste Availabe for Linux, Mac OS X

Pushbullet is one of those useful utilities that once installed, permanently … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: Do you think HTC has cheated by calling the 3rd camera a "depth sensor"?
Yes, definitely. I thought it was a sp. hw sensor 1 8.33%
No, it's OK, expected a stereoscopic cam. anyway 3 25.00%
Can't say. It just doesn't matter. 8 66.67%
Voters: 12. You may not vote on this poll

Post Reply

[how to] capture pictures from ALL 3 cameras (in RGB, yes)

OP RealMcAlec

18th April 2014, 12:10 PM   |  #1  
OP Junior Member
Hannover
Thanks Meter: 2
 
12 posts
Join Date:Joined: Apr 2014
If you want to experiment with your HTC One (M8) and want to know about the "secret" second rear camera, then this thread is for you. Works with M8 ONLY!

HTC told the press and the htcdev-members (after releasing the SDK) recently that the second lens of the "duo camera" would be something like a depth sensor. It turns out that this is definitely not the case. It is just a simple RGB-cam with 1080p resolution.

I read about the functionality and concept behind the camera on the following page (German only):
Concept of HTC One M8's Duo-Camera (title modified/translated)

On the page there is a sample App called DuoCamTest. It needs a rooted M8, APK and source can be downloaded.
The guys there used an internal debug-interface located at /system/bin/camera_test to take two pictures at the same time. One with full resolution (4 MP) and one with 2 MP (Full HD) using the second rear camera. On a rooted device you can play around with it.

I discovered a way to identify all the three camera-modules. Don't know, if somebody did this before, sorry:
Code:
  cat /sys/android_camera/sensor
  cat /sys/android_camera2/sensor
  cat /sys/android_camera3/sensor
OK, that was easy. Have fun.
Last edited by RealMcAlec; 18th April 2014 at 03:44 PM. Reason: cor. some typos.
The Following User Says Thank You to RealMcAlec For This Useful Post: [ View ]
18th April 2014, 12:24 PM   |  #2  
mushages's Avatar
Senior Member
Flag Muscat
Thanks Meter: 501
 
996 posts
Join Date:Joined: Sep 2009
Donate to Me
More
its said to be Duo camera means two cameras but HTC decided to name the smaller one as "depth sensor".
18th April 2014, 02:53 PM   |  #3  
Tikerz's Avatar
Senior Member
Flag Phoenix
Thanks Meter: 339
 
1,855 posts
Join Date:Joined: Nov 2005
More
Here's the APK to make it easier for everyone.
Attached Files
File Type: apk DuoCamTest.apk - [Click for QR Code] (312.8 KB, 168 views)
The Following 3 Users Say Thank You to Tikerz For This Useful Post: [ View ]
19th April 2014, 04:46 PM   |  #4  
Senior Member
Flag Toronto
Thanks Meter: 122
 
993 posts
Join Date:Joined: Sep 2008
More
Quote:
Originally Posted by RealMcAlec

If you want to experiment with your HTC One (M8) and want to know about the "secret" second rear camera, then this thread is for you. Works with M8 ONLY!

HTC told the press and the htcdev-members (after releasing the SDK) recently that the second lens of the "duo camera" would be something like a depth sensor. It turns out that this is definitely not the case. It is just a simple RGB-cam with 1080p resolution.

Would it be possible for us to take 1080p pictures with improved color/quality?
19th April 2014, 06:27 PM   |  #5  
superchilpil's Avatar
Senior Member
Flag Texas
Thanks Meter: 1,231
 
3,819 posts
Join Date:Joined: Sep 2009
Donate to Me
More
This app says that it proves the second sensor is a regular cam instead of a magical depth sensor.
Nobody made the claim it wasn't, HTC said the second camera is used for depth information. Key word is used here.

Just my two cents


Sent from my HTC One_M8 using Tapatalk
19th April 2014, 07:17 PM   |  #6  
BerndM14's Avatar
Senior Member
Thanks Meter: 399
 
1,111 posts
Join Date:Joined: Apr 2014
More
Quote:
Originally Posted by superchilpil

This app says that it proves the second sensor is a regular cam instead of a magical depth sensor.
Nobody made the claim it wasn't, HTC said the second camera is used for depth information. Key word is used here.

Just my two cents


Sent from my HTC One_M8 using Tapatalk

Well someone had to make the claim, else where did the claim come from?

Just my two cents
Post Reply Subscribe to Thread

Tags
3d-camera, cheated, duo-camera, hack, htc-m8
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes