MediaPipe Team and Copybara-Service
d7fd5b0cf5
Fix incorrect rotation handling in C++ vision tasks
...
PiperOrigin-RevId: 520670536
2023-03-30 10:05:25 -07:00
MediaPipe Team and Copybara-Service
0e951b8add
Internal change
...
PiperOrigin-RevId: 520636929
2023-03-30 07:48:07 -07:00
MediaPipe Team and Copybara-Service
15d81576aa
Change getLabels method to public
...
PiperOrigin-RevId: 520537239
2023-03-29 22:12:52 -07:00
MediaPipe Team and Copybara-Service
0c8f691a36
Internal changes
...
PiperOrigin-RevId: 520411557
2023-03-29 12:35:20 -07:00
MediaPipe Team and Copybara-Service
8e9207a7de
Internal change
...
PiperOrigin-RevId: 520373147
2023-03-29 10:24:10 -07:00
MediaPipe Team and Copybara-Service
316bd05e86
Internal change
...
PiperOrigin-RevId: 520263349
2023-03-29 01:35:04 -07:00
MediaPipe Team and Copybara-Service
9ee02481b1
Fix object detector pascal voc dataloader issue
...
PiperOrigin-RevId: 520160549
2023-03-28 16:06:44 -07:00
MediaPipe Team and Copybara-Service
b4e1f0236a
Add EndLoopImageCalculator
...
PiperOrigin-RevId: 520033132
2023-03-28 08:20:56 -07:00
MediaPipe Team and Copybara-Service
0ea7b220f4
Add a function to convert CoreAudio buffers into a MediaPipe time series matrix
...
PiperOrigin-RevId: 519968274
2023-03-28 02:36:36 -07:00
MediaPipe Team and Copybara-Service
a18a62ef04
Make AnnotationOverlayCalculator compatible with GLES2/WebGL1 by using GL_RGB as internal format instead of GL_RGB8 for the texture that OpenCV renders into.
...
PiperOrigin-RevId: 519933934
2023-03-27 23:13:16 -07:00
MediaPipe Team and Copybara-Service
004265bbbd
remove the check that data streams need to be > 0 since we have a use case of:
...
input_stream: "ALLOW:"
output_stream: "STATE_CHANGE"
PiperOrigin-RevId: 519891414
2023-03-27 19:14:24 -07:00
MediaPipe Team and Copybara-Service
5f8831660f
Internal MediaPipe Tasks change.
...
PiperOrigin-RevId: 519878741
2023-03-27 17:55:28 -07:00
MediaPipe Team and Copybara-Service
1fdc82d7ec
Internal change
...
PiperOrigin-RevId: 519805707
2023-03-27 13:02:37 -07:00
MediaPipe Team and Copybara-Service
7fdec2ecdf
FaceLandmarker Java API
...
PiperOrigin-RevId: 519704560
2023-03-27 06:35:03 -07:00
MediaPipe Team and Copybara-Service
9f888435b7
Internal change
...
PiperOrigin-RevId: 519674123
2023-03-27 03:40:24 -07:00
MediaPipe Team and Copybara-Service
5ccf986513
This CL fixes the multiple typos in the new task api solution
...
PiperOrigin-RevId: 519634122
2023-03-26 23:57:38 -07:00
MediaPipe Team and Copybara-Service
97c271644a
Open Source Object Detector
...
PiperOrigin-RevId: 519201221
2023-03-24 11:53:18 -07:00
MediaPipe Team and Copybara-Service
53e4e92505
Support single channel golden images.
...
PiperOrigin-RevId: 519158051
2023-03-24 09:06:41 -07:00
MediaPipe Team and Copybara-Service
c26965c842
Internal change
...
PiperOrigin-RevId: 519150182
2023-03-24 08:34:11 -07:00
MediaPipe Team and Copybara-Service
712ea6f15b
Internal change
...
PiperOrigin-RevId: 519013105
2023-03-23 18:08:55 -07:00
MediaPipe Team and Copybara-Service
27a5a6d433
Internal Changes
...
PiperOrigin-RevId: 518976200
2023-03-23 15:20:50 -07:00
MediaPipe Team and Copybara-Service
948e17f404
Internal change
...
PiperOrigin-RevId: 518906661
2023-03-23 10:57:43 -07:00
MediaPipe Team and Copybara-Service
5998e96eed
Internal change
...
PiperOrigin-RevId: 518814155
2023-03-23 03:35:43 -07:00
MediaPipe Team and Copybara-Service
58fa1e2ec3
Internal change
...
PiperOrigin-RevId: 518813508
2023-03-23 03:31:46 -07:00
MediaPipe Team and Copybara-Service
eac6348fd3
Open-sources a LanguageDetector C++ API.
...
PiperOrigin-RevId: 518758730
2023-03-22 21:54:35 -07:00
MediaPipe Team and Copybara-Service
37111e8fa5
Internal change
...
PiperOrigin-RevId: 518657355
2023-03-22 13:29:29 -07:00
MediaPipe Team and Copybara-Service
cb2ee87705
Internal change
...
PiperOrigin-RevId: 518591192
2023-03-22 09:34:23 -07:00
MediaPipe Team and Copybara-Service
18b4caa7f3
Internal change
...
PiperOrigin-RevId: 518559368
2023-03-22 07:14:18 -07:00
MediaPipe Team and Copybara-Service
7d26daf723
Make sure calling GraphTextureFrame::getTextureName()+::release() on a non-GL thread doesn't result in a crash.
...
PiperOrigin-RevId: 518359778
2023-03-21 13:12:03 -07:00
MediaPipe Team and Copybara-Service
88effb19e5
Add build variants for _gms to some MediaPipe libraries that use TFLite
...
This change alters some cc_library to cc_library_with_tflite to add _gms variants to some select MediaPipe libraries. This CL also makes minimal changes in the code to make the _gms variants buildable.
PiperOrigin-RevId: 518336242
2023-03-21 11:48:09 -07:00
MediaPipe Team and Copybara-Service
c2a3e99545
Internal change
...
PiperOrigin-RevId: 518330697
2023-03-21 11:29:04 -07:00
MediaPipe Team and Copybara-Service
2be66e8eb0
Add interactive segmenter java API
...
PiperOrigin-RevId: 518303391
2023-03-21 09:59:19 -07:00
MediaPipe Team and Copybara-Service
47fa1a9578
Internal change
...
PiperOrigin-RevId: 517886450
2023-03-20 00:25:47 -07:00
MediaPipe Team and Copybara-Service
524acaaaa7
internal change
...
PiperOrigin-RevId: 517823184
2023-03-19 16:07:32 -07:00
MediaPipe Team and Copybara-Service
2e5ea174fe
Internal change
...
PiperOrigin-RevId: 517597924
2023-03-18 00:29:59 -07:00
MediaPipe Team and Copybara-Service
3dede1a9a5
Add label_map filtering into filter_detection drishti calculator.
...
PiperOrigin-RevId: 517515046
2023-03-17 14:53:48 -07:00
MediaPipe Team and Copybara-Service
1a456dcbf9
Internal change
...
PiperOrigin-RevId: 517466009
2023-03-17 11:40:26 -07:00
MediaPipe Team and Copybara-Service
24217e2ead
Internal change
...
PiperOrigin-RevId: 517322105
2023-03-16 22:50:22 -07:00
MediaPipe Team and Copybara-Service
560945ad39
Internal Changes
...
PiperOrigin-RevId: 517219631
2023-03-16 13:58:02 -07:00
MediaPipe Team and Copybara-Service
a9e956baa1
Add more details to the invoke call trace.
...
It is always useful information to know if the TPU invoke is Async or not, and if the GPU invoke on the old path or new path.
This can make it obvious in the perfetto trace.
PiperOrigin-RevId: 517162515
2023-03-16 10:37:32 -07:00
MediaPipe Team and Copybara-Service
3b66ac0623
Import the saved Keras models of BlazeFaceStylizer components into MediaPipe model maker.
...
PiperOrigin-RevId: 517044265
2023-03-16 00:44:06 -07:00
MediaPipe Team and Copybara-Service
8f1ce5fef6
Add quality test for InteractiveSegmenter
...
PiperOrigin-RevId: 516968294
2023-03-15 17:02:34 -07:00
MediaPipe Team and Copybara-Service
61bcddc671
Add Interactive Segmenter MediaPipe Task
...
PiperOrigin-RevId: 516954589
2023-03-15 16:05:18 -07:00
MediaPipe Team and Copybara-Service
59962bed27
ImageSegmenterGraph set activation type from metadata, and remove the activation config in C++ ImageSegmenterOptions.
...
PiperOrigin-RevId: 516893115
2023-03-15 12:13:00 -07:00
MediaPipe Team and Copybara-Service
a323825134
Internal change
...
PiperOrigin-RevId: 516882513
2023-03-15 11:35:49 -07:00
MediaPipe Team and Copybara-Service
18d88c531a
Internal MediaPipe Tasks change.
...
PiperOrigin-RevId: 516881879
2023-03-15 11:30:58 -07:00
MediaPipe Team and Copybara-Service
ce3cd94f45
Internal change
...
PiperOrigin-RevId: 516871638
2023-03-15 10:56:32 -07:00
MediaPipe Team and Copybara-Service
f517eddce1
API for c++ ImageSegmenter to get labels
...
PiperOrigin-RevId: 516714139
2023-03-14 21:13:08 -07:00
MediaPipe Team and Copybara-Service
cafff14135
GeometryPipelineCalculator support single face landmarks input.
...
PiperOrigin-RevId: 516701488
2023-03-14 20:03:07 -07:00
MediaPipe Team and Copybara-Service
141cf843ae
Add getLabels to ImageSegmeter Java API
...
PiperOrigin-RevId: 516683339
2023-03-14 18:04:33 -07:00
MediaPipe Team and Copybara-Service
9a89b47572
Rename *ModelFile to *File for methods of ModelAssetBundleResources.
...
PiperOrigin-RevId: 516667461
2023-03-14 16:42:32 -07:00
MediaPipe Team and Copybara-Service
6774794d02
Add the dataset module for face stylizer in model maker.
...
PiperOrigin-RevId: 516628350
2023-03-14 14:11:20 -07:00
MediaPipe Team and Copybara-Service
ed3e728bb8
Internal change
...
PiperOrigin-RevId: 516607678
2023-03-14 12:57:24 -07:00
MediaPipe Team and Copybara-Service
854ab25ee9
Internal change.
...
PiperOrigin-RevId: 516594221
2023-03-14 12:11:18 -07:00
MediaPipe Team and Copybara-Service
8a41a5e44d
Update models.
...
PiperOrigin-RevId: 516575530
2023-03-14 11:06:20 -07:00
MediaPipe Team and Copybara-Service
c895867427
Expose FrameBuffer view on GpuBufferStorageYuvImage.
...
PiperOrigin-RevId: 516546716
2023-03-14 09:30:25 -07:00
MediaPipe Team and Copybara-Service
2659ea0392
Internal change
...
PiperOrigin-RevId: 516535124
2023-03-14 08:44:40 -07:00
MediaPipe Team and Copybara-Service
46ba1d8051
Use ExternalFile to set metadata of GeometryPipelineCalculator.
...
PiperOrigin-RevId: 516384491
2023-03-13 18:50:33 -07:00
MediaPipe Team and Copybara-Service
89857f33a2
Make ImageToTensorCalculator use kGpuService optionally
...
PiperOrigin-RevId: 516358053
2023-03-13 16:48:49 -07:00
MediaPipe Team and Copybara-Service
ffea85e470
Internal change
...
PiperOrigin-RevId: 516179167
2023-03-13 05:13:01 -07:00
MediaPipe Team and Copybara-Service
131be2169a
Add FaceDetector Java API
...
PiperOrigin-RevId: 515913662
2023-03-11 13:14:47 -08:00
MediaPipe Team and Copybara-Service
296ee33be5
Add FaceLandmarker C++ API
...
PiperOrigin-RevId: 515912777
2023-03-11 13:05:21 -08:00
MediaPipe Team and Copybara-Service
c94de4032d
Fix preprocess Callable typing
...
PiperOrigin-RevId: 515818356
2023-03-10 21:50:46 -08:00
MediaPipe Team and Copybara-Service
c9bd4f5957
Internal change
...
PiperOrigin-RevId: 515706419
2023-03-10 12:22:27 -08:00
MediaPipe Team and Copybara-Service
c3a32d76be
Update face geometry proto java package name.
...
PiperOrigin-RevId: 515696170
2023-03-10 11:45:35 -08:00
MediaPipe Team and Copybara-Service
296c343332
Revise the Halide Bazel build rules to be cleaner and more correct. The initial version we landed happened to work (at least in most cases) but had known workarounds in it. AFAICT, the issue seemed to be that the MediaPipe config_setting() values we were using didn't always resolve to the right thing when detecting the host cpu (vs the compile-target cpu), which is critical for Halide. I fixed this by avoiding the use of the MediaPipe config_settings entirely, using instead the public Bazel settings hosted at https://github.com/bazelbuild/platforms .
...
This revision builds and runs //mediapipe/util/frame_buffer:all correctly on my mac x86-64 laptop; I haven't yet attempted to build or test on any other platform, so there may well still be glitches, but I think this is more fundamentally sound than what we had before.
PiperOrigin-RevId: 515682507
2023-03-10 10:59:17 -08:00
MediaPipe Team and Copybara-Service
05b505c8e2
Introduce api to disable service default initialization.
...
PiperOrigin-RevId: 515501608
2023-03-09 18:57:39 -08:00
MediaPipe Team and Copybara-Service
2d8f937913
Improve docstring of image classifier model spec.
...
PiperOrigin-RevId: 515466722
2023-03-09 16:06:40 -08:00
MediaPipe Team and Copybara-Service
c2a69ab476
Update ImageFrameToGpuBufferCalculator to use api2 and GpuBuffer conversions
...
PiperOrigin-RevId: 515407159
2023-03-09 12:21:00 -08:00
MediaPipe Team and Copybara-Service
5daf58009d
internal
...
PiperOrigin-RevId: 515392932
2023-03-09 11:27:11 -08:00
MediaPipe Team and Copybara-Service
563b193bca
Bump Halide version from 14.0.0 to 15.0.0 and add MacOS Halide dependency
...
PiperOrigin-RevId: 515362310
2023-03-09 09:54:19 -08:00
MediaPipe Team and Copybara-Service
2c64421471
Fix minor typos in MediaPipe synchronization description.
...
PiperOrigin-RevId: 515362264
2023-03-09 09:49:23 -08:00
MediaPipe Team and Copybara-Service
39e2c8351f
Add build system for Halide and expose FrameBufferUtils.
...
PiperOrigin-RevId: 515304264
2023-03-09 05:06:18 -08:00
MediaPipe Team and Copybara-Service
c12eae229f
Internal change
...
PiperOrigin-RevId: 515187906
2023-03-08 17:36:04 -08:00
MediaPipe Team and Copybara-Service
8d9f627fd9
Internal change
...
PiperOrigin-RevId: 515187139
2023-03-08 17:32:21 -08:00
MediaPipe Team and Copybara-Service
9f1f4273d0
Support hair segmentation model in image segmenter
...
PiperOrigin-RevId: 515151150
2023-03-08 15:01:14 -08:00
MediaPipe Team and Copybara-Service
2fb62e4c29
Add volume_gain_db option to TensorsToAudioCalculator.
...
PiperOrigin-RevId: 515150234
2023-03-08 14:57:29 -08:00
MediaPipe Team and Copybara-Service
b8917ad31f
Add FaceDetectorResult
...
PiperOrigin-RevId: 515104977
2023-03-08 12:10:13 -08:00
MediaPipe Team and Copybara-Service
13d7e1a7ba
Changes the visibility of ImageTensorSpecs to public to allow clients use GetInputImageTensorSpecs().
...
PiperOrigin-RevId: 514853148
2023-03-07 15:16:40 -08:00
MediaPipe Team and Copybara-Service
225dd36a63
Internal change
...
PiperOrigin-RevId: 514835354
2023-03-07 14:11:47 -08:00
MediaPipe Team and Copybara-Service
414031867e
Internal change
...
PiperOrigin-RevId: 514763674
2023-03-07 10:00:10 -08:00
MediaPipe Team and Copybara-Service
2f2a74da6a
Internal MediaPipe Tasks change.
...
PiperOrigin-RevId: 514637484
2023-03-06 23:17:35 -08:00
MediaPipe Team and Copybara-Service
c1b460920c
normalized keypoint container. Detection adds optional keypoint list.
...
PiperOrigin-RevId: 514624925
2023-03-06 22:02:59 -08:00
MediaPipe Team and Copybara-Service
e4ac1a10c2
TensorsToSegmentation web postprocessing on GPU: softmax activation
...
PiperOrigin-RevId: 514589911
2023-03-06 19:08:53 -08:00
MediaPipe Team and Copybara-Service
bd9a2ee1fc
Internal change
...
PiperOrigin-RevId: 514580892
2023-03-06 18:13:50 -08:00
MediaPipe Team and Copybara-Service
0337c7f52f
Fix typo in ImageSegmenter.java
...
PiperOrigin-RevId: 514534013
2023-03-06 14:51:49 -08:00
MediaPipe Team and Copybara-Service
f15244997f
Internal change
...
PiperOrigin-RevId: 514498364
2023-03-06 12:58:01 -08:00
MediaPipe Team and Copybara-Service
c64f83fff4
Internal change
...
PiperOrigin-RevId: 514452059
2023-03-06 10:29:29 -08:00
MediaPipe Team and Copybara-Service
6c68d4c358
Internal change
...
PiperOrigin-RevId: 514421618
2023-03-06 08:42:19 -08:00
MediaPipe Team and Copybara-Service
96b2958f18
Add ViewProvider for ImageFrame in GpuBufferStorageYuvImage.
...
PiperOrigin-RevId: 514344066
2023-03-06 07:53:02 -08:00
MediaPipe Team and Copybara-Service
a43be73ee4
Internal MediaPipe Tasks change.
...
PiperOrigin-RevId: 514150403
2023-03-06 07:32:59 -08:00
MediaPipe Team and Copybara-Service
763842289a
Add FaceLandmarkerResult for FaceLandmarker API
...
PiperOrigin-RevId: 514137566
2023-03-06 07:31:30 -08:00
MediaPipe Team and Copybara-Service
cd14d2e688
Internal MediaPipe Tasks change.
...
PiperOrigin-RevId: 514002859
2023-03-06 07:29:55 -08:00
MediaPipe Team and Copybara-Service
c98b4b6ec6
Internal change
...
PiperOrigin-RevId: 513992315
2023-03-06 07:26:39 -08:00
MediaPipe Team and Copybara-Service
3d41eabc2e
Face Detector C++ API
...
PiperOrigin-RevId: 513959349
2023-03-06 07:17:46 -08:00
MediaPipe Team and Copybara-Service
5b2678a49f
Add a CHECK for the cases when null service is accessed unconditionally.
...
PiperOrigin-RevId: 513956583
2023-03-06 07:16:29 -08:00
MediaPipe Team and Copybara-Service
9c3abcd06f
Document graph service usage with docs and unit tests.
...
PiperOrigin-RevId: 513955877
2023-03-06 07:15:10 -08:00
MediaPipe Team and Copybara-Service
3854d9fcd5
Document proper way to set services.
...
PiperOrigin-RevId: 513955214
2023-03-06 07:13:54 -08:00
MediaPipe Team and Copybara-Service
2963739086
Internal MediaPipe Tasks change.
...
PiperOrigin-RevId: 513897822
2023-03-06 07:12:37 -08:00
MediaPipe Team and Copybara-Service
b7ec83efb5
Add optional face blendshapes to face landmarks detector graph.
...
PiperOrigin-RevId: 513867488
2023-03-03 10:48:55 -08:00