android-camera
Android View with 'hole' in it
I\'ve created a custom camera view for Android. I have overlayed the camera preview with a semi transparent LinearLayout with a TextView and Button. Now I need to punch a \'hole\' in the middle of the[详细]
2023-03-09 23:32 分类:问答How to properly lock/unlock camera when drawing on SurfaceView?
I created an开发者_如何学Go Activity with Augmented Reality functionality. Part of that is to have phone camera display in the background (which is SurfaceView in Activity layout).[详细]
2023-03-09 15:11 分类:问答setOneShotPreviewCallback() on a Camera object, cropped version of the preview Image
I am developing a fairly process hungry application which I need to take an image and save it every time a button is pressed. On pressing the button I trigger the setOneShotPreviewCallback() method of[详细]
2023-03-07 05:35 分类:问答How to turn on front flash light programmatically in Android?
I want to turn onfront flash light (not with camera preview) programmatically in Android. I googled for it but the help i found referred me to this page[详细]
2023-03-07 00:46 分类:问答Image captured on HTC Desire Z shows a series of vertical lines
I have an application that uses the Camera API to capture images.The implementation is contained within a CameraActivity class that is modeled after a number of examples that I have seen within this s[详细]
2023-03-05 17:11 分类:问答Android - How to draw 3D cube on a real scene (no marker, camera is open)
I know I have a basic question, but I can\'t think how I can draw a cube while the camera is open. I can seperately open the camera or draw a cube in the scene with a background by using GLSurfaceView[详细]
2023-03-05 06:52 分类:问答Android - How can I get rid of the BLACK BACKGROUND of a 3D object and see the camera view?
I\'m stuck in this problem. I have a camera view and an opengl object (cube). I want to see the 3D object while the camera is open. However, when I add two views (opengl开发者_如何学Pythonview and ca[详细]
2023-03-05 04:55 分类:问答Android: Raw image callback supported devices
I am working on some image processing and I am in need for the raw image data. But unfortunately this according to the documentation is optional and depends on the vendor.[详细]
2023-03-04 23:22 分类:问答Convert bitmap array to YUV (YCbCr NV21)
How t开发者_Python百科o convert Bitmap returned by BitmapFactory.decodeFile() to YUV format (simillar to what camera\'s onPreviewFrame() returns in byte array)?Here is some code that actually works:[详细]
2023-03-04 20:32 分类:问答Stopping surface view from rotating when displaying camera preview
I have a surface view displaying a camera preview which looks good in landscape mode, but when I rotate my phone to portrait the surface view rotates and the camera preview is on its side which looks[详细]
2023-03-04 18:22 分类:问答