Is there a way, in which I can select a focus area on the camera preview by touch gesture and zoom into that specific area?
The short answer is: yes, you can.
If your camera supports video resolution higher than the preview area, zoom in can show more details. Often, it's not the case, and zoomed in picture will not look good.
Related
i am facing a problem with my code.
I have used textureview to display camera streaming and i can zoom it as well.
Now my problem is want to take screenshot of zoomed area but when i do that in code it saved whole image what camera is capturing, not only the zoomed area.
So is there any solution where i can screenshot only those content what i have zoomed rather that whole orignal textureview?
I'm not sure where to start with this one, I have an image with a repeatable grid pattern and I am trying to detect and create a digital representation of that grid over the camera view.
If I have my rear camera preview hovering over this image, I would like it to detect gridlines and then overlay a digital redline of the grids. Similar to the face/barcode detection but a grid detector.
Any help in the right direction would be greatly appreciated.
I have some issue in device orientation. What i did is that, i have to open camera for screen capture. The camera view is customized by using overlay. Overlay contains a button view, when click on it it will capture image.
I implement device orientation in it. When custom camera opens it looks fine. But when we rotate(that is, rotate to 180 degree) the over lay looks fine, but the camera view inverted the screen. That is for example, if we wish to capture a tree by rotating device, it'll see like upside down and when after capture, the image also inverted. Does anybody have any idea about how to remove this camera invert while rotating.
This issue is headache for many devs.
How do you rotate the camera? You have to rotate your overlay and pretend user that user is rotating the camera.
To get More info see this
Explanation is good.
I want overlay an image in live camera preview using surface view. There are lot of tutorial in this case and my program run perfectly. Now i want add ability to move overlay image in live camera preview with touch event. I can't find any code or tutorial that explain that. Can somebody help me please?
if you do not use OpenGL and just float your overlay with opacity over surfaceView, you can set your own onDragListener() that handles android DragEvent( http://developer.android.com/reference/android/view/DragEvent.html) that can move the overlay detecting user's finger
Here is an interesting problem I am trying to solve.
In my app I have extended SurfaceView to create a custom cameraview. And now I want to implement ZOOM and PAN functionality in it. Following are the steps;
With my Android device properly mounted(still in a position)
1) I will zoom in on the camera view
2)Now I can pan with my finger on the camera view. As the device is NOT MOVING and I am trying to pan on cameraview(which is "zoomed in"), I want camera view to start showing preview of areas which were outside the scope of "current view" after zoom in(but were visible before I zoomed in).
Do you think this functionality is possible in Andorid today?
I am trying to explain the problem in this picture