Commit Graph

2766 Commits

Author SHA1 Message Date
MediaPipe Team
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
dbcdb44f7c Move loading tasks-vision-jni to individual vision task class
PiperOrigin-RevId: 564840343
2023-09-12 14:52:58 -07:00
MediaPipe Team
4ba1dadf92 Add option for nearest neighbor interpolation.
PiperOrigin-RevId: 564786213
2023-09-12 11:41:58 -07:00
MediaPipe Team
5daed78844 No public description
PiperOrigin-RevId: 564775970
2023-09-12 11:10:11 -07:00
MediaPipe Team
dd692c2395 Internal update
PiperOrigin-RevId: 564740487
2023-09-12 09:17:13 -07:00
MediaPipe Team
26a67f4424 No public description
PiperOrigin-RevId: 564651554
2023-09-12 02:15:53 -07:00
Sebastian Schmidt
12502b6f96 Add Handedness to JS, C++ and Android API
PiperOrigin-RevId: 564559718
2023-09-11 18:27:05 -07:00
MediaPipe Team
02bd0d95e7 Splitting GraphRunner into public API declared interfaces and private TS impls
PiperOrigin-RevId: 564551973
2023-09-11 17:48:21 -07:00
Sebastian Schmidt
0fec532ebe Add API exports for MPMask and MPImage
PiperOrigin-RevId: 564527405
2023-09-11 16:03:07 -07:00
Sebastian Schmidt
56c26dba84 Update WASM files for 10.5 release
PiperOrigin-RevId: 564511761
2023-09-11 15:07:51 -07:00
MediaPipe Team
7a04d60134 Set the default running model to Image for face stylizer.
PiperOrigin-RevId: 564511316
2023-09-11 15:03:07 -07:00
Sebastian Schmidt
81481df304 No public description
PiperOrigin-RevId: 564461274
2023-09-11 12:09:11 -07:00
Sebastian Schmidt
315982df0f Ensure that C header don't import C++ types
PiperOrigin-RevId: 564435119
2023-09-11 10:47:27 -07:00
Sebastian Schmidt
e206f9acdb No public description
PiperOrigin-RevId: 564429453
2023-09-11 10:36:06 -07:00
Copybara-Service
cdf199cf96 Merge pull request #4775 from priankakariatyml:ios-doc-updates-part2
PiperOrigin-RevId: 564429285
2023-09-11 10:31:13 -07:00
Chris McClanahan
e51b923bda internal fix
PiperOrigin-RevId: 564404269
2023-09-11 09:11:49 -07:00
MediaPipe Team
7f245bc84b Internal Change
PiperOrigin-RevId: 564316003
2023-09-11 02:39:40 -07:00
MediaPipe Team
b2494fe3c1 This will fix multiple typos in the tasks internal files.
PiperOrigin-RevId: 564264998
2023-09-10 21:56:57 -07:00
MediaPipe Team
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
Sebastian Schmidt
7accc79018 Internal
PiperOrigin-RevId: 563907673
2023-09-08 19:16:14 -07:00
Copybara-Service
1514304ab3 Merge pull request #4767 from priankakariatyml:ios-vision-task-refactoring-impl3
PiperOrigin-RevId: 563859728
2023-09-08 15:00:36 -07:00
Sebastian Schmidt
6df05b7d2a Internal
PiperOrigin-RevId: 563843599
2023-09-08 13:55:19 -07:00
Copybara-Service
b89ca28fe1 Merge pull request #4751 from kuaashish:master
PiperOrigin-RevId: 563840414
2023-09-08 13:44:20 -07:00
Prianka Liz Kariat
9d31827de8 Moved iOS MPPHandLandmark enum to MPPHandLandmarker.h 2023-09-08 20:06:47 +05:30
Prianka Liz Kariat
75daf4e756 Updated iOS hand landmarker documentation to use swift names 2023-09-08 19:16:15 +05:30
Prianka Liz Kariat
18f16f6bb5 Updated iOS gesture recognizer documentation to use Swift names 2023-09-08 19:15:56 +05:30
Prianka Liz Kariat
900e637b6a Fixed typos in iOS documentation 2023-09-08 19:15:32 +05:30
MediaPipe Team
886a118232 landmarks_to_detection stream utility function.
PiperOrigin-RevId: 563633314
2023-09-07 21:40:45 -07:00
MediaPipe Team
7549677408 Internal update
PiperOrigin-RevId: 563553758
2023-09-07 14:58:39 -07:00
MediaPipe Team
80b762a281 No public description
PiperOrigin-RevId: 563543098
2023-09-07 14:19:08 -07:00
Sebastian Schmidt
6c38483b37 Add externs to js_library targets
PiperOrigin-RevId: 563500180
2023-09-07 11:52:30 -07:00
vrabaud
55536c4382 No public description
PiperOrigin-RevId: 563333271
2023-09-07 00:00:38 -07:00
MediaPipe Team
5f4a6e313e Format improvement.
PiperOrigin-RevId: 563321343
2023-09-06 23:02:05 -07:00
MediaPipe Team
3ce457006f Remove video and streaming mode for face stylizer.
PiperOrigin-RevId: 563312344
2023-09-06 22:20:43 -07:00
MediaPipe Team
a9da6d325c Move stream API landmarks_projection to third_party.
PiperOrigin-RevId: 563246209
2023-09-06 16:21:09 -07:00
MediaPipe Team
7252f6f2e7 Remove video and stream model in face stylizer.
PiperOrigin-RevId: 563233996
2023-09-06 15:33:58 -07:00
MediaPipe Team
b40b3973fb Add notes/warnings for calculators which use dedicated GL contexts.
PiperOrigin-RevId: 563167765
2023-09-06 11:40:21 -07:00
MediaPipe Team
e58ec2d039 No public description
PiperOrigin-RevId: 563163901
2023-09-06 11:30:53 -07:00
MediaPipe Team
967007f250 No public description
PiperOrigin-RevId: 563145860
2023-09-06 10:35:52 -07:00
Prianka Liz Kariat
1ffa999abb Replaced the old iOS vision task runner with the refactored task runner 2023-09-06 18:55:03 +05:30
MediaPipe Team
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
bf32d1acb2 No public description
PiperOrigin-RevId: 562915674
2023-09-05 15:52:21 -07:00
MediaPipe Team
4e52e96973 No public description
PiperOrigin-RevId: 562865700
2023-09-05 13:03:27 -07:00
Sebastian Schmidt
2aefa2308b Internal
PiperOrigin-RevId: 562834129
2023-09-05 11:10:55 -07:00
Copybara-Service
a87613aa6c Merge pull request #4750 from priankakariatyml:ios-vision-task-runner-refactor-impl-part2
PiperOrigin-RevId: 562823970
2023-09-05 10:39:19 -07:00
Fergus Henderson
a19da25565 Some spelling and grammar fixes in the comments.
PiperOrigin-RevId: 562802023
2023-09-05 09:28:50 -07:00
MediaPipe Team
be0cde8c2e No public description
PiperOrigin-RevId: 562724334
2023-09-05 03:39:37 -07:00
MediaPipe Team
223544ca4b No public description
PiperOrigin-RevId: 562711473
2023-09-05 02:35:24 -07:00
Ayush Gupta
4f5069b402
Merge pull request #4751 from kuaashish/master
Updated Issue Templates
2023-09-04 12:15:58 +05:30
MediaPipe Team
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