Comments (5)
sure thing, this is a diff from 4a20e9909d55838d5630366ce719844cf06ae85c (tag v0.8.10) on google/mediapipe
from mediapipe-prebuilt.
Found part of the problem: in the iris tracking pbtxt graph, there's a typo ConcatenateLandmarListVectorCalculator
instead of ConcatenateLandmarkListVectorCalculator
(missing k
in Landmark) which for some reason doesn't break with an error message, but rather just holds up the whole graph. Unfortunately, fixing the typo just results in an error message that this calculator doesn't exist. trying various permutations result in different error messages (-Vector: the next subgraph needs a NormalizedLandmarkList, +Normalized: a different subgraph needs a vector of NormalizedLandmarkLists, with both: calculator does not exist)
EDIT: never mind, the typo is in mediapipe, which indeed registers a ConcatenateLandmarListVectorCalculator
. So that's not it.
from mediapipe-prebuilt.
Let me have a look. In the meanwhile, please share the revision id(a commit hash) of the mediapipe.
from mediapipe-prebuilt.
Okay, I've got it displaying, by adding "//mediapipe/modules/face_geometry/data:geometry_pipeline_metadata_landmarks.binarypb",
to the data
section of the objc_library
in the framework BUILD file, but now it's only updating the non-eye face landmarks every 5-10 seconds, or if it loses tracking and has to recalculate the non-eye face landmarks. 🤔 This happens even if I replace the face landmark smoothing one euro filter with a no_filter {}
from mediapipe-prebuilt.
@danhd123 You can checkout the latest commit(32b248f).
Repository now contains the following files:
+new file: src/ios/facegeometry/BUILD
+new file: src/ios/facegeometry/MPPBFaceGeometry.h
+new file: src/ios/facegeometry/MPPBFaceGeometry.mm
+new file: src/ios/facegeometry/graphs/BUILD
+new file: src/ios/facegeometry/graphs/face_geometry_with_transform.pbtxt
You may find relevant codes that answers your question below. I just parsed the required Protocol Buffers array by hand.
Hope this helps :)
mediapipe-prebuilt/src/ios/facegeometry/MPPBFaceGeometry.mm
Lines 152 to 158 in 32b248f
from mediapipe-prebuilt.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediapipe-prebuilt.