camera2

  1. MARCO CORRIAS

    Italian Face Detect con lib Camera2

    Buongiorno, in riferimento a questa libreria https://www.b4x.com/android/forum/threads/camera2-still-images-and-videos.83920/ Sapete dirmi se ha qualche funzione di "FACE DETECTION" . Per essere sinceri , non mi intessa riconoscere il volto e nemmeno rilevamento dei movimenti, ma solamente se...
  2. L

    Android Question CamEx2 Zoom in Preview AND Capture

    Hi, as Erel stated in this post the zoom in CamEx2 Class effects only the preview but not the capture of the photo taken: https://www.b4x.com/android/forum/threads/camera2-still-images-and-videos.83920/page-3#post-557317 To change this behavior I added in CamEx2.setPreviewCropRegion a line...
  3. N

    Android Question CameraEx doesn't work.

    I want to take a picture when the PanelCamera is visible. But I can not initialize the camera. When I pressed on the BtnCamera, it just showed a black screen and return start camera false. But when I tried on a new project, it's work. I don't why, please help.. :(
  4. peacemaker

    Android Question Barcode detector: "setBitmap" instead of "setImageData" does not work

    HI, All Barcode detector uses ImageData from camera's _Preview (data() As Byte) event: Dim bb As JavaObject bb = bb.InitializeStatic("java.nio.ByteBuffer").RunMethod("wrap", Array(data))...
  5. peacemaker

    Android Question Camera_PreviewTaken event of CamEx2

    HI, All How to work with this event ? Seems, it is not fired.
  6. peacemaker

    Android Question Camera2 API and modern Android 9 devices cameras

    HI, All iI have found that the system camera app (of a new Android 9 device) can see another angle than my app based on CameraEx v.1.x - system camera shows wider picture vertically. And the sys app has 2 settings for this angle view. I'd like to reach the same max view angle. It's some...
  7. J

    Android Question Simple Watchdog not working

    My App using Camera2 occasionally crashes by going into Activity_Pause. I have created a watchdog attached, but I cannot get the activity to restart or resume. I have included MANAGE_OVERLAY_PERMISSION and also added it to the manifest, that part is working. The timer is also working as it is...
  8. Brandsum

    Android Tutorial Slow Motion video recording using CamEX2

    Here is the example of SlowMo video capture using Camera2 API and CamEX2 class. This is the code for recording slow-motion video which you can find at the bottom of CamEX2 Class of attached example, #Region HighSpeed/SlowMo Public Sub getHighSpeedVideoSizesAndFPS As List Dim scMap As...
  9. peacemaker

    Android Question Camera2 video capturing: Release compilation preview

    HI, All Strange situation with Camera2 usage for the video recording: 1) Debug version works fully OK: preview is restarted OK after each file saving. 2) But Release compilation shows the preview only for the very first time, and later the preview is not visible, but capturing is anyway OK. No...
  10. S

    Android Question Camera2 - Problem with Camera_SurfaceReady

    I'm writing a timelapse app using a foreground service to keep the process running and all is fine until the display "goes to sleep". When the Main Activity is re-awakened by a CallSubDelayed from my foreground service, there is no response from the line "Wait For Camera_SurfaceReady" in...
  11. walterf25

    Android Question Camera2 Library

    Hi all, i'm working on an app at work to test the cameras on a product we are developing, i was using the CameraEx class, but read somewhere that it was recommended to use the Camera2 library, i am able to deploy the apk just fine and am also able to see the camera preview, the issue i just...
  12. MarkusR

    Android Question Camera2 Problem at Android 5

    hello, i will use the camera 2 but it gave me an error. my device have 5.0.2 API 21 19. Dezember 2014 and it should work and i believe i tested it long ago and it worked. at my tablet device with android 6.0 it works. at os 5 the example said: Failed to open camera Sub OpenCamera (front As...
  13. Alexander Stolte

    Android Question Camera2 App crash on video with front camera

    Hello, i use this example, because there is the error too. If you swtich to video mode and then to the front camera, then record a video and stop the video. The Error is on line 134 in the "CamEx2" class. The following error message: Logger connected to: samsung SM-G935F --------- beginning...
  14. knutf

    Android Question How can I make the Camera2 PreviewTaken (Image As Object) event to happen?

    In CamEx2 the Camera2 PreviewTaken (Image As Object) event is commented: 'Private Sub Camera_PreviewTaken (Image As Object) ' Log(Image) 'End Sub I tried uncommenting the Sub, but the event never happens: :( Private Sub Camera_PreviewTaken (Image As Object) Log("PreviewTaken") End Sub...
Top