Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use format type rgba no result return #43

Open
zktc5418 opened this issue Dec 1, 2020 · 0 comments
Open

use format type rgba no result return #43

zktc5418 opened this issue Dec 1, 2020 · 0 comments

Comments

@zktc5418
Copy link

zktc5418 commented Dec 1, 2020

         ByteBuffer byteBuffer = getResizeByteBuffer(1); //glReadbuffer get buffer  GL_RGBA 格式
        long detectConfig = FaceDetectConfig.ACTIONTYPE_EYE_BLINK| FaceDetectConfig.ACTIONTYPE_MOUTH_AH|FaceDetectConfig.ACTIONTYPE_HEAD_YAW|FaceDetectConfig.ACTIONTYPE_HEAD_PITCH|FaceDetectConfig.ACTIONTYPE_BROW_JUMP;
        FaceDetectionReport[] results = mFaceDetector.inference(byteBuffer.array(), (int)(config.cameraOutWidth), (int)(config.cameraOutHeight), MNNCVImageFormat.RGBA, detectConfig, 0, 0, MNNFlipType.FLIP_NONE);
        LogUtils.e(TAG,"startdetect" + results);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant