Skip to content

Instantly share code, notes, and snippets.

@hoshinolina
Created May 12, 2026 15:02
Show Gist options
  • Select an option

  • Save hoshinolina/ba7548a50563146fa1caf3d2bd8ea3be to your computer and use it in GitHub Desktop.

Select an option

Save hoshinolina/ba7548a50563146fa1caf3d2bd8ea3be to your computer and use it in GitHub Desktop.
"ARKit" (FaceKit) face tracking on macOS logs
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Creating FaceKit with options: { "failure_fov_modifier" = "0.5"; "network_failure_threshold_multiplier" = 1; "num_tracked_faces" = 1; "rgb_only" = 1; "robust_tongue" = 1;}
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] CVAFaceTracking created (0x78b035cc0).
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Color camera resolution: 640 x 480
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Color camera intrinsics: (400.000 0.000 319.500), (0.000 400.000 239.500), (0.000 0.000 1.000)
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Color camera extrinsics: (1.000 0.000 0.000 0.000), (0.000 1.000 0.000 0.000), (0.000 0.000 1.000 0.000)
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] new track for user (0x78aad81b8 uuid=unset) at (358,327), bbox size (130,130)
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] request faceprint for user (0x78aad81b8 uuid=unset) at (355,325), bbox size (128,128), pose=0.985485 0.0158968 -0.169016 58.621
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Unknown user, assigned new UUID (0x78aad81b8 uuid=497D7619-E20C-48D5-B8F7-4767429A64E2). New DB size 1. Closest mismatch n/a, d=inf
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] request faceprint for user (0x78aad81b8 uuid=497D7619-E20C-48D5-B8F7-4767429A64E2) at (360,328), bbox size (134,134), pose=0.963764 0.00485218 -0.266711 59.3581
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] request faceprint for user (0x78aad81b8 uuid=497D7619-E20C-48D5-B8F7-4767429A64E2) at (348,315), bbox size (139,139), pose=0.974141 0.00534394 -0.225876 37.4395
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] request faceprint for user (0x78aad81b8 uuid=497D7619-E20C-48D5-B8F7-4767429A64E2) at (348,315), bbox size (138,138), pose=0.975033 0.0101277 -0.221829 38.5848
result: {
DetectedFacesArray = (
{
AngleInfoPitch = "0.06749515235424042";
AngleInfoRoll = "-0.001533980830572546";
AngleInfoYaw = "-0.1871456503868103";
FaceID = 0;
Rect = {
Height = "0.2214417904615402";
Width = "0.1660813391208649";
X = "0.4490190148353577";
Y = "0.5509041994810104";
};
timestamp = {
epoch = 0;
flags = 3;
timescale = 100000;
value = 12948438911;
};
}
);
"data_failure" = {
};
meta = {
version = (
42,
0,
0
);
};
"rgb_camera" = {
extrinsics = {
rotation = (
(
1,
0,
0
),
(
0,
1,
0
),
(
0,
0,
1
)
);
translation = (
0,
0,
0
);
};
intrinsics = (
(
"400.0000000000001",
0,
"319.5"
),
(
0,
"400.0000000000001",
"239.5"
),
(
0,
0,
1
)
);
};
timestamp = {
epoch = 0;
flags = 3;
timescale = 100000;
value = 12948438911;
};
"timestamp_seconds" = "129484.38911";
"tracked_faces" = (
{
AngleInfoRoll = "-0.9749732";
Rect = {
Height = "0.2889376580715179";
Width = "0.2167032212018967";
X = "0.4364317059516907";
Y = "0.5130370855331421";
};
confidence = "0.9988883";
"confidence_level" = 950;
debug = {
"faceprint_snapshot_coefficients" = {length = 512, bytes = 0x15d7b93d 6b942fbd 6cbc9e3d d555cfbb ... 1b8309bd e7bb293c };
"identity_snapshot_coefficients" = {length = 256, bytes = 0x00a0453d 0000d1be 0020bd3e 0060a4be ... 0080a1be 00a09a3e };
"recognition_framework_version" = "Vision:9.5";
"rgb_crop" = "<CVPixelBuffer 0x78e5b2bc0 width=128 height=128 bytesPerRow=128 pixelFormat=L008 iosurface=0x0 surfaceid=0 attributes={\n PixelFormatDescription = {\n BitsPerBlock = 8;\n BitsPerComponent = 8;\n CGBitmapContextCompatibility = 1;\n CGBitmapInfo = 0;\n CGImageCompatibility = 1;\n ComponentRange = FullRange;\n ContainsAlpha = 0;\n ContainsGrayscale = 1;\n ContainsRGB = 0;\n ContainsYCbCr = 0;\n FillExtendedPixelsCallback = {length = 24, bytes = 0x000000000000000070dbcb97010000000000000000000000};\n OpenGLCompatibility = 1;\n OpenGLFormat = 6403;\n OpenGLInternalFormat = 6403;\n OpenGLTextureCacheCompatibility = 1;\n OpenGLType = 5121;\n PixelFormat = 1278226488;\n };\n} propagatedAttachments={\n} nonPropagatedAttachments={\n}>";
};
"exceeded_default_thresholds_mask" = 0;
"face_id" = "497D7619-E20C-48D5-B8F7-4767429A64E2";
"failure_type" = 0;
"identity_coefficients" = {length = 2004, bytes = 0x4f88cf3f 1c445fbf 684660bf 73fb8f3e ... 19b86cb2 8fb12933 };
"raw_data" = {
animation = {
blendshapes = {length = 204, bytes = 0x00000000 00000000 08aaa63e 129ea63e ... d17ced3d 17d3bd3d };
gaze = (
"-569.9219",
"46.67969",
"1059.375"
);
"left_eye_pitch" = "-0.01712362";
"left_eye_yaw" = "-0.5215238";
"right_eye_pitch" = "-0.01756353";
"right_eye_yaw" = "-0.4789564";
"studio_blink_left" = 0;
"studio_blink_right" = 0;
"tongue_out" = "0.9999912";
"virtual_blink_left" = 0;
"virtual_blink_right" = 0;
};
pose = {
rotation = (
(
"0.9741414",
"0.005343945",
"-0.2258762"
),
(
"-0.03716971",
"-0.9823088",
"-0.1835429"
),
(
"-0.2228609",
"0.1871925",
"-0.956709"
)
);
translation = (
"37.43954",
"109.1509",
"577.4985"
);
};
};
"rgb_camera" = {
extrinsics = {
rotation = (
(
1,
0,
0
),
(
0,
1,
0
),
(
0,
0,
1
)
);
translation = (
0,
0,
0
);
};
intrinsics = (
(
"400.0000000000001",
0,
"319.5"
),
(
0,
"400.0000000000001",
"239.5"
),
(
0,
0,
1
)
);
};
"smooth_data" = {
animation = {
blendshapes = {length = 204, bytes = 0x00000000 00000000 d7359d3e 61319d3e ... e286dd3d 571abb3d };
gaze = (
"-569.0073",
"45.37742",
"1058.65"
);
"left_eye_pitch" = "-0.01605487";
"left_eye_yaw" = "-0.5211641";
"right_eye_pitch" = "-0.01646967";
"right_eye_yaw" = "-0.4785492";
"studio_blink_left" = 0;
"studio_blink_right" = 0;
"tongue_out" = "0.9977245";
"virtual_blink_left" = 0;
"virtual_blink_right" = 0;
};
geometry = {
landmarks = {length = 528, bytes = 0xe3dc9c43 5a059543 7e07a543 b20f9543 ... 5313b843 7545bc43 };
"left_eye" = (
"28.85961",
"26.09706",
"17.2673"
);
"right_eye" = (
"-28.8113",
"26.05536",
"17.34514"
);
vertices = {length = 14640, bytes = 0x364c43bd 2315dfc1 acf44342 ae6030bd ... 4eef35c2 04c12242 };
};
pose = {
rotation = (
(
"0.9743518",
"-0.0008495571",
"-0.2250287"
),
(
"-0.04172437",
"-0.9833351",
"-0.1769499"
),
(
"-0.2211283",
"0.1818007",
"-0.9581498"
)
);
translation = (
"37.64653",
"109.0509",
"578.2509"
);
};
};
timestamp = {
epoch = 0;
flags = 3;
timescale = 100000;
value = 12948438911;
};
}
);
}
Optional(Swift.Unmanaged<__C.CFDictionaryRef>(_value: {
"blendshape_names" = (
"eyeBlink_L",
"eyeBlink_R",
"eyeSquint_L",
"eyeSquint_R",
"eyeLookDown_L",
"eyeLookDown_R",
"eyeLookIn_L",
"eyeLookIn_R",
"eyeWide_L",
"eyeWide_R",
"eyeLookOut_L",
"eyeLookOut_R",
"eyeLookUp_L",
"eyeLookUp_R",
"browDown_L",
"browDown_R",
browInnerUp,
"browOuterUp_L",
"browOuterUp_R",
jawOpen,
mouthClose,
jawLeft,
jawRight,
jawForward,
"mouthUpperUp_L",
"mouthUpperUp_R",
"mouthLowerDown_L",
"mouthLowerDown_R",
mouthRollUpper,
mouthRollLower,
"mouthSmile_L",
"mouthSmile_R",
"mouthDimple_L",
"mouthDimple_R",
"mouthStretch_L",
"mouthStretch_R",
"mouthFrown_L",
"mouthFrown_R",
"mouthPress_L",
"mouthPress_R",
mouthPucker,
mouthFunnel,
mouthLeft,
mouthRight,
mouthShrugLower,
mouthShrugUpper,
"noseSneer_L",
"noseSneer_R",
cheekPuff,
"cheekSquint_L",
"cheekSquint_R"
);
"landmark_coordinates" = {
"landmark_coordinate_ids" = {length = 636, bytes = 0x4d040000 9d040000 4e040000 a9040000 ... 76010000 51000000 };
"landmark_coordinate_weights" = {length = 636, bytes = 0x0000803f 00000000 00000000 38c3fe3e ... e06b583e b12e533d };
};
"landmark_names" = (
RightEyeOuterCorner,
RightEyeInnerCorner,
RightEyeLowerOuter,
RightEyeLowerInner,
RightEyeUpperOuter,
RightEyeUpperInner,
RightEyePupil,
LeftEyeOuterCorner,
LeftEyeInnerCorner,
LeftEyeLowerOuter,
LeftEyeLowerInner,
LeftEyeUpperOuter,
LeftEyeUpperInner,
LeftEyePupil,
RightBrowOuter,
RightBrowMiddle,
RightBrowInner,
LeftBrowOuter,
LeftBrowMiddle,
LeftBrowInner,
MouthRightCorner,
MouthRightUp1,
MouthRightUp2,
MouthRightPhiltrum,
MouthCenterPhiltrum,
MouthLeftPhiltrum,
MouthLeftUp2,
MouthLeftUp1,
MouthLeftCorner,
MouthLeftDown1,
MouthLeftDown2,
MouthCenterLower,
MouthRightDown2,
MouthRightDown1,
MouthInnerUp,
MouthInnerDown,
MouthInnerUpRight,
MouthInnerUpLeft,
MouthInnerDownRight,
MouthInnerDownLeft,
NoseRidgeRoot,
NoseRidge1,
NoseRidge2,
NoseRidgeTip,
NoseBaseLeft,
NoseBaseCenterLeft,
NoseBaseCenter,
NoseBaseCenterRight,
NoseBaseRight,
NoseAlaLeft1,
NoseAlaRight1,
NoseAlaLeft2,
NoseAlaRight2,
CheekRight0,
CheekRight1,
CheekRight2,
CheekRight3,
CheekRight4,
CheekRight5,
ChinCenter,
CheekLeft0,
CheekLeft1,
CheekLeft2,
CheekLeft3,
CheekLeft4,
CheekLeft5
);
mesh = {
"mesh_quad_indices" = {length = 18432, bytes = 0x2c000000 2d000000 b0040000 b1040000 ... f6000000 c3040000 };
"mesh_texcoords" = {length = 9760, bytes = 0x4300003f 72a7e43e 2200003f aad7dd3e ... 01a2d83e a720b73e };
"mesh_vertices" = {length = 14640, bytes = 0x00000000 227ddbc1 73177542 00000000 ... cfb729c2 cc2e4942 };
};
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment