Skip to content

Commit

Permalink
StandardCyborgFusion: improves face landmarking performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Thompson committed Jul 25, 2019
1 parent 00e37c7 commit 43abeb5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ float u_fadeDistance = 0.03;
float4 position = scn_node.inverseModelViewTransform * float4(_surface.position, 1.0);

// Fade out transparency when the position is fadeOutPosition meters back, away from the camera
float transparency = (position.z + u_fadePositionZ) / u_fadeDistance;
float transparency = (-position.y + u_fadePositionZ) / u_fadeDistance;
_surface.transparent = float4(clamp(transparency, 0, 1));
Binary file modified StandardCyborgFusion/StandardCyborgFusion.framework/Info.plist
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion StandardCyborgFusion/StandardCyborgFusion.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'StandardCyborgFusion'
s.version = '1.3.6'
s.version = '1.3.7'
s.summary = 'A framework that performs real time 3D reconstruction using the TrueDepth camera'
s.homepage = 'https://github.com/StandardCyborg/StandardCyborgCocoa'
s.social_media_url = 'https://twitter.com/StandardCyborg'
Expand Down

0 comments on commit 43abeb5

Please sign in to comment.