Commit Graph
100 Commits
Author SHA1 Message Date
MediaPipe TeamandCopybara-Service b4e1f0236a Add EndLoopImageCalculator
PiperOrigin-RevId: 520033132
2023-03-28 08:20:56 -07:00
MediaPipe TeamandCopybara-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 TeamandCopybara-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 TeamandCopybara-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 TeamandCopybara-Service 5f8831660f Internal MediaPipe Tasks change.
PiperOrigin-RevId: 519878741
2023-03-27 17:55:28 -07:00
MediaPipe TeamandCopybara-Service 1fdc82d7ec Internal change
PiperOrigin-RevId: 519805707
2023-03-27 13:02:37 -07:00
MediaPipe TeamandCopybara-Service 7fdec2ecdf FaceLandmarker Java API
PiperOrigin-RevId: 519704560
2023-03-27 06:35:03 -07:00
MediaPipe TeamandCopybara-Service 9f888435b7 Internal change
PiperOrigin-RevId: 519674123
2023-03-27 03:40:24 -07:00
MediaPipe TeamandCopybara-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 TeamandCopybara-Service 97c271644a Open Source Object Detector
PiperOrigin-RevId: 519201221
2023-03-24 11:53:18 -07:00
MediaPipe TeamandCopybara-Service 53e4e92505 Support single channel golden images.
PiperOrigin-RevId: 519158051
2023-03-24 09:06:41 -07:00
MediaPipe TeamandCopybara-Service c26965c842 Internal change
PiperOrigin-RevId: 519150182
2023-03-24 08:34:11 -07:00
MediaPipe TeamandCopybara-Service 712ea6f15b Internal change
PiperOrigin-RevId: 519013105
2023-03-23 18:08:55 -07:00
MediaPipe TeamandCopybara-Service 27a5a6d433 Internal Changes
PiperOrigin-RevId: 518976200
2023-03-23 15:20:50 -07:00
MediaPipe TeamandCopybara-Service 948e17f404 Internal change
PiperOrigin-RevId: 518906661
2023-03-23 10:57:43 -07:00
MediaPipe TeamandCopybara-Service 5998e96eed Internal change
PiperOrigin-RevId: 518814155
2023-03-23 03:35:43 -07:00
MediaPipe TeamandCopybara-Service 58fa1e2ec3 Internal change
PiperOrigin-RevId: 518813508
2023-03-23 03:31:46 -07:00
MediaPipe TeamandCopybara-Service eac6348fd3 Open-sources a LanguageDetector C++ API.
PiperOrigin-RevId: 518758730
2023-03-22 21:54:35 -07:00
MediaPipe TeamandCopybara-Service 37111e8fa5 Internal change
PiperOrigin-RevId: 518657355
2023-03-22 13:29:29 -07:00
MediaPipe TeamandCopybara-Service cb2ee87705 Internal change
PiperOrigin-RevId: 518591192
2023-03-22 09:34:23 -07:00
MediaPipe TeamandCopybara-Service 18b4caa7f3 Internal change
PiperOrigin-RevId: 518559368
2023-03-22 07:14:18 -07:00
MediaPipe TeamandCopybara-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 TeamandCopybara-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 TeamandCopybara-Service c2a3e99545 Internal change
PiperOrigin-RevId: 518330697
2023-03-21 11:29:04 -07:00
MediaPipe TeamandCopybara-Service 2be66e8eb0 Add interactive segmenter java API
PiperOrigin-RevId: 518303391
2023-03-21 09:59:19 -07:00
MediaPipe TeamandCopybara-Service 47fa1a9578 Internal change
PiperOrigin-RevId: 517886450
2023-03-20 00:25:47 -07:00
MediaPipe TeamandCopybara-Service 524acaaaa7 internal change
PiperOrigin-RevId: 517823184
2023-03-19 16:07:32 -07:00
MediaPipe TeamandCopybara-Service 2e5ea174fe Internal change
PiperOrigin-RevId: 517597924
2023-03-18 00:29:59 -07:00
MediaPipe TeamandCopybara-Service 3dede1a9a5 Add label_map filtering into filter_detection drishti calculator.
PiperOrigin-RevId: 517515046
2023-03-17 14:53:48 -07:00
MediaPipe TeamandCopybara-Service 1a456dcbf9 Internal change
PiperOrigin-RevId: 517466009
2023-03-17 11:40:26 -07:00
MediaPipe TeamandCopybara-Service 24217e2ead Internal change
PiperOrigin-RevId: 517322105
2023-03-16 22:50:22 -07:00
MediaPipe TeamandCopybara-Service 560945ad39 Internal Changes
PiperOrigin-RevId: 517219631
2023-03-16 13:58:02 -07:00
MediaPipe TeamandCopybara-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 TeamandCopybara-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 TeamandCopybara-Service 8f1ce5fef6 Add quality test for InteractiveSegmenter
PiperOrigin-RevId: 516968294
2023-03-15 17:02:34 -07:00
MediaPipe TeamandCopybara-Service 61bcddc671 Add Interactive Segmenter MediaPipe Task
PiperOrigin-RevId: 516954589
2023-03-15 16:05:18 -07:00
MediaPipe TeamandCopybara-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 TeamandCopybara-Service a323825134 Internal change
PiperOrigin-RevId: 516882513
2023-03-15 11:35:49 -07:00
MediaPipe TeamandCopybara-Service 18d88c531a Internal MediaPipe Tasks change.
PiperOrigin-RevId: 516881879
2023-03-15 11:30:58 -07:00
MediaPipe TeamandCopybara-Service ce3cd94f45 Internal change
PiperOrigin-RevId: 516871638
2023-03-15 10:56:32 -07:00
MediaPipe TeamandCopybara-Service f517eddce1 API for c++ ImageSegmenter to get labels
PiperOrigin-RevId: 516714139
2023-03-14 21:13:08 -07:00
MediaPipe TeamandCopybara-Service cafff14135 GeometryPipelineCalculator support single face landmarks input.
PiperOrigin-RevId: 516701488
2023-03-14 20:03:07 -07:00
MediaPipe TeamandCopybara-Service 141cf843ae Add getLabels to ImageSegmeter Java API
PiperOrigin-RevId: 516683339
2023-03-14 18:04:33 -07:00
MediaPipe TeamandCopybara-Service 9a89b47572 Rename *ModelFile to *File for methods of ModelAssetBundleResources.
PiperOrigin-RevId: 516667461
2023-03-14 16:42:32 -07:00
MediaPipe TeamandCopybara-Service 6774794d02 Add the dataset module for face stylizer in model maker.
PiperOrigin-RevId: 516628350
2023-03-14 14:11:20 -07:00
MediaPipe TeamandCopybara-Service ed3e728bb8 Internal change
PiperOrigin-RevId: 516607678
2023-03-14 12:57:24 -07:00
MediaPipe TeamandCopybara-Service 854ab25ee9 Internal change.
PiperOrigin-RevId: 516594221
2023-03-14 12:11:18 -07:00
MediaPipe TeamandCopybara-Service 8a41a5e44d Update models.
PiperOrigin-RevId: 516575530
2023-03-14 11:06:20 -07:00
MediaPipe TeamandCopybara-Service c895867427 Expose FrameBuffer view on GpuBufferStorageYuvImage.
PiperOrigin-RevId: 516546716
2023-03-14 09:30:25 -07:00
MediaPipe TeamandCopybara-Service 2659ea0392 Internal change
PiperOrigin-RevId: 516535124
2023-03-14 08:44:40 -07:00
MediaPipe TeamandCopybara-Service 46ba1d8051 Use ExternalFile to set metadata of GeometryPipelineCalculator.
PiperOrigin-RevId: 516384491
2023-03-13 18:50:33 -07:00
MediaPipe TeamandCopybara-Service 89857f33a2 Make ImageToTensorCalculator use kGpuService optionally
PiperOrigin-RevId: 516358053
2023-03-13 16:48:49 -07:00
MediaPipe TeamandCopybara-Service ffea85e470 Internal change
PiperOrigin-RevId: 516179167
2023-03-13 05:13:01 -07:00
MediaPipe TeamandCopybara-Service 131be2169a Add FaceDetector Java API
PiperOrigin-RevId: 515913662
2023-03-11 13:14:47 -08:00
MediaPipe TeamandCopybara-Service 296ee33be5 Add FaceLandmarker C++ API
PiperOrigin-RevId: 515912777
2023-03-11 13:05:21 -08:00
MediaPipe TeamandCopybara-Service c94de4032d Fix preprocess Callable typing
PiperOrigin-RevId: 515818356
2023-03-10 21:50:46 -08:00
MediaPipe TeamandCopybara-Service c9bd4f5957 Internal change
PiperOrigin-RevId: 515706419
2023-03-10 12:22:27 -08:00
MediaPipe TeamandCopybara-Service c3a32d76be Update face geometry proto java package name.
PiperOrigin-RevId: 515696170
2023-03-10 11:45:35 -08:00
MediaPipe TeamandCopybara-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 TeamandCopybara-Service 05b505c8e2 Introduce api to disable service default initialization.
PiperOrigin-RevId: 515501608
2023-03-09 18:57:39 -08:00
MediaPipe TeamandCopybara-Service 2d8f937913 Improve docstring of image classifier model spec.
PiperOrigin-RevId: 515466722
2023-03-09 16:06:40 -08:00
MediaPipe TeamandCopybara-Service c2a69ab476 Update ImageFrameToGpuBufferCalculator to use api2 and GpuBuffer conversions
PiperOrigin-RevId: 515407159
2023-03-09 12:21:00 -08:00
MediaPipe TeamandCopybara-Service 5daf58009d internal
PiperOrigin-RevId: 515392932
2023-03-09 11:27:11 -08:00
MediaPipe TeamandCopybara-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 TeamandCopybara-Service 2c64421471 Fix minor typos in MediaPipe synchronization description.
PiperOrigin-RevId: 515362264
2023-03-09 09:49:23 -08:00
MediaPipe TeamandCopybara-Service 39e2c8351f Add build system for Halide and expose FrameBufferUtils.
PiperOrigin-RevId: 515304264
2023-03-09 05:06:18 -08:00
MediaPipe TeamandCopybara-Service c12eae229f Internal change
PiperOrigin-RevId: 515187906
2023-03-08 17:36:04 -08:00
MediaPipe TeamandCopybara-Service 8d9f627fd9 Internal change
PiperOrigin-RevId: 515187139
2023-03-08 17:32:21 -08:00
MediaPipe TeamandCopybara-Service 9f1f4273d0 Support hair segmentation model in image segmenter
PiperOrigin-RevId: 515151150
2023-03-08 15:01:14 -08:00
MediaPipe TeamandCopybara-Service 2fb62e4c29 Add volume_gain_db option to TensorsToAudioCalculator.
PiperOrigin-RevId: 515150234
2023-03-08 14:57:29 -08:00
MediaPipe TeamandCopybara-Service b8917ad31f Add FaceDetectorResult
PiperOrigin-RevId: 515104977
2023-03-08 12:10:13 -08:00
MediaPipe TeamandCopybara-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 TeamandCopybara-Service 225dd36a63 Internal change
PiperOrigin-RevId: 514835354
2023-03-07 14:11:47 -08:00
MediaPipe TeamandCopybara-Service 414031867e Internal change
PiperOrigin-RevId: 514763674
2023-03-07 10:00:10 -08:00
MediaPipe TeamandCopybara-Service 2f2a74da6a Internal MediaPipe Tasks change.
PiperOrigin-RevId: 514637484
2023-03-06 23:17:35 -08:00
MediaPipe TeamandCopybara-Service c1b460920c normalized keypoint container. Detection adds optional keypoint list.
PiperOrigin-RevId: 514624925
2023-03-06 22:02:59 -08:00
MediaPipe TeamandCopybara-Service e4ac1a10c2 TensorsToSegmentation web postprocessing on GPU: softmax activation
PiperOrigin-RevId: 514589911
2023-03-06 19:08:53 -08:00
MediaPipe TeamandCopybara-Service bd9a2ee1fc Internal change
PiperOrigin-RevId: 514580892
2023-03-06 18:13:50 -08:00
MediaPipe TeamandCopybara-Service 0337c7f52f Fix typo in ImageSegmenter.java
PiperOrigin-RevId: 514534013
2023-03-06 14:51:49 -08:00
MediaPipe TeamandCopybara-Service f15244997f Internal change
PiperOrigin-RevId: 514498364
2023-03-06 12:58:01 -08:00
MediaPipe TeamandCopybara-Service c64f83fff4 Internal change
PiperOrigin-RevId: 514452059
2023-03-06 10:29:29 -08:00
MediaPipe TeamandCopybara-Service 6c68d4c358 Internal change
PiperOrigin-RevId: 514421618
2023-03-06 08:42:19 -08:00
MediaPipe TeamandCopybara-Service 96b2958f18 Add ViewProvider for ImageFrame in GpuBufferStorageYuvImage.
PiperOrigin-RevId: 514344066
2023-03-06 07:53:02 -08:00
MediaPipe TeamandCopybara-Service a43be73ee4 Internal MediaPipe Tasks change.
PiperOrigin-RevId: 514150403
2023-03-06 07:32:59 -08:00
MediaPipe TeamandCopybara-Service 763842289a Add FaceLandmarkerResult for FaceLandmarker API
PiperOrigin-RevId: 514137566
2023-03-06 07:31:30 -08:00
MediaPipe TeamandCopybara-Service cd14d2e688 Internal MediaPipe Tasks change.
PiperOrigin-RevId: 514002859
2023-03-06 07:29:55 -08:00
MediaPipe TeamandCopybara-Service c98b4b6ec6 Internal change
PiperOrigin-RevId: 513992315
2023-03-06 07:26:39 -08:00
MediaPipe TeamandCopybara-Service 3d41eabc2e Face Detector C++ API
PiperOrigin-RevId: 513959349
2023-03-06 07:17:46 -08:00
MediaPipe TeamandCopybara-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 TeamandCopybara-Service 9c3abcd06f Document graph service usage with docs and unit tests.
PiperOrigin-RevId: 513955877
2023-03-06 07:15:10 -08:00
MediaPipe TeamandCopybara-Service 3854d9fcd5 Document proper way to set services.
PiperOrigin-RevId: 513955214
2023-03-06 07:13:54 -08:00
MediaPipe TeamandCopybara-Service 2963739086 Internal MediaPipe Tasks change.
PiperOrigin-RevId: 513897822
2023-03-06 07:12:37 -08:00
MediaPipe TeamandCopybara-Service b7ec83efb5 Add optional face blendshapes to face landmarks detector graph.
PiperOrigin-RevId: 513867488
2023-03-03 10:48:55 -08:00
MediaPipe TeamandCopybara-Service 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 TeamandCopybara-Service 91d53cd181 Make image preprocessing support RGBA image.
PiperOrigin-RevId: 513680594
2023-03-02 17:13:19 -08:00
MediaPipe TeamandCopybara-Service 945b36766c Let web API add empty packets to input streams
PiperOrigin-RevId: 513630040
2023-03-02 13:51:39 -08:00
MediaPipe TeamandCopybara-Service 0ba35cf1a7 Internal change
PiperOrigin-RevId: 513608516
2023-03-02 12:29:06 -08:00
MediaPipe TeamandCopybara-Service c71f78c38f Internal change
PiperOrigin-RevId: 513607664
2023-03-02 12:24:51 -08:00
MediaPipe TeamandCopybara-Service dd4301802a migrate env_generator_calculator
PiperOrigin-RevId: 513585830
2023-03-02 11:05:02 -08:00
MediaPipe TeamandCopybara-Service 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