Commit Graph
100 Commits
Author SHA1 Message Date
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
MediaPipe TeamandCopybara-Service 6796977a04 migrate geometry_pipeline_calculator
PiperOrigin-RevId: 513368520
2023-03-01 16:09:48 -08:00
MediaPipe TeamandCopybara-Service 22fce9e136 migrate mediapipe/modules/face_geometry to mediapipe/tasks
PiperOrigin-RevId: 513284254
2023-03-01 10:59:56 -08:00
MediaPipe TeamandCopybara-Service 2143baf7d5 Dos/Donts: separating nodes for readability
PiperOrigin-RevId: 512994288
2023-02-28 11:40:03 -08:00
MediaPipe TeamandCopybara-Service bfddb32358 remove usage of var for ImageSegmenter.java
PiperOrigin-RevId: 512767947
2023-02-27 16:49:27 -08:00
MediaPipe TeamandCopybara-Service 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
MediaPipe TeamandCopybara-Service 5913e5dd1d Internal change
PiperOrigin-RevId: 512686714
2023-02-27 11:41:44 -08:00
MediaPipe TeamandCopybara-Service 75576700ed Add Bitmap image capture capability to GlSurfaceViewRenderer.
PiperOrigin-RevId: 512677893
2023-02-27 11:14:20 -08:00
MediaPipe TeamandCopybara-Service 39b2fec60f Internal change
PiperOrigin-RevId: 512643827
2023-02-27 11:12:20 -08:00
MediaPipe TeamandCopybara-Service 1575e7f79c Internal change
PiperOrigin-RevId: 512457466
2023-02-27 11:11:24 -08:00
MediaPipe TeamandCopybara-Service 17466fb7f1 Internal change
PiperOrigin-RevId: 512111461
2023-02-27 11:10:19 -08:00
MediaPipe Teamandjqtang 9054ff7283 Internal change
PiperOrigin-RevId: 511928038
2023-02-27 11:02:58 -08:00
MediaPipe TeamandCopybara-Service 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 TeamandCopybara-Service 0981367e84 DetectionTransformationCalculator handles empty input.
PiperOrigin-RevId: 511881969
2023-02-23 14:14:20 -08:00
MediaPipe TeamandCopybara-Service 75d799d2b9 Add Copyright head
PiperOrigin-RevId: 511694458
2023-02-22 22:47:02 -08:00
MediaPipe TeamandCopybara-Service ff10f3c814 Move NormalizedKeypoint to a separate header
PiperOrigin-RevId: 511642586
2023-02-22 17:42:06 -08:00
MediaPipe TeamandCopybara-Service 2c3c1e664a add TensorsToFaceLandmarksGraph to support two types of face mesh models.
PiperOrigin-RevId: 511626032
2023-02-22 16:22:13 -08:00
MediaPipe TeamandCopybara-Service 40b0dc960a Internal Changes
PiperOrigin-RevId: 511604893
2023-02-22 14:55:03 -08:00
MediaPipe TeamandCopybara-Service 000aeeb036 Update face detector graph for downstream face landmarks graph.
PiperOrigin-RevId: 511566984
2023-02-22 12:31:57 -08:00
MediaPipe TeamandCopybara-Service fbbc13d756 update detection result to include optional keypoints.
PiperOrigin-RevId: 511538880
2023-02-22 10:50:58 -08:00
MediaPipe TeamandCopybara-Service c026f935bc Add @ to all references to files in WORKSPACE.bazel.
PiperOrigin-RevId: 511504265
2023-02-22 08:36:36 -08:00
MediaPipe TeamandCopybara-Service e2ac704428 internal change
PiperOrigin-RevId: 511338483
2023-02-21 16:40:37 -08:00
MediaPipe TeamandCopybara-Service 9a6d5e0444 Update MediaPipe TFLite code to use generic "shim" symbols and headers
PiperOrigin-RevId: 511265313
2023-02-21 11:58:32 -08:00
MediaPipe TeamandCopybara-Service d0aa98bd5f Internal change
PiperOrigin-RevId: 510570555
2023-02-17 18:50:05 -08:00