Questions tagged [face]

A face is an elementary surface geometry. Faces are used in 3D modelling to define meshes

A face is an elementary surface geometry. A face is defined by three (sometimes four) vertices or the indices from a vertices array or collection. Faces are used in 3D modelling, for example to define faceted boundary representations.

Note: Use this tag for questions related to face geometries, do not use this tag for questions related to face recognition (use face-recognition instead).

176 questions
3
votes
2 answers

Three.js: Convert face normal from local space to world space

I have a THREE.PlaneGeometry, with ComputeFaceNormals(). I create two meshes using this geometry, with different rotations applied to them. I want to compute the two angles between the camera and the two meshes central face normal. It should be…
Typedef
  • 169
  • 1
  • 11
2
votes
0 answers

Check failed: axis_index < num_axes() (1 vs. 0) axis 1 out of range for 0-D Blob with shape (0)

When I run the code from GitHub,which is Face_Alignment_Two_Stage_Re-initialization,I got the following error: I0911 08:08:29.921020 12228 layer_factory.hpp:88] Creating layer input I0911 08:08:29.922020 12228 net.cpp:100] Creating Layer…
youthM
  • 21
  • 2
2
votes
0 answers

Multiple ARSCNViews and displaying only face mesh in ARKit Face Tracking

Following Apple's ARKit code example, I was able to display Face Mesh on the real face. Now I want to display the face mesh only in a separate ARSCNview, i.e. one view showing the real face and the second view to display the face mesh only (so later…
Yan
  • 137
  • 1
  • 9
2
votes
0 answers

Bad request 400 sending image as base64 or blob to MS Face Api, Angular 7

I have trying to send my image base64 encode or as a Blob, or bufferArray to my Microsoft Face Api in order to get my age. Im always getting Bad Request 400 error: image is to small or invalid image format. Im using ngx webcam to generate my image…
Mannygg
  • 29
  • 3
2
votes
2 answers

Draw 2D face with 3D vertices

Please bear with me as I've never dealt with anything relating to this and I've been sitting on this issue for the last two weeks. I'm developing a program that reads in faces from a 3D model. Each face is drawn by connecting a series of 3 or 4…
user8761909
2
votes
1 answer

Clara.io (or) ThreeJS: Extruded face renders grey, or doesn't render material

(Note: I've posted this on the Clara.io Forums and while it's only been a day, I've not received any replies. I figured I'd try StackOverflow and update my Clara.io post.) I'm hoping (guessing) that this is a quick-fix and that I'm missing…
Jon D Cruz
  • 107
  • 1
  • 7
2
votes
0 answers

Make the car follow the road at the right speed (NetLogo)

Currently I am working on developing an infrastructure model in NetLogo and I have difficulty making the turtle follow the road. This I do using the gis extension. The goal of this model is to simulate traffic movement, and for that the cars within…
LuukvGorp
  • 66
  • 5
2
votes
1 answer

JibJab like Face Replacement

I was trying a sample with face detection and replacement, but I want to do something smooth like how jibjab.com does. When I think about this, the videos should have been pre-processed and the faces co-ordinates have to be marked. I tried this…
jamb
  • 186
  • 1
  • 8
2
votes
0 answers

Calculate distance between two pupils in 3Dimention in ARFaceTrackingConfiguration

I have created a facegeometry as follows; @IBOutlet weak var sceneView: ARSCNView! private var faceGeo: ARSCNFaceGeometry? Using following to create Face; faceGeo = ARSCNFaceGeometry.init(device: sceneView.device!, fillMesh: true); To get the…
Rohan
  • 2,939
  • 5
  • 36
  • 65
2
votes
1 answer

Generate the faces of a 3D object given its points and edges

I have a 3D wire-frame consisting of 3D points and edges. How do I go about identifying sets of vertices forming a face of the 3D object? I am using QT and want to render a 3D object given its point set and edge set. The best I have been able to do…
arpanmangal
  • 1,770
  • 1
  • 17
  • 34
2
votes
1 answer

Remove duplicate faces from an Array of faces - Three.js

I would like to remove duplicate faces from an array of faces - I have attempted some code below but I am not sure how to complete it. Firstly I was suprised to find that: new THREE.Vector3(0,0,0) == new THREE.Vector3(0,0,0) yields false (I would…
Anton James
  • 385
  • 3
  • 6
  • 18
2
votes
2 answers

Paint cube faces as a whole, not the triangles that make up the face - three.js

Trying to paint each cube face with a different color, I found a thread that presents a way to achieve this: var geometry = new THREE.BoxGeometry(5, 5, 5); for (var i = 0; i < geometry.faces.length; i++) { …
Zuul
  • 16,217
  • 6
  • 61
  • 88
2
votes
0 answers

iOS im trying to crop the face and apply feather effect on the edge of the Image but getting nil renderer?

here i’m geting the image in Img but showing nil but when i print the size of the image or display image (Img) in imageview i m getting its size and image also in imageview then when i pass the size of the image(Img) in renderer, the issue is…
Ramani Hitesh
  • 214
  • 3
  • 15
2
votes
2 answers

Face API "Access denied due to invalid subscription key..."

I have already tried with free trial keys associated with two different email addresses and a "Pay as you go" billing. They all returned this same message: Access denied due to invalid subscription key. Make sure you are subscribed to an API you…
Julio Santos
  • 113
  • 1
  • 6
2
votes
0 answers

matlab point cloud - no polygon/face representation?

I have a short question concerning matlab's representation of point clouds. I am importing a point cloud from a .ply file, which contains vertex-, vertex normal- and face information, i.e., it is explicitly stored in the file which points form…
1
2
3
11 12