Commit Graph

1142 Commits

Author SHA1 Message Date
MediaPipe Team
c71f78c38f Internal change
PiperOrigin-RevId: 513607664
2023-03-02 12:24:51 -08:00
MediaPipe Team
dd4301802a migrate env_generator_calculator
PiperOrigin-RevId: 513585830
2023-03-02 11:05:02 -08:00
MediaPipe Team
02ee934b3e When "--define=MEDIAPIPE_NO_JNI=1" used in compilation, no implementation in libandroid.so is used.
PiperOrigin-RevId: 513580575
2023-03-02 10:46:35 -08:00
MediaPipe Team
6796977a04 migrate geometry_pipeline_calculator
PiperOrigin-RevId: 513368520
2023-03-01 16:09:48 -08:00
Sebastian Schmidt
f15637b62c Make Metadata tests pass on Windows
PiperOrigin-RevId: 513365428
2023-03-01 15:59:43 -08:00
Sebastian Schmidt
abfcd8ec1d Make LoadBinaryContent work on Windows
PiperOrigin-RevId: 513330348
2023-03-01 13:49:02 -08:00
MediaPipe Team
22fce9e136 migrate mediapipe/modules/face_geometry to mediapipe/tasks
PiperOrigin-RevId: 513284254
2023-03-01 10:59:56 -08:00
Sebastian Schmidt
22f186724e Make delegate sticky
PiperOrigin-RevId: 513249729
2023-03-01 09:00:36 -08:00
Sebastian Schmidt
4a1ba11e3f Do not use designated initializers
PiperOrigin-RevId: 513028900
2023-02-28 13:52:36 -08:00
Jiuqiang Tang
172b360478 Remove unused variable 'input_num'.
PiperOrigin-RevId: 513009671
2023-02-28 12:37:03 -08:00
Copybara-Service
f1b20b0c52 Merge pull request #4104 from priankakariatyml:ios-image-classifier
PiperOrigin-RevId: 512991238
2023-02-28 11:29:19 -08:00
Jiuqiang Tang
646ab8505a Small fixes to TensorsToImageCalculator.
PiperOrigin-RevId: 512967357
2023-02-28 10:11:42 -08:00
Sebastian Schmidt
06dd003113 Internal change
PiperOrigin-RevId: 512777889
2023-02-27 17:34:29 -08:00
MediaPipe Team
bfddb32358 remove usage of var for ImageSegmenter.java
PiperOrigin-RevId: 512767947
2023-02-27 16:49:27 -08:00
Sebastian Schmidt
689d5ba6e3 Internal
PiperOrigin-RevId: 512755713
2023-02-27 16:00:35 -08:00
Sebastian Schmidt
1dca871d09 Remove designated initializer use from CombinedPredictionCalculatorTestCase
PiperOrigin-RevId: 512747781
2023-02-27 15:28:34 -08:00
Sebastian Schmidt
1d927c5971 Internal change
PiperOrigin-RevId: 512709627
2023-02-27 13:08:04 -08:00
MediaPipe Team
a60d67eb10 Update ImageSegmenter API for image/video mode to have both callback API and returned result API.
PiperOrigin-RevId: 512697585
2023-02-27 12:21:30 -08:00
Jiuqiang Tang
aa61abe386 Implement TensorsToImageCalculator.
PiperOrigin-RevId: 512687103
2023-02-27 11:46:07 -08:00
MediaPipe Team
5913e5dd1d Internal change
PiperOrigin-RevId: 512686714
2023-02-27 11:41:44 -08:00
MediaPipe Team
75576700ed Add Bitmap image capture capability to GlSurfaceViewRenderer.
PiperOrigin-RevId: 512677893
2023-02-27 11:14:20 -08:00
Sebastian Schmidt
9f59d4d01b Remove cosineSimilarity() from AudioEmbedder
PiperOrigin-RevId: 512671255
2023-02-27 11:13:20 -08:00
MediaPipe Team
39b2fec60f Internal change
PiperOrigin-RevId: 512643827
2023-02-27 11:12:20 -08:00
MediaPipe Team
1575e7f79c Internal change
PiperOrigin-RevId: 512457466
2023-02-27 11:11:24 -08:00
MediaPipe Team
17466fb7f1 Internal change
PiperOrigin-RevId: 512111461
2023-02-27 11:10:19 -08:00
MediaPipe Team
01c64082f1 ImageToTensorCalculator decides the output tensor size in runtime from the input image size.
PiperOrigin-RevId: 511882195
2023-02-23 14:18:31 -08:00
MediaPipe Team
0981367e84 DetectionTransformationCalculator handles empty input.
PiperOrigin-RevId: 511881969
2023-02-23 14:14:20 -08:00
MediaPipe Team
75d799d2b9 Add Copyright head
PiperOrigin-RevId: 511694458
2023-02-22 22:47:02 -08:00
MediaPipe Team
ff10f3c814 Move NormalizedKeypoint to a separate header
PiperOrigin-RevId: 511642586
2023-02-22 17:42:06 -08:00
MediaPipe Team
2c3c1e664a add TensorsToFaceLandmarksGraph to support two types of face mesh models.
PiperOrigin-RevId: 511626032
2023-02-22 16:22:13 -08:00
Yuqi Li
9e7950a69a Make each model file in the model asset bundle to be aligned relative to the start of the file (alignment = 4).
PiperOrigin-RevId: 511624410
2023-02-22 16:15:24 -08:00
MediaPipe Team
40b0dc960a Internal Changes
PiperOrigin-RevId: 511604893
2023-02-22 14:55:03 -08:00
MediaPipe Team
000aeeb036 Update face detector graph for downstream face landmarks graph.
PiperOrigin-RevId: 511566984
2023-02-22 12:31:57 -08:00
MediaPipe Team
fbbc13d756 update detection result to include optional keypoints.
PiperOrigin-RevId: 511538880
2023-02-22 10:50:58 -08:00
MediaPipe Team
e2ac704428 internal change
PiperOrigin-RevId: 511338483
2023-02-21 16:40:37 -08:00
MediaPipe Team
9a6d5e0444 Update MediaPipe TFLite code to use generic "shim" symbols and headers
PiperOrigin-RevId: 511265313
2023-02-21 11:58:32 -08:00
Prianka Liz Kariat
68fdf6b6cb Updated comment arguments in MPPImageUtils 2023-02-20 11:27:21 +05:30
Prianka Liz Kariat
4d2dd50703 Updated method name in MPPVisionPacketCreator 2023-02-20 11:23:04 +05:30
Jiuqiang Tang
8a0830ce7b Add "java_package" and "java_outer_classname" to ImageTransformationCalculatorOptions.
PiperOrigin-RevId: 510720513
2023-02-18 16:58:56 -08:00
MediaPipe Team
d0aa98bd5f Internal change
PiperOrigin-RevId: 510570555
2023-02-17 18:50:05 -08:00
MediaPipe Team
68ba9a6ebf [ImageTransformationCalculator]Add option to specify padding color
PiperOrigin-RevId: 510541473
2023-02-17 15:57:19 -08:00
MediaPipe Team
37a825c98d graph utils functions.
PiperOrigin-RevId: 510513793
2023-02-17 13:54:46 -08:00
MediaPipe Team
1a60a0e2d6 Use box_output_format to decide keypoint order
PiperOrigin-RevId: 510464960
2023-02-17 10:30:57 -08:00
MediaPipe Team
4ed9f507ad Internal change
PiperOrigin-RevId: 510281435
2023-02-16 17:01:56 -08:00
Hadon Nash
5f6bbdbce5 Internal change
PiperOrigin-RevId: 510243967
2023-02-16 14:26:46 -08:00
MediaPipe Team
1b66fc2802 Fix Typo.
PiperOrigin-RevId: 510156746
2023-02-16 08:55:56 -08:00
MediaPipe Team
ba10ae8410 Add mediapipe tasks face blendshapes graph
PiperOrigin-RevId: 509995915
2023-02-15 19:26:56 -08:00
MediaPipe Team
bdd1c24990 Refactor common methods into vision/core/image_utils.py and vision/core/test_utils.py
PiperOrigin-RevId: 509968910
2023-02-15 16:54:38 -08:00
MediaPipe Team
3d4ed305bc Make Tensor::Move() forward quantization parameters.
PiperOrigin-RevId: 509951145
2023-02-15 15:40:22 -08:00
MediaPipe Team
796a96d842 Add support for [xmin, ymin, xmax, ymax] style of bbox output
PiperOrigin-RevId: 509942540
2023-02-15 15:06:52 -08:00
Prianka Liz Kariat
5e5a1a733f Updated imports 2023-02-16 01:37:50 +05:30
Prianka Liz Kariat
dce81342b6 Updated imports of MPPImageUtils 2023-02-16 01:35:27 +05:30
Prianka Liz Kariat
ae05c78443 Updated formatting 2023-02-16 01:33:33 +05:30
Prianka Liz Kariat
42e35503d9 Removed unwanted declarations in namespace 2023-02-16 01:31:51 +05:30
Prianka Liz Kariat
a503fb53e0 Updated MPPVisionTaskRunner 2023-02-16 01:31:29 +05:30
Prianka Liz Kariat
a0253274cc Added MPPVisionPacketCreator 2023-02-16 01:31:09 +05:30
Prianka Liz Kariat
8c3e3456a3 Added MPPImageClassifierOptions 2023-02-16 01:26:10 +05:30
Prianka Liz Kariat
825b30bccd Added MPPImageClassifierResult 2023-02-16 01:25:57 +05:30
Prianka Liz Kariat
a128810564 Updated MPPImageUtils with methods to create image frame 2023-02-16 01:25:16 +05:30
Sebastian Schmidt
d450a673c0 Open visibility of iOS TextClassifier & TextEmbedder
PiperOrigin-RevId: 509645638
2023-02-14 14:53:24 -08:00
MediaPipe Team
5f2261ff59 face landmarks detector graph
PiperOrigin-RevId: 509630430
2023-02-14 14:00:37 -08:00
Copybara-Service
d6fd2c52a7 Merge pull request #4093 from priankakariatyml:ios-ml-image-utils
PiperOrigin-RevId: 509602397
2023-02-14 12:17:41 -08:00
Sebastian Schmidt
c2260e8877 Use mediapipe_proto_library for gl_context_options_proto
PiperOrigin-RevId: 509601125
2023-02-14 12:13:01 -08:00
MediaPipe Team
c66b7e83f0 ssd anchors calculator add fixed anchors.
PiperOrigin-RevId: 509574814
2023-02-14 10:43:23 -08:00
Prianka Liz Kariat
55e5377c08 Updated formatting 2023-02-14 20:51:51 +05:30
Prianka Liz Kariat
3a7aa29226 Updated note about packets callback in vision task runner 2023-02-14 20:49:14 +05:30
Prianka Liz Kariat
4e1fa82d50 Added designated initializer in vision task runner 2023-02-14 20:40:21 +05:30
Prianka Liz Kariat
a490255c17 Updated formatting 2023-02-14 20:40:06 +05:30
Prianka Liz Kariat
17ff493a9d Updated formatting 2023-02-14 20:39:25 +05:30
Prianka Liz Kariat
b940a19462 Merge branch 'master' into ios-ml-image-utils 2023-02-14 20:34:55 +05:30
Copybara-Service
a578a702ec Merge pull request #4075 from priankakariatyml:ios-ml-image
PiperOrigin-RevId: 509465929
2023-02-14 02:19:35 -08:00
MediaPipe Team
513ab7abba Internal change
PiperOrigin-RevId: 509338497
2023-02-13 14:47:34 -08:00
Sebastian Schmidt
deae714a5c Enable Python Audio Classifier & Embedder on Windows
PiperOrigin-RevId: 509243198
2023-02-13 09:06:19 -08:00
Prianka Liz Kariat
1cd3c05fc5 Added default case to running mode check 2023-02-13 19:58:14 +05:30
Prianka Liz Kariat
328fe4ed39 Added vision task runner 2023-02-13 19:55:12 +05:30
Prianka Liz Kariat
1623b591b7 Added MPPRunningMode 2023-02-13 19:52:00 +05:30
Prianka Liz Kariat
e2f1d07c8b Updated target definition for MPPImage 2023-02-13 19:44:09 +05:30
Prianka Liz Kariat
02734b3add Added MPPImageUtils 2023-02-13 19:43:49 +05:30
Prianka Liz Kariat
acba3ab26d Bug fixes in MPPImage 2023-02-13 19:41:15 +05:30
MediaPipe Team
626f92caea Move BuildInputImageTensorSpecs to utils
PiperOrigin-RevId: 508829724
2023-02-10 21:57:13 -08:00
MediaPipe Team
2c82f67097 Add location info in registry (debug mode only)
PiperOrigin-RevId: 508786558
2023-02-10 16:58:44 -08:00
Hadon Nash
e719d2d423 Internal change
PiperOrigin-RevId: 508766449
2023-02-10 15:23:01 -08:00
Aden Grue
09ad961421 Internal change
PiperOrigin-RevId: 508701833
2023-02-10 10:54:55 -08:00
MediaPipe Team
39a943e91e Request ModelResourcesGraphService for all Task API web graphs.
PiperOrigin-RevId: 508681004
2023-02-10 09:36:03 -08:00
MediaPipe Team
915d2c7417 Internal text task change.
PiperOrigin-RevId: 508568811
2023-02-09 22:31:14 -08:00
MediaPipe Team
d61b7dbef8 Updated the Begin/EndLoopCalculator to be able to handle mediapipe::Tensor
type.

PiperOrigin-RevId: 508552066
2023-02-09 20:33:40 -08:00
MediaPipe Team
1eb54bdaa6 Internal change
PiperOrigin-RevId: 508533812
2023-02-09 18:49:01 -08:00
MediaPipe Team
1f848c4d69 Fix typo in CalculatorGraph error message
PiperOrigin-RevId: 508517972
2023-02-09 17:29:33 -08:00
MediaPipe Team
fd764dae0a Depends on TFLite shim header.
PiperOrigin-RevId: 508491302
2023-02-09 15:29:47 -08:00
MediaPipe Team
99fc975f49 Add download model on demand to text classifier
PiperOrigin-RevId: 508441452
2023-02-09 12:15:17 -08:00
MediaPipe Team
28f728bed5 Change gesture_recognizer to download model files on-demand from GCS.
PiperOrigin-RevId: 508424508
2023-02-09 11:13:06 -08:00
MediaPipe Team
c3907229fe Use case: add metadata to headerless graph input audio streams.
PiperOrigin-RevId: 508389799
2023-02-09 09:07:02 -08:00
MediaPipe Team
598d44a27d Internal change
PiperOrigin-RevId: 508284935
2023-02-08 23:31:41 -08:00
MediaPipe Team
6ea2d579e1 Internal change
PiperOrigin-RevId: 508173086
2023-02-08 13:51:14 -08:00
Rachel Hornung
4b28ced8fd #MediaSequence Prevent undefined index access in metadata reconciliation.
Reconciliation required feature_lists.feature_list[0].value.feature[0].float_list.size_>=1, now we skip keys where size_=0.

PiperOrigin-RevId: 508095655
2023-02-08 09:06:02 -08:00
Prianka Liz Kariat
0e944cb764 Merged ios-ml-image with master 2023-02-08 21:43:39 +05:30
Prianka Liz Kariat
e1ca81c352 Added objective c tests for MPPImage 2023-02-08 21:40:41 +05:30
Prianka Liz Kariat
a82ffcd97c Updated mppimage target 2023-02-08 21:40:23 +05:30
Prianka Liz Kariat
445876d96b Updated formatting 2023-02-08 21:35:15 +05:30
Copybara-Service
fd6dfcfcab Merge pull request #4066 from priankakariatyml:ios-ml-image
PiperOrigin-RevId: 507844473
2023-02-07 11:52:37 -08:00