I am working on an app that will show reverse view from camera. For example, if current view from camera is like: ,
the app should reverse view like:
so user will see constantly reverse view from camera through this app.
I am not very sure how to achieve this. Any help or idea would be highly appreciated. Thanks!
Slicing is a general term that means to cut across the grain into thin, uniform pieces. Almost every fruit or vegetable can be sliced, as well as other ingredients like cheese and bread.
I understand from your answer that you want to display the reversed view in real-time.
I would create a custom SurfaceView
and override the onDraw
method to split the image in two and reverse the two slices.
Then I would pass the holder of your surface to the camera object like this:
camera.setPreviewDisplay(myCustomSurfaceView.getHolder());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With