Commit Graph

1154 Commits

Author SHA1 Message Date
MediaPipe Team
3854d9fcd5 Document proper way to set services.
PiperOrigin-RevId: 513955214
2023-03-06 07:13:54 -08:00
MediaPipe Team
2963739086 Internal MediaPipe Tasks change.
PiperOrigin-RevId: 513897822
2023-03-06 07:12:37 -08:00
Yuqi Li
fe92d2e781 Metadata Writer: add object detection metadata writer.
PiperOrigin-RevId: 513897494
2023-03-06 07:11:10 -08:00
Sebastian Schmidt
13db1c55d3 Make Bert/RegexTokenizerTest pass on Windows
PiperOrigin-RevId: 513887535
2023-03-06 07:04:30 -08:00
MediaPipe Team
b7ec83efb5 Add optional face blendshapes to face landmarks detector graph.
PiperOrigin-RevId: 513867488
2023-03-03 10:48:55 -08:00
Hadon Nash
c9c1bf21ae Internal change
PiperOrigin-RevId: 513854481
2023-03-03 10:00:10 -08:00
MediaPipe Team
3837c92fd5 Add functions for checking the existence of options in subgraphs and calculators.
PiperOrigin-RevId: 513689742
2023-03-02 18:01:07 -08:00
MediaPipe Team
91d53cd181 Make image preprocessing support RGBA image.
PiperOrigin-RevId: 513680594
2023-03-02 17:13:19 -08:00
Sebastian Schmidt
c3adf19706 Invoke vector listeners for zero-element vectors
PiperOrigin-RevId: 513662913
2023-03-02 15:59:26 -08:00
Sebastian Schmidt
7664e0ef64 Make SentencePieceTokenizerTest work on Windows
PiperOrigin-RevId: 513638600
2023-03-02 14:23:22 -08:00
MediaPipe Team
945b36766c Let web API add empty packets to input streams
PiperOrigin-RevId: 513630040
2023-03-02 13:51:39 -08:00
MediaPipe Team
0ba35cf1a7 Internal change
PiperOrigin-RevId: 513608516
2023-03-02 12:29:06 -08:00
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