English 中文(简体)
如何利用后方摄像机使安妮丝光化?
原标题:How to make Android screen see-through using backside camera?

是否有办法显示,幕后摄像机在完全屏幕上捕获哪些东西,从而造成对看到的屏幕的幻觉? 它不需要完美无缺,必须有足够的说服力,只有微薄的滞后才能有所改变。

Is it possible to create such an effect using phone camera? If yes, how can the effect be achieved? (as in what transformations to apply etc.)

(我已知道如何

<><>Edit>: 现在,我也知道,已经这样做了:http://gizmodo.com/5587749/the-samsung-galaxy-s-goes-see through, 但是,我仍然不知道如何适当做到这一点,我知道审判和错误是一条途径,而另一种做法是计算用户在电话时应当看到的内容。

我认为,有一些因素涉及:

  • viewing distance,
  • viewing angle,
  • camera zoom range,
  • camera focus,
  • camera quality,
  • phone orientation,
  • camera position (where is camera located on phone) etc.

因此,我并不认为这个问题有简单的解决办法,如果不如此,请回答。

帮助

Shobhit,

最佳回答

您可使用标准3D投射线 数学,在显示的后面部分照相照相图像上投射;通过假定照相机从后方照相机的某个特定深度,并通过向观察员提出特定观点,您可以管理。

You can improve on this by looking for faces/eyes using the frontside camera. You can get a rough estimate of the the viewing distance from the eye spacing, and assume a viewer position midway between the eyes. Of course, this only works for one viewer at a time (e.g., if your face tracker finds multiple faces, you can select one of them).

此外,通过校准摄像机和屏幕,使你能够从一对二者的肤色和光明相匹配,你可以改善幻觉。

问题回答

暂无回答




相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签