I have a custom camera application with the deprecated camera api and a surfaceview. I want to be able to magnify the live feed returned from the camera. I have tried with zoom but I am only limited to the maximum zoom value which is normally 4x but I want more than that. Any ideas on how to do that? I know it is possible because of an app called 30x Zoom in google play. How is that possible? What am I missing?
Asked
Active
Viewed 152 times
0
-
so they are doing software zoom, arent they? – pskink Oct 07 '16 at 13:23
-
Well it looks like a well enhanced digital zoom applied – Anninos Kyriakou Oct 07 '16 at 13:34
-
so try using `TextureView` instead of `SurfaceView` – pskink Oct 07 '16 at 13:39
-
I am trying to use the textureview but I don't know how to apply the zoom transformation – Anninos Kyriakou Oct 07 '16 at 13:41
-
`setTransform` ;-) – pskink Oct 07 '16 at 13:44
-
no I know that, I am talking about the matrix, I don't know how to specify that one for zoom – Anninos Kyriakou Oct 07 '16 at 14:37