face-detect with portrait mode and front-camera
I tried to make my own face detect app on Android. The app should be used in portrait display, using front-camera. Firstly, I made it like below:
knowing that I have to rotate the view or the camera, I looked for help in this forum and found the method "mCamera.setDisplayOriention(90)" cannot make sense in Opencv sample's struction. Then I got my way in link text .The result came out like below:
I had successfully added the face-detection by studying the sample. But I want some improvement because the black border is ugly.
Seeking for advise here.
The link which you mentioned above id not working... please give me a link i am struggling for one week
Hi sir, Because I have the same problems, could you give me a big hands or how can i get link text. many thanks!
Hello! Could u share again the link? it doesn't work:( I have the same problem...Have u solved the problem of the black border?
Hello! Could you share the link again ? it doesn't work:( I have the same problem...Have you solved the problem of the black border?
Hi @Zeo and @diegokrk can you please share with us the code to make the rotation of the image to be in portrait mode?? The thing with the black border seems to be a selection of wrong preview size Can you paste the link for the source code on send it to my email [email protected]? Thanks
link