Android draw on camera preview

后端 未结 4 1095
情歌与酒
情歌与酒 2020-12-07 21:50

I\'m making a virtual reality application where the camera should detect faces, locate them and show their location on the camera preview.

I know of 3 ways to do it,

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-07 21:57

    The lockcanvas/unlockcanvasandpost approach is not appropriate when using openGL as the openGL code is controlling and locking the surface. If you want to use the standard 2d APIs, don't use OpenGL.

提交回复
热议问题