ukitomato / mpiristracker Goto Github PK
View Code? Open in Web Editor NEWThis is an ios framework for Iris detection based on MediaPipe
License: MIT License
This is an ios framework for Iris detection based on MediaPipe
License: MIT License
你好,我想只对一张有人脸的静态图片识别面部特征点,这个怎么实现?
非常感谢
I am unable to build the MPIrisTracker. When I run it as is, this is the error:
mediapipe/examples/ios/MPIrisTracker/MPIrisTracker.mm:10:9: fatal error: 'MyCameraInputSource.h' file not found
#import "MyCameraInputSource.h"
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
So I added the new .h and .m files to the BUILD instructions as follows:
objc_library(
name = "IrisTrackerLibrary",
# srcs = [
# "MPIrisTracker.mm",
# ],
# hdrs = [
# "MPIrisTracker.h",
# ],
srcs= glob(["*.mm"]),
hdrs = glob(["*.h"]),
But then I get a new error:
ERROR: /Users/ayaeid/Git/mediapipe/mediapipe/examples/ios/MPIrisTracker/BUILD:3:14: Linking mediapipe/examples/ios/MPIrisTracker/MPIrisTracker_bin failed: (Aborted): sandbox-exec failed: error executing command
(cd /private/var/tmp/_bazel_ayaeid/f877e822d5b4000695469eba8106cb8b/sandbox/darwin-sandbox/2275/execroot/mediapipe && \
exec env - \
APPLE_SDK_PLATFORM=iPhoneOS \
APPLE_SDK_VERSION_OVERRIDE=16.2 \
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer \
PATH=/Users/ayaeid/Library/Caches/bazelisk/downloads/bazelbuild/bazel-5.2.0-darwin-x86_64/bin:/Users/ayaeid/.pyenv/shims:/usr/local/bin:/Users/ayaeid/.pyenv/bin:/Users/ayaeid/opt/anaconda3/bin:/Users/ayaeid/opt/anaconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin \
SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk \
TMPDIR=/var/folders/k3/z10szbcj0ls9nbgd0z64kw2h0000gn/T/ \
XCODE_VERSION_OVERRIDE=14.2.0.14C18 \
ZERO_AR_DATE=1 \
/usr/bin/sandbox-exec -f /private/var/tmp/_bazel_ayaeid/f877e822d5b4000695469eba8106cb8b/sandbox/darwin-sandbox/2275/sandbox.sb /var/tmp/_bazel_ayaeid/install/612c94294bf5bb5d743864f93801f7fe/process-wrapper '--timeout=0' '--kill_delay=15' external/local_config_cc/wrapped_clang_pp @bazel-out/ios-arm64-min10-applebin_ios-ios_arm64-opt-ST-bba38d49dfd8/bin/mediapipe/examples/ios/MPIrisTracker/MPIrisTracker_bin-2.params)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_MyCameraInputSource", referenced from:
objc-class-ref in libIrisTrackerLibrary.a(MPIrisTracker.o)
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Error in child process '/usr/bin/xcrun'. 1
I am able to build the HelloWorld library into a .ipa file, but can't get this framework to complete. Any suggestions?
MacOS: Ventura 13.2.1
Swift: 5
xcode: 14.2
python: 3.7.16
Bazel: 6.1.1
mediapipe: checked out December 6, 2022 hash fca0f58
Can you realize the static picture detection function ?
i saw ur demo , cant find api use for static picture, but i really need it ,if u can help me ,i
m really appreciate.
Uncommenting line 40 of AppDelegate as shown in the image below will output the time stamp of face landmark. It appears, in the format printed, that it's not quite written in that format.
Outputting as a decimal or int instead, it's clear the timestamp is actually just the frame number.
Is there a reason these timestamps are not in microseconds as indicating in documentation?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.