Commit Graph

2169 Commits

Author SHA1 Message Date
MediaPipe Team
64deb791dc Fix empty packet bug with no hands detected.
PiperOrigin-RevId: 480469392
2022-10-11 15:38:43 -07:00
MediaPipe Team
1b611c66bb Improve quantization support in model_maker/image_classifier
PiperOrigin-RevId: 480455944
2022-10-11 14:40:02 -07:00
MediaPipe Team
f4fd1063a7 Add helper methods to load saved model from external files in model maker.
PiperOrigin-RevId: 480444918
2022-10-11 13:58:05 -07:00
MediaPipe Team
12f72f067d updated documentation
PiperOrigin-RevId: 480193380
2022-10-10 15:37:57 -07:00
MediaPipe Team
6fa455f40e Dataclasses for text classifier
PiperOrigin-RevId: 480178697
2022-10-10 14:33:31 -07:00
kinaryml
0a8dbc7576 Added remaining parameters to initialize the Rect data class 2022-10-10 13:58:37 -07:00
Yuqi Li
cbc7eb661b Add metadata_info.py for metadata writer.
PiperOrigin-RevId: 480146881
2022-10-10 12:13:46 -07:00
kinaryml
c2672d040f Updated error message for the invalid model path test case 2022-10-10 08:19:12 -07:00
Kinar R
a29035b91e
Merge branch 'google:master' into image-classification-python-impl 2022-10-10 20:46:18 +05:30
kinaryml
44e6f8e1a1 Updated image classifier to use a region of interest parameter 2022-10-10 08:15:40 -07:00
MediaPipe Team
62d2ae601e Internal change
PiperOrigin-RevId: 480034669
2022-10-10 02:54:18 -07:00
MediaPipe Team
1ab332835a Add a string-to-bool test model to TextClassifier.
PiperOrigin-RevId: 479803799
2022-10-08 09:44:08 -07:00
kinaryml
cb806071ba Added more tests and updated the APIs to use a new constant 2022-10-07 22:26:49 -07:00
MediaPipe Team
08ae99688c Java result class for gesture recognizer Tasks API.
PiperOrigin-RevId: 479731746
2022-10-07 22:02:07 -07:00
MediaPipe Team
635dc0a24e Internal change
PiperOrigin-RevId: 479724318
2022-10-07 20:44:07 -07:00
Yuqi Li
65e1d722eb Update external files to support file_pointer_meta.
PiperOrigin-RevId: 479695361
2022-10-07 16:46:24 -07:00
MediaPipe Team
b616bc4427 Migrate landmarks deduplication to mediapipe tasks.
PiperOrigin-RevId: 479681836
2022-10-07 15:34:30 -07:00
MediaPipe Team
d90daa859f Internal change
PiperOrigin-RevId: 479544054
2022-10-07 04:09:01 -07:00
MediaPipe Team
db524adf0d Internal change
PiperOrigin-RevId: 479450607
2022-10-06 17:22:01 -07:00
MediaPipe Team
65d001c6a0 Change gesture classification output type to ClassificationList.
PiperOrigin-RevId: 479441969
2022-10-06 16:38:07 -07:00
MediaPipe Team
71a4680a16 Update Destination with Cast to make it aligned with Source.
PiperOrigin-RevId: 479433889
2022-10-06 15:58:48 -07:00
MediaPipe Team
d0707227e4 Remove no-op/unnecessary Multi(Source|Destination)Impl.
PiperOrigin-RevId: 479426473
2022-10-06 15:27:31 -07:00
MediaPipe Team
1b0ab6f9b8 Internal change.
PiperOrigin-RevId: 479410627
2022-10-06 14:18:27 -07:00
Yuqi Li
f49fb9ad57 move unzip logits from metadata_extractor to zip_utils.
PiperOrigin-RevId: 479346238
2022-10-06 10:20:46 -07:00
Jiuqiang Tang
e270ef660d Internal change
PiperOrigin-RevId: 479295433
2022-10-06 06:09:00 -07:00
MediaPipe Team
b72219f1e5 Internal change
PiperOrigin-RevId: 479235176
2022-10-05 23:56:30 -07:00
Yuqi Li
42978d3e69 MediaPipe MedataExtractor: use absl::Cleanup for unzClose / unzCloseCurrentFile.
PiperOrigin-RevId: 479211019
2022-10-05 20:42:48 -07:00
Yuqi Li
1a88968099 Internal change
PiperOrigin-RevId: 479176948
2022-10-05 16:59:38 -07:00
MediaPipe Team
d3b66ba253 Update Gesture Recognizer Graph Options protos.
PiperOrigin-RevId: 479141569
2022-10-05 14:21:46 -07:00
MediaPipe Team
668f711b71 Internal change
PiperOrigin-RevId: 479121567
2022-10-05 13:05:05 -07:00
kinaryml
e250c903f5 Added the ClassifyForVideo API 2022-10-05 05:24:52 -07:00
kinaryml
ef31e3a482 Merge branch 'image-classification-python-impl' of https://github.com/kinaryml/mediapipe into image-classification-python-impl 2022-10-05 04:44:37 -07:00
Kinar R
58091aa2c4
Merge branch 'google:master' into image-classification-python-impl 2022-10-05 17:14:25 +05:30
kinaryml
a22a5283d2 Adjusted namespaces 2022-10-05 04:43:30 -07:00
MediaPipe Team
ab67293869 Internal change
PiperOrigin-RevId: 478900121
2022-10-04 15:41:07 -07:00
MediaPipe Team
fb3b0e788e Open sourcing model_maker/core/util and model_maker/core/data
PiperOrigin-RevId: 478835650
2022-10-04 11:10:53 -07:00
MediaPipe Team
38baaa00b1 Fix GL Tensor (backed by AHardwaBuffer) GL to CPU synchronization.
glFinish() must be called on a valid gl context

PiperOrigin-RevId: 478816905
2022-10-04 10:02:51 -07:00
Sebastian Schmidt
8d5cf9bbed Open source MediaPipe object detector task reference app prototype.
PiperOrigin-RevId: 478811683
2022-10-04 09:42:08 -07:00
Jiuqiang Tang
05209a4392 Refactor mediapipe_aar.bzl to expose mediapipe_java_proto_srcs, mediapipe_logging_java_proto_srcs, and mediapipe_java_proto_src_extractor.
PiperOrigin-RevId: 478750184
2022-10-04 04:38:37 -07:00
Kinar R
b0d855daad
Merge branch 'master' into image-classification-python-impl 2022-10-04 16:53:33 +05:30
Jiuqiang Tang
14eb6fe622 Ensure that the REGISTER_DRISHTI_GRAPH argument is fit on one line in the OSS version.
PiperOrigin-RevId: 478729958
2022-10-04 02:33:31 -07:00
MediaPipe Team
25e424baaf Rename hand landmarker related graphs.
PiperOrigin-RevId: 478706652
2022-10-04 00:24:14 -07:00
MediaPipe Team
2cb9ebb5e3 Rename HandGestureRecognizer to GestureRecognizer and update namespace for Tasks C++ conventions.
PiperOrigin-RevId: 478700907
2022-10-03 23:44:32 -07:00
Hadon Nash
f7fa3dc9be Explaining "Graph Options" in the MediaPipe user guide.
PiperOrigin-RevId: 478688026
2022-10-03 22:07:24 -07:00
kinaryml
64d5c159c6 Fixed an auto formatting issue that caused classification_posprocessing_graph's registration to fail 2022-10-03 16:14:35 -07:00
kinaryml
f241630b56 Revised implementation to align with recent changes 2022-10-03 15:11:48 -07:00
MediaPipe Team
cfd0f3e79f Add HandLandmarkerGraph which connect HandDetectorGraph and HandLandmarkerSubgraph with landmarks tracking.
PiperOrigin-RevId: 478596004
2022-10-03 13:53:39 -07:00
Kinar R
aac7ff946f
Merge branch 'google:master' into image-classification-python-impl 2022-10-04 02:19:22 +05:30
MediaPipe Team
65c7fb9004 Internal change
PiperOrigin-RevId: 478470582
2022-10-03 04:49:52 -07:00
MediaPipe Team
03c8ac3641 Refactor ClassificationResult and ClassificationPostprocessing.
PiperOrigin-RevId: 478444264
2022-10-03 02:00:06 -07:00