/external/opencv3/modules/objdetect/perf/opencl/ |
perf_cascades.cpp | 40 vector<Rect> faces; local 49 faces.clear(); 53 cc.detectMultiScale(uimg, faces, 1.1, 3, 0, minSize); 57 sort(faces.begin(), faces.end(), comparators::RectLess()); 58 SANITY_CHECK(faces, min_size/5);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btConvexHullComputer.h | 74 // Faces of the convex hull. Each entry is an index into the "edges" array pointing to an edge of the face. Faces are planar n-gons 75 btAlignedObjectArray<int> faces; member in class:btConvexHullComputer 87 The output convex hull can be found in the member variables "vertices", "edges", "faces".
|
/external/opencv3/samples/cpp/tutorial_code/objectDetection/ |
objectDetection.cpp | 56 std::vector<Rect> faces; local 62 //-- Detect faces 63 face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0|CASCADE_SCALE_IMAGE, Size(30, 30) ); 65 for ( size_t i = 0; i < faces.size(); i++ ) 67 Point center( faces[i].x + faces[i].width/2, faces[i].y + faces[i].height/2 ); 68 ellipse( frame, center, Size( faces[i].width/2, faces[i].height/2 ), 0, 0, 360, Scalar( 255, 0, 255 ), 4, 8, 0 ) [all...] |
objectDetection2.cpp | 65 std::vector<Rect> faces; local 71 //-- Detect faces 72 face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0, Size(80, 80) ); 74 for( size_t i = 0; i < faces.size(); i++ ) 76 Mat faceROI = frame_gray( faces[i] ); 84 Point center( faces[i].x + faces[i].width/2, faces[i].y + faces[i].height/2 ); 85 ellipse( frame, center, Size( faces[i].width/2, faces[i].height/2 ), 0, 0, 360, Scalar( 255, 0, 0 ), 2, 8, 0 ) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fFboStateQueryTests.cpp | 187 const GLenum faces[] = local 194 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 195 glTexImage2D(faces[ndx], 0, GL_RGB, 64, 64, 0, GL_RGB, GL_UNSIGNED_BYTE, DE_NULL); 198 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 200 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); 201 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]);
|
/external/opencv3/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/ |
main.cpp | 41 //#define FACES 88 #elif defined FACES 127 // detect human faces 130 Mat faces; local 132 cvtColor(frame, faces, COLOR_RGB2GRAY); 133 equalizeHist(faces, faces); 134 face_cascade.detectMultiScale(faces, facesColl, 1.1, 2, 0 | CV_HAAR_SCALE_IMAGE, cv::Size(1, 1));
|
/external/skia/tests/ |
FontObjTest.cpp | 45 static const char* const faces[] = { local 80 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 81 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(faces[i], SkTypeface::kNormal));
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXMetadata.cpp | 84 struct camera_metadata_face *faces = reinterpret_cast<struct camera_metadata_face *> (static_cast<char*>(ret->data) + offset); local 92 faces[idx].left = faceData->tFacePosition[j].nLeft; 93 faces[idx].top = faceData->tFacePosition[j].nTop; 94 faces[idx].bottom = faceData->tFacePosition[j].nWidth; 95 faces[idx].right = faceData->tFacePosition[j].nHeight;
|
/external/freetype/src/cache/ |
ftcmanag.h | 104 FTC_MruListRec faces; member in struct:FTC_ManagerRec_
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cache/ |
ftcmanag.h | 104 FTC_MruListRec faces; member in struct:FTC_ManagerRec_
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_mipmap_tree.h | 48 radeon_mipmap_image faces[6]; member in struct:_radeon_mipmap_level 70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member in struct:_radeon_mipmap_tree
|
radeon_mipmap_tree.c | 140 lvl->faces[face].offset = *curOffset; 147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 166 for(face = 0; face < mt->faces; face++) { 201 mt->faces = _mesa_num_tex_faces(target); 394 return (mt->levels[level].faces[face].offset); 396 return mt->levels[level].faces[0].offset; 420 dest = mt->bo->ptr + dstlvl->faces[face].offset; 438 image->mt->bo->ptr + srclvl->faces[face].offset, 572 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 576 for (face = 0; face < faces; ++face) [all...] |
/frameworks/rs/cpp/ |
Type.cpp | 37 uint32_t faces = 1; local 39 faces = 6; 51 uint32_t count = x * y * z * faces; 63 count += x * y * z * faces;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_sample.h | 111 unsigned faces[TGSI_QUAD_SIZE]; member in struct:sp_sampler_variant
|
/external/mesa3d/src/mesa/swrast/ |
s_texture.c | 250 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 253 for (face = 0; face < faces; face++) { 271 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 274 for (face = 0; face < faces; face++) {
|
/external/opencv3/modules/objdetect/misc/java/test/ |
CascadeClassifierTest.java | 35 MatOfRect faces = new MatOfRect(); local 41 cc.detectMultiScale(greyLena, faces, 1.09, 3, Objdetect.CASCADE_SCALE_IMAGE, new Size(30, 30), new Size()); 42 assertEquals(1, faces.total());
|
/external/opencv3/samples/cpp/ |
facial_features.cpp | 59 // Detect faces and facial features 60 vector<Rect_<int> > faces; local 61 detectFaces(image, faces, face_cascade_path); 62 detectFacialFeaures(image, faces, eye_cascade_path, nose_cascade_path, mouth_cascade_path); 126 static void detectFaces(Mat& img, vector<Rect_<int> >& faces, string cascade_path) 131 face_cascade.detectMultiScale(img, faces, 1.15, 3, 0|CASCADE_SCALE_IMAGE, Size(30, 30)); 135 static void detectFacialFeaures(Mat& img, const vector<Rect_<int> > faces, string eye_cascade, 138 for(unsigned int i = 0; i < faces.size(); ++i) 141 Rect face = faces[i];
|
facedetect.cpp | 23 "It's most known use is for faces.\n" 204 vector<Rect> faces, faces2; local 220 cascade.detectMultiScale( smallImg, faces, 239 faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); 244 for( vector<Rect>::const_iterator r = faces.begin(); r != faces.end(); r++, i++ )
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
FrameProcessor.cpp | 123 Vector<camera_face_t> faces; local 132 // No faces this frame 140 ALOGE("%s: Camera %d: More faces than expected! (Got %d, max %d)", 190 faces.setCapacity(metadata.number_of_faces); 235 faces.push_back(face); 238 metadata.faces = faces.editArray();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilter.java | 54 .addInputPort("faces", Signature.PORT_REQUIRED, facesType) 66 FrameValues facesFrame = getConnectedInputPort("faces").pullFrame().asFrameValues(); 67 Face[] faces = (Face[]) facesFrame.getValues(); local 72 // For every face in faces, draw a white rect around the 74 drawBoxes(pixels, faces, dims); 82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { 83 for(int i = 0; i < faces.length; i++) { 84 Rect tempRect = faces[i].rect;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilterTest.java | 71 Face[] faces = new Face[1]; local 72 faces[0] = face; 73 facesFrame.setValue(faces); 74 injectInputFrame("faces", facesFrame);
|
/frameworks/rs/ |
rsType.h | 56 bool faces; member in struct:android::renderscript::Type::Hal::State 75 bool getDimFaces() const {return mHal.state.faces;} 139 // * Faces
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
FaceClustering.java | 50 Face[] faces = item.getFaces(); local 51 if (faces != null) { 52 Face face = faces[faceIndex]; 99 Face[] faces = item.getFaces(); 100 if (faces == null || faces.length == 0) { 104 for (int j = 0; j < faces.length; j++) { 105 Face face = faces[j];
|
/external/deqp/modules/gles3/functional/ |
es3fFboStateQueryTests.cpp | 337 const GLenum faces[] = local 344 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 346 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); 347 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]); [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_cmd.c | 66 id->face = s->real_face; /* faces have the same order */ 216 * the FIFO, and returns pointers to the command's faces and 220 * The faces and mipSizes arrays are initialized to zero. 229 * - Surface may have multiple faces (for cube maps) 257 * Returns pointers to arrays allocated in the FIFO for 'faces' 271 SVGA3dSurfaceFace **faces, // OUT 287 *faces = &cmd->face[0]; 290 memset(*faces, 0, sizeof **faces * SVGA3D_MAX_SURFACE_FACES); 322 SVGA3dSurfaceFace *faces; local [all...] |