| | |
| | |
|
| | | for (int i = 0; i < c; i++)
|
| | | {
|
| | | Log.i("@@@", "cameraIdx=" + cameraIdx +
|
| | | ", i=" + i +
|
| | | ", st_track_id=" + faceImages.get(i).st_track_id+
|
| | | ", size=" + faceImages.get(i).size+
|
| | | ", w=" + faceImages.get(i).width +
|
| | | ", h=" + faceImages.get(i).height +
|
| | | ", image[0]=" + faceImages.get(i).image[0] +
|
| | | ", image[1]=" + faceImages.get(i).image[1]);
|
| | | // Log.i("@@@", "cameraIdx=" + cameraIdx +
|
| | | // ", i=" + i +
|
| | | // ", st_track_id=" + faceImages.get(i).st_track_id+
|
| | | // ", size=" + faceImages.get(i).size+
|
| | | // ", w=" + faceImages.get(i).width +
|
| | | // ", h=" + faceImages.get(i).height );
|
| | | //// ", image[0]=" + faceImages.get(i).image[0] +
|
| | | //// ", image[1]=" + faceImages.get(i).image[1]);
|
| | |
|
| | | if (i == 0)
|
| | | {
|
| | |
| | | //bitmap.copyPixelsFromBuffer(byteBuffer);
|
| | | //NativeCodec.setFaceDrawable(bitmap);
|
| | |
|
| | | NativeCodec.setFaceDrawable(faceImages.get(i));
|
| | | // NativeCodec.setFaceDrawable(faceImages.get(i));
|
| | | }
|
| | | setFaceLabel(cameraIdx+1, faceImages.get(i).st_track_id , "4444444edddddd");
|
| | | }
|
| | |
|
| | | //#todo fix setFacelable
|
| | |
|
| | | releaseFace(cameraIdx);
|
| | | }
|
| | |
|