MediaPipe Team and Copybara-Service
e1d1877e07
Modifying tensor_to_vector_float_calculator to take in D_BFLOAT16 values
...
PiperOrigin-RevId: 565189254
2023-09-13 16:10:35 -07:00
MediaPipe Team and Copybara-Service
6dc1239aa9
No public description
...
PiperOrigin-RevId: 565167086
2023-09-13 14:48:48 -07:00
MediaPipe Team and Copybara-Service
d6ee884200
No public description
...
PiperOrigin-RevId: 565087299
2023-09-13 10:23:00 -07:00
MediaPipe Team and Copybara-Service
8c9cd8a2fb
fixes the non-unicode path of file_helpers on windows
...
Macros can't start with ##, this fixes it.
PiperOrigin-RevId: 565066376
2023-09-13 09:04:33 -07:00
MediaPipe Team and Copybara-Service
90e18eab91
Internal change.
...
PiperOrigin-RevId: 565062314
2023-09-13 08:49:16 -07:00
MediaPipe Team and Copybara-Service
38f421acf0
This will fix multiple typos in the tasks internal files.
...
PiperOrigin-RevId: 565055843
2023-09-13 08:22:19 -07:00
MediaPipe Team and Copybara-Service
df211d211e
Internal update.
...
PiperOrigin-RevId: 564883563
2023-09-12 17:40:28 -07:00
MediaPipe Team and Copybara-Service
1d8dda3337
Remove uncoditional texture params reset to make float textures handled correctly.
...
PiperOrigin-RevId: 564869245
2023-09-12 16:40:13 -07:00
MediaPipe Team and Copybara-Service
5b08a09446
Fixes two issues with file handling on windows:
...
. If UNICODE is set, then win32 functions taking file paths use wide
(utf-16) strings. For example, FindFirstFile really calls to
FindFirstFileW, which takes a wchar_t*. This adds support for
the unicode path.
. SetContents() changes from "w" to "wb". This is necessary as
windows will do some amount of encoding without "b", which results
in much different values being written.
PiperOrigin-RevId: 564842317
2023-09-12 15:00:05 -07:00
MediaPipe Team and Copybara-Service
dbcdb44f7c
Move loading tasks-vision-jni to individual vision task class
...
PiperOrigin-RevId: 564840343
2023-09-12 14:52:58 -07:00
MediaPipe Team and Copybara-Service
4ba1dadf92
Add option for nearest neighbor interpolation.
...
PiperOrigin-RevId: 564786213
2023-09-12 11:41:58 -07:00
MediaPipe Team and Copybara-Service
5daed78844
No public description
...
PiperOrigin-RevId: 564775970
2023-09-12 11:10:11 -07:00
MediaPipe Team and Copybara-Service
dd692c2395
Internal update
...
PiperOrigin-RevId: 564740487
2023-09-12 09:17:13 -07:00
MediaPipe Team and Copybara-Service
26a67f4424
No public description
...
PiperOrigin-RevId: 564651554
2023-09-12 02:15:53 -07:00
MediaPipe Team and Copybara-Service
02bd0d95e7
Splitting GraphRunner into public API declared interfaces and private TS impls
...
PiperOrigin-RevId: 564551973
2023-09-11 17:48:21 -07:00
MediaPipe Team and Copybara-Service
7a04d60134
Set the default running model to Image for face stylizer.
...
PiperOrigin-RevId: 564511316
2023-09-11 15:03:07 -07:00
MediaPipe Team and Copybara-Service
7f245bc84b
Internal Change
...
PiperOrigin-RevId: 564316003
2023-09-11 02:39:40 -07:00
MediaPipe Team and Copybara-Service
b2494fe3c1
This will fix multiple typos in the tasks internal files.
...
PiperOrigin-RevId: 564264998
2023-09-10 21:56:57 -07:00
MediaPipe Team and Copybara-Service
d1b04a9309
Set enableFlowLimiting to false since only Image model is supported for face stylizer.
...
PiperOrigin-RevId: 563939653
2023-09-08 22:46:15 -07:00
MediaPipe Team and Copybara-Service
886a118232
landmarks_to_detection stream utility function.
...
PiperOrigin-RevId: 563633314
2023-09-07 21:40:45 -07:00
MediaPipe Team and Copybara-Service
7549677408
Internal update
...
PiperOrigin-RevId: 563553758
2023-09-07 14:58:39 -07:00
MediaPipe Team and Copybara-Service
80b762a281
No public description
...
PiperOrigin-RevId: 563543098
2023-09-07 14:19:08 -07:00
MediaPipe Team and Copybara-Service
5f4a6e313e
Format improvement.
...
PiperOrigin-RevId: 563321343
2023-09-06 23:02:05 -07:00
MediaPipe Team and Copybara-Service
3ce457006f
Remove video and streaming mode for face stylizer.
...
PiperOrigin-RevId: 563312344
2023-09-06 22:20:43 -07:00
MediaPipe Team and Copybara-Service
a9da6d325c
Move stream API landmarks_projection to third_party.
...
PiperOrigin-RevId: 563246209
2023-09-06 16:21:09 -07:00
MediaPipe Team and Copybara-Service
7252f6f2e7
Remove video and stream model in face stylizer.
...
PiperOrigin-RevId: 563233996
2023-09-06 15:33:58 -07:00
MediaPipe Team and Copybara-Service
b40b3973fb
Add notes/warnings for calculators which use dedicated GL contexts.
...
PiperOrigin-RevId: 563167765
2023-09-06 11:40:21 -07:00
MediaPipe Team and Copybara-Service
e58ec2d039
No public description
...
PiperOrigin-RevId: 563163901
2023-09-06 11:30:53 -07:00
MediaPipe Team and Copybara-Service
967007f250
No public description
...
PiperOrigin-RevId: 563145860
2023-09-06 10:35:52 -07:00
MediaPipe Team and Copybara-Service
e39119ae53
Add missing cache writing implementation in InferenceCalculatorAdvancedGL
...
Add missing implementation for absl::Status SaveGpuCachesBasedOnBehavior(tflite::gpu::TFLiteGPURunner* gpu_runner) const for non android/chromeos.
PiperOrigin-RevId: 562973338
2023-09-05 20:51:36 -07:00
MediaPipe Team and Copybara-Service
bf32d1acb2
No public description
...
PiperOrigin-RevId: 562915674
2023-09-05 15:52:21 -07:00
MediaPipe Team and Copybara-Service
4e52e96973
No public description
...
PiperOrigin-RevId: 562865700
2023-09-05 13:03:27 -07:00
MediaPipe Team and Copybara-Service
be0cde8c2e
No public description
...
PiperOrigin-RevId: 562724334
2023-09-05 03:39:37 -07:00
MediaPipe Team and Copybara-Service
223544ca4b
No public description
...
PiperOrigin-RevId: 562711473
2023-09-05 02:35:24 -07:00
MediaPipe Team and Copybara-Service
cac462c486
Add allow_custom_ops to model_util.convert_to_tflite and enable custom ops for face stylizer.
...
PiperOrigin-RevId: 562212965
2023-09-02 09:56:40 -07:00
MediaPipe Team and Copybara-Service
2b5e281c27
internal update
...
PiperOrigin-RevId: 562090520
2023-09-01 17:52:50 -07:00
MediaPipe Team and Copybara-Service
d6119957a4
No public description
...
PiperOrigin-RevId: 562075110
2023-09-01 16:31:33 -07:00
MediaPipe Team and Copybara-Service
ab70d92752
No public description
...
PiperOrigin-RevId: 562071599
2023-09-01 16:14:06 -07:00
MediaPipe Team and Copybara-Service
23057ac146
Update PackMediaSequenceCalculator to support setting clip/media/string, clip/media/confidence and clip/label/index.
...
The input stream is provided as drishti::Detection.
PiperOrigin-RevId: 562070790
2023-09-01 16:08:52 -07:00
MediaPipe Team and Copybara-Service
6c43d37e5a
Provide API/options to show intermediate results and generating progress for Java Image Generator.
...
PiperOrigin-RevId: 562014712
2023-09-01 12:32:26 -07:00
MediaPipe Team and Copybara-Service
ceb8cd3c78
internal update.
...
PiperOrigin-RevId: 561995330
2023-09-01 10:57:40 -07:00
MediaPipe Team and Copybara-Service
823493ee82
Internal update.
...
PiperOrigin-RevId: 561995055
2023-09-01 10:53:00 -07:00
MediaPipe Team and Copybara-Service
007824594b
Rollback of "Enable defining and using internal executors in subgraphs."
...
PiperOrigin-RevId: 561921927
2023-09-01 04:57:34 -07:00
MediaPipe Team and Copybara-Service
de0c7f2a30
Make cache writes optional in InferenceCalculatorAdvancedGL
...
Previously, caches were always written, and an error would cause the graph to close abruptly. This prevented services with read-only access to the cache from using the calculator.
The new behavior allows services to choose whether or not to write caches.
PiperOrigin-RevId: 561866791
2023-08-31 23:31:27 -07:00
MediaPipe Team and Copybara-Service
dea6ccba25
Remove unnecessary includes in threadpool_std_thread_impl.cc.
...
The windows.h was causing conflicts with LOG. Also the the posix headers weren't needed because the code doesn't use OS specific code anymore.
PiperOrigin-RevId: 561848229
2023-08-31 21:52:22 -07:00
MediaPipe Team and Copybara-Service
81732944c4
No public description
...
PiperOrigin-RevId: 561775271
2023-08-31 15:22:43 -07:00
MediaPipe Team and Copybara-Service
afcb9c4216
No public description
...
PiperOrigin-RevId: 561773992
2023-08-31 15:17:51 -07:00
MediaPipe Team and Copybara-Service
62e682363c
Remove reference pointer to prevent using a constant reference in the looped iteration variable
...
PiperOrigin-RevId: 561758116
2023-08-31 14:17:51 -07:00
MediaPipe Team and Copybara-Service
7c2d654d67
Convert CHECK macro to ABSL_CHECK.
...
Chrome can't use Absl's CHECK because of collisions with its own version.
PiperOrigin-RevId: 561740965
2023-08-31 13:20:29 -07:00
MediaPipe Team and Copybara-Service
612162d765
Check if the image contains valid face that can be aligned for stylization. If not, throw an exception for invalid input image. This is applied to both input stylized face and raw face.
...
PiperOrigin-RevId: 561439600
2023-08-30 13:54:11 -07:00
MediaPipe Team and Copybara-Service
c92570f844
Use ABSL_LOG in MediaPipe.
...
This is needed in Chrome builds to avoid collisions with its own LOG.
PiperOrigin-RevId: 561436864
2023-08-30 13:43:49 -07:00
MediaPipe Team and Copybara-Service
5434b840f6
Improving throttling logs by providing a node info corresponding to a throttling stream.
...
PiperOrigin-RevId: 561396272
2023-08-30 11:21:31 -07:00
MediaPipe Team and Copybara-Service
45b0271ded
No public description
...
PiperOrigin-RevId: 561379537
2023-08-30 10:27:02 -07:00
MediaPipe Team and Copybara-Service
6c2638592e
Internal update.
...
PiperOrigin-RevId: 561184322
2023-08-29 17:34:35 -07:00
MediaPipe Team and Copybara-Service
e18e749e3e
Internal update
...
PiperOrigin-RevId: 561148365
2023-08-29 15:04:33 -07:00
MediaPipe Team and Copybara-Service
01fbbd9f67
No public description
...
PiperOrigin-RevId: 561067189
2023-08-29 10:18:06 -07:00
MediaPipe Team and Copybara-Service
f56b8a13a3
Add a custom op resolver for fused batch norm.
...
PiperOrigin-RevId: 560795170
2023-08-28 13:04:10 -07:00
MediaPipe Team and Copybara-Service
442940cd55
No public description
...
PiperOrigin-RevId: 560743684
2023-08-28 10:08:49 -07:00
MediaPipe Team and Copybara-Service
1aa5e0d46f
No public description
...
PiperOrigin-RevId: 560689326
2023-08-28 06:21:09 -07:00
MediaPipe Team and Copybara-Service
b22dcf9ce6
No public description
...
PiperOrigin-RevId: 560652313
2023-08-28 02:50:07 -07:00
MediaPipe Team and Copybara-Service
d6dce193fc
Internal update
...
PiperOrigin-RevId: 560147650
2023-08-25 11:22:58 -07:00
MediaPipe Team and Copybara-Service
6e6978cdbf
New image test utilities and memory management fixes.
...
PiperOrigin-RevId: 559926378
2023-08-24 18:02:55 -07:00
MediaPipe Team and Copybara-Service
dd09c8d3f7
Update port includes with IWYU to fix clang warnings in code where corresponding ports are used.
...
PiperOrigin-RevId: 559920115
2023-08-24 17:33:34 -07:00
MediaPipe Team and Copybara-Service
4b1b6ae7fb
Move stream API rect_transformation to third_party.
...
PiperOrigin-RevId: 559652775
2023-08-23 23:11:47 -07:00
MediaPipe Team and Copybara-Service
b2446c6ca8
No public description
...
PiperOrigin-RevId: 559566037
2023-08-23 15:50:34 -07:00
MediaPipe Team and Copybara-Service
f645c59746
Move stream API image_size to third_party.
...
PiperOrigin-RevId: 559475476
2023-08-23 10:45:18 -07:00
MediaPipe Team and Copybara-Service
2ebdb01d43
ImageGenerator Java API
...
PiperOrigin-RevId: 559310074
2023-08-22 21:42:16 -07:00
MediaPipe Team and Copybara-Service
90781669cb
No public description
...
PiperOrigin-RevId: 559275983
2023-08-22 18:04:11 -07:00
MediaPipe Team and Copybara-Service
3443fe4c8e
No public description
...
PiperOrigin-RevId: 559211117
2023-08-22 13:43:27 -07:00
MediaPipe Team and Copybara-Service
8c4b971c14
Add an API in model_task_graph to create or use cached model resources.
...
PiperOrigin-RevId: 559174528
2023-08-22 11:34:54 -07:00
MediaPipe Team and Copybara-Service
bcb83302bf
Add pose landmarks constants
...
PiperOrigin-RevId: 559153433
2023-08-22 10:32:10 -07:00
MediaPipe Team and Copybara-Service
7517b56476
No public description
...
PiperOrigin-RevId: 559133490
2023-08-22 09:26:33 -07:00
MediaPipe Team and Copybara-Service
edb0a64d0e
Move stream API loopback to third_party.
...
PiperOrigin-RevId: 559037020
2023-08-22 01:44:24 -07:00
MediaPipe Team and Copybara-Service
9bc8b3bb4f
Update the header information for EnsureMinimumDefaultExecutorStackSize.
...
PiperOrigin-RevId: 558981535
2023-08-21 21:26:32 -07:00
MediaPipe Team and Copybara-Service
7ba4edc372
Internal Change
...
PiperOrigin-RevId: 558937644
2023-08-21 16:55:44 -07:00
MediaPipe Team and Copybara-Service
7f8150776a
Add an API to run inference with face stylizer TF model.
...
PiperOrigin-RevId: 558926645
2023-08-21 16:08:58 -07:00
MediaPipe Team and Copybara-Service
bbf168ddda
Add a new from_image API to create face stylizer dataset from a single image. Also deprecate the from_folder API since we only support one-shot use case now.
...
PiperOrigin-RevId: 558912896
2023-08-21 15:14:36 -07:00
MediaPipe Team and Copybara-Service
ae9e945e0c
Change SegmentationOptions.builder() to be public
...
PiperOrigin-RevId: 558864872
2023-08-21 12:18:17 -07:00
MediaPipe Team and Copybara-Service
737c103940
Add output size as parameters in Java ImageSegmenter
...
PiperOrigin-RevId: 558834692
2023-08-21 10:45:08 -07:00
MediaPipe Team and Copybara-Service
cd9d32e797
update pose rendering
...
PiperOrigin-RevId: 558424354
2023-08-19 10:40:26 -07:00
MediaPipe Team and Copybara-Service
a44c810921
Update PackMediaSequenceCalculator to support adding clip/media/id to the MediaSequence.
...
As the media ID is usually a video ID which is provided to the graph as a side packet, in this graph it expects it to be provided as as a input side packet instead of an input stream.
PiperOrigin-RevId: 558266967
2023-08-18 15:48:40 -07:00
MediaPipe Team and Copybara-Service
fda0d19337
Adds option to use tensor_ahwb in Android vendor processes
...
PiperOrigin-RevId: 558086646
2023-08-18 02:31:58 -07:00
MediaPipe Team and Copybara-Service
b213256cbd
Change supported_ops to a Tuple instead of List to match the API definition.
...
PiperOrigin-RevId: 557890361
2023-08-17 11:48:56 -07:00
MediaPipe Team and Copybara-Service
ed0c8d8d8b
Swap left and right hand labels.
...
PiperOrigin-RevId: 557625660
2023-08-16 15:51:19 -07:00
MediaPipe Team and Copybara-Service
13bb65db96
Internal Changes
...
PiperOrigin-RevId: 557563669
2023-08-16 12:16:16 -07:00
MediaPipe Team and Copybara-Service
9e45e2b6e9
Setting training for the encoder and decoder when converting to TFLite.
...
Also add selected TF ops to TFLite converter.
PiperOrigin-RevId: 557520277
2023-08-16 10:02:29 -07:00
MediaPipe Team and Copybara-Service
ee217ceb67
Fix MediaPipe build in Chromium.
...
When building Chromium with Clang on Windows, it needs the template specializations to be declared as well.
PiperOrigin-RevId: 557508703
2023-08-16 09:23:15 -07:00
MediaPipe Team and Copybara-Service
ff17846c6a
No public description
...
PiperOrigin-RevId: 557490568
2023-08-16 08:16:30 -07:00
MediaPipe Team and Copybara-Service
ff3f0433d3
Fix image_util shortcut import line
...
PiperOrigin-RevId: 557311617
2023-08-15 18:19:13 -07:00
MediaPipe Team and Copybara-Service
1c98270ef0
Import image_util for using it in mediapipe face stylizer open sourcing.
...
PiperOrigin-RevId: 557254489
2023-08-15 14:41:57 -07:00
MediaPipe Team and Copybara-Service
cda0ba04ed
Dry-Run mode for static registration to make it easier to find all required static registrations
...
PiperOrigin-RevId: 557185347
2023-08-15 11:03:18 -07:00
MediaPipe Team and Copybara-Service
c1d7e6023a
Expose tool calculators in headers to enable dynamic registration by superusers.
...
PiperOrigin-RevId: 557174440
2023-08-15 10:32:45 -07:00
MediaPipe Team and Copybara-Service
a392561b31
Internal change
...
PiperOrigin-RevId: 557015628
2023-08-14 22:16:20 -07:00
MediaPipe Team and Copybara-Service
0da296536b
Expose stream handlers in headers to allow dynamic registration for superusers
...
PiperOrigin-RevId: 556988288
2023-08-14 20:01:50 -07:00
MediaPipe Team and Copybara-Service
b6f5414b3d
Support more GPU formats in tensor converter calculator.
...
PiperOrigin-RevId: 556987807
2023-08-14 19:57:05 -07:00
MediaPipe Team and Copybara-Service
a183212a13
Header for callback_packet_calculator to allow dynamic registration for superusers
...
PiperOrigin-RevId: 556977122
2023-08-14 18:50:11 -07:00
MediaPipe Team and Copybara-Service
9c5bdd2eb9
Clarify deprecated GraphStatus usage in Close documentation
...
PiperOrigin-RevId: 556963967
2023-08-14 17:53:32 -07:00
MediaPipe Team and Copybara-Service
dd940707ca
Provide a way to disable static registration using MEDIAPIPE_DISABLE_STATIC_REGISTRATION
...
PiperOrigin-RevId: 556963956
2023-08-14 17:48:25 -07:00
MediaPipe Team and Copybara-Service
6605fdb16f
add end loop calculator for image size
...
PiperOrigin-RevId: 556955370
2023-08-14 17:09:02 -07:00
MediaPipe Team and Copybara-Service
a8bee6baf3
Updates the runners to support wasm-style binary assets files, and allows their URLs to be explicitly specified as part of the WasmFileset.
...
PiperOrigin-RevId: 556903356
2023-08-14 13:59:53 -07:00