ABC-101 awacke1 commited on
Commit
4b5ffb4
β€’
0 Parent(s):

Duplicate from AI-ZTH-03-23/4.RealTime-MediaPipe-AI-From-Video-On-Any-Device

Browse files
Files changed (3) hide show
  1. .gitattributes +34 -0
  2. README.md +14 -0
  3. app.py +59 -0
.gitattributes ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tflite filter=lfs diff=lfs merge=lfs -text
29
+ *.tgz filter=lfs diff=lfs merge=lfs -text
30
+ *.wasm filter=lfs diff=lfs merge=lfs -text
31
+ *.xz filter=lfs diff=lfs merge=lfs -text
32
+ *.zip filter=lfs diff=lfs merge=lfs -text
33
+ *.zst filter=lfs diff=lfs merge=lfs -text
34
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: 4.RealTime MediaPipe AI From Video On Any Device
3
+ emoji: πŸ‘πŸ’»πŸ‘
4
+ colorFrom: blue
5
+ colorTo: blue
6
+ sdk: streamlit
7
+ sdk_version: 1.17.0
8
+ app_file: app.py
9
+ pinned: false
10
+ license: mit
11
+ duplicated_from: AI-ZTH-03-23/4.RealTime-MediaPipe-AI-From-Video-On-Any-Device
12
+ ---
13
+
14
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ st.markdown("""
3
+
4
+ # MediaPipe
5
+
6
+ ### A cross language SDK for AI that is real time, 3d, camera responsive, and on any device for nearly any language
7
+
8
+ #### Vision
9
+ #### Natural Language
10
+ #### Audio
11
+
12
+ Mediapipe has fast and flexible AI/ML pipelines.
13
+
14
+ Examples with Javascript Links!
15
+
16
+ 1. Image Classifier: https://mediapipe-studio.webapps.google.com/demo/image_classifier
17
+ 2. Object Detector: https://mediapipe-studio.webapps.google.com/demo/object_detector
18
+ 3. Text Classification: https://mediapipe-studio.webapps.google.com/demo/text_classifier
19
+ 4. Gesture Recognizer: https://mediapipe-studio.webapps.google.com/demo/gesture_recognizer
20
+ 5. Hand Landmark Detection: https://mediapipe-studio.webapps.google.com/demo/hand_landmarker
21
+ 6. Audio Classifier: https://mediapipe-studio.webapps.google.com/demo/audio_classifier
22
+
23
+ Get started with just Javascript!!
24
+
25
+ Getting Started: https://google.github.io/mediapipe/getting_started/javascript.html
26
+
27
+ Javascript Solutions - Ready to Demo:
28
+ 1. Face Mesh: https://codepen.io/mediapipe/full/KKgVaPJ
29
+ 2. Face Detection: https://codepen.io/mediapipe/full/dyOzvZM
30
+ 3. Hands: https://codepen.io/mediapipe/full/RwGWYJw
31
+ 4. Face, Hands, Body: https://codepen.io/mediapipe/full/LYRRYEw
32
+ 5. Objectron: https://codepen.io/mediapipe/full/BaWvzdY
33
+ 6. Full Skeletal Pose: https://codepen.io/mediapipe/full/jOMbvxw
34
+ 7. Self Segmentation From Background: https://codepen.io/mediapipe/full/wvJyQpq
35
+
36
+
37
+ Demonstration in Action with Screenshots:
38
+
39
+ Self Segmentation From Background:
40
+ ![image](https://user-images.githubusercontent.com/30595158/225767564-786928a3-7c91-4df1-babb-0cc4c2b71460.png)
41
+
42
+ Full Skeletal Pose:
43
+ ![image](https://user-images.githubusercontent.com/30595158/225767721-6f088349-3f56-41b3-85d4-98f2456dc165.png)
44
+
45
+ Hands - Both in 3D Projection even hidden surface vertices - Mahalo:
46
+ ![image](https://user-images.githubusercontent.com/30595158/225767970-0e1000e8-72a8-4276-a6f0-ccfcd3ac6d72.png)
47
+
48
+ Holistic - Face, Hands, Body:
49
+ ![image](https://user-images.githubusercontent.com/30595158/225768092-2cb4a144-7033-46b1-a476-3e0ec376eb36.png)
50
+
51
+ Face Detection:
52
+ ![image](https://user-images.githubusercontent.com/30595158/225768256-c97c0f62-6ef9-4c7e-aa41-8eaf4f344a3d.png)
53
+
54
+ Face Mesh Real Time - 30 Frames per second!
55
+ ![image](https://user-images.githubusercontent.com/30595158/225768360-c64197ff-919f-47a9-8cc0-c6d5e73e5853.png)
56
+
57
+
58
+
59
+ """)