Commit Graph

2841 Commits

Author SHA1 Message Date
MediaPipe Team
ad4da8c9cc No public description
PiperOrigin-RevId: 581468467
2023-11-10 23:53:57 -08:00
MediaPipe Team
418680936d No public description
PiperOrigin-RevId: 581450685
2023-11-10 21:55:41 -08:00
MediaPipe Team
4ad67abd70 ...internal change...
PiperOrigin-RevId: 581375224
2023-11-10 14:46:01 -08:00
MediaPipe Team
5dec91226d No public description
PiperOrigin-RevId: 581322099
2023-11-10 11:39:24 -08:00
MediaPipe Team
64b21d758e Remove batch dimension from the output of tflite_with_tokenizer in text classifier.
PiperOrigin-RevId: 581292824
2023-11-10 10:05:40 -08:00
MediaPipe Team
d772bf8134 Add BinaryAUC metric and Best Checkpoint callback to Text Classifier
PiperOrigin-RevId: 581276382
2023-11-10 09:04:26 -08:00
MediaPipe Team
fd4859c178 Refactor OpenCV path out of TensorsToSegmentationCalculator main file.
ProcessCpu() is changed into an OpenCV converter that is owned by the calculator. The calculator should call converter.Convert() to get the conversion result.

PiperOrigin-RevId: 581103226
2023-11-09 20:06:47 -08:00
Youchuan Hu
1038f8176d Refactor OpenCV path out of TensorsToSegmentationCalculator main file.
ProcessCpu() is changed into an OpenCV converter that is owned by the calculator. The calculator should call converter.Convert() to get the conversion result.

PiperOrigin-RevId: 581073731
2023-11-09 17:28:24 -08:00
MediaPipe Team
333125ac20 Add some convenience getters to EglManager.
PiperOrigin-RevId: 581049412
2023-11-09 15:58:06 -08:00
Sebastian Schmidt
edca85c5d3 Create shared utilities to construct category lists
PiperOrigin-RevId: 581009898
2023-11-09 13:38:21 -08:00
MediaPipe Team
6532ce5c59 Refactor OpenCV path out of TensorsToSegmentationCalculator main file.
ProcessCpu() is changed into an OpenCV converter that is owned by the calculator. The calculator should call converter.Convert() to get the conversion result.

PiperOrigin-RevId: 580937591
2023-11-09 09:45:10 -08:00
MediaPipe Team
a9a169372a Fixes multiple typos in the calculator's internal files.
PiperOrigin-RevId: 580907788
2023-11-09 08:02:54 -08:00
MediaPipe Team
7c5c216652 Exposes a handle to AHardwareBuffers through a new GpuBuffer view
PiperOrigin-RevId: 580754933
2023-11-08 20:06:35 -08:00
MediaPipe Team
252c7eef25 Add option to omit the checkpoint callback in text classifier.
PiperOrigin-RevId: 580658724
2023-11-08 14:30:00 -08:00
Youchuan Hu
ae606c1550 Refactor OpenCV path out of TensorsToSegmentationCalculator main file.
ProcessCpu() is changed into an OpenCV converter that is owned by the calculator. The calculator should call converter.Convert() to get the conversion result.

PiperOrigin-RevId: 580625461
2023-11-08 12:53:52 -08:00
Copybara-Service
d4d30768be Merge pull request #4943 from kinaryml:c-image-embedder-api
PiperOrigin-RevId: 580618718
2023-11-08 12:35:05 -08:00
MediaPipe Team
000314a545 No public description
PiperOrigin-RevId: 580614241
2023-11-08 12:17:12 -08:00
Copybara-Service
65e74dde0f Merge pull request #4940 from priankakariatyml:ios-pose-landmarker-implementation
PiperOrigin-RevId: 580578919
2023-11-08 10:39:24 -08:00
Copybara-Service
8d4407b04e Merge pull request #4941 from priankakariatyml:ios-language-detector-tests
PiperOrigin-RevId: 580577290
2023-11-08 10:34:06 -08:00
MediaPipe Team
81a07e2e32 No public description
PiperOrigin-RevId: 580504831
2023-11-08 05:53:54 -08:00
MediaPipe Team
6ea6f28250 Creates GpuBuffers around pre-allocated AHardware_Buffer objects.
PiperOrigin-RevId: 580358465
2023-11-07 18:01:37 -08:00
Kinar
c442d6117e Resolved issues and added a common header to hold all the necessary structures for the vision tasks 2023-11-07 14:23:15 -08:00
MediaPipe Team
c375761480 No public description
PiperOrigin-RevId: 580292393
2023-11-07 14:02:30 -08:00
Sebastian Schmidt
8d370f4f5b Remove const from input types of C API
PiperOrigin-RevId: 580217902
2023-11-07 10:08:51 -08:00
Kinar
197358dfee Drop default arguments in Image Embedder C API 2023-11-07 07:34:08 -08:00
Kinar
60fcfa74cc Fixed some typos in the error message 2023-11-07 07:26:57 -08:00
Kinar
b0725b46fb Fixed merge conflicts 2023-11-07 07:12:58 -08:00
Kinar R
42a916ad4f
Merge branch 'master' into c-image-embedder-api 2023-11-07 20:37:09 +05:30
Kinar
d9080c0d38 Updated the Image Embedder C API and added tests for cosine similarity 2023-11-07 07:02:08 -08:00
Prianka Liz Kariat
9d9a5dc5e7 Added iOS language detector tests 2023-11-07 11:15:01 +05:30
Prianka Liz Kariat
b5b0d6eee7 Fixed graph name in iOS language detector 2023-11-07 11:13:25 +05:30
Prianka Liz Kariat
32571a37d2 Added pose landmarker protobuf utils 2023-11-07 09:49:53 +05:30
Prianka Liz Kariat
91095c2d6a Added null check for segmentation masks in pose landmarker helper initializer 2023-11-07 09:49:42 +05:30
Prianka Liz Kariat
1d0f3734b4 Added iOS MPPPoseLandmarker.mm 2023-11-07 09:46:39 +05:30
Sebastian Schmidt
2abaabce0e Drop default arguments in C API
PiperOrigin-RevId: 579965820
2023-11-06 14:55:41 -08:00
MediaPipe Team
a8d88bf7cf Creates GpuBuffers around pre-allocated AHardware_Buffer objects.
PiperOrigin-RevId: 579961642
2023-11-06 14:42:13 -08:00
Sebastian Schmidt
077b52250d Pass Model Asset Buffer as byte array + length
PiperOrigin-RevId: 579944283
2023-11-06 13:42:40 -08:00
Kinar R
3b122a1e61
Merge branch 'google:master' into c-image-embedder-api 2023-11-07 02:00:23 +05:30
MediaPipe Team
5f0d24d741 Fixes typo in GlCalculatorHelper::UpdateContract argument name
PiperOrigin-RevId: 579832146
2023-11-06 07:08:33 -08:00
MediaPipe Team
0b53c9752f Fixes multiple typos in the calculator's internal files.
PiperOrigin-RevId: 579718764
2023-11-05 20:49:16 -08:00
MediaPipe Team
e22b7d5dd4 Example updated for mp.Image in documentation
PiperOrigin-RevId: 579277510
2023-11-03 12:58:47 -07:00
Sebastian Schmidt
1c46e43088 Update WASM files for 0.10.8 relese
PiperOrigin-RevId: 579032432
2023-11-02 18:00:54 -07:00
Sebastian Schmidt
8f564c4b7b Allow OffscreenCanvas to be used by DrawingUtils
PiperOrigin-RevId: 579021013
2023-11-02 17:03:07 -07:00
Copybara-Service
1cc79001f4 Merge pull request #4904 from priankakariatyml:ios-image-segmenter-cocoapods-build
PiperOrigin-RevId: 578993411
2023-11-02 15:24:59 -07:00
Copybara-Service
1b8a0ee6af Merge pull request #4900 from priankakariatyml:ios-pose-landmarker-impl
PiperOrigin-RevId: 578991151
2023-11-02 15:23:04 -07:00
Copybara-Service
35b9453da4 Merge pull request #4924 from google:mrschmidt/gpu
PiperOrigin-RevId: 578991016
2023-11-02 15:18:10 -07:00
Copybara-Service
b4ce39cbf7 Merge pull request #4905 from priankakariatyml:ios-image-utils-fix
PiperOrigin-RevId: 578990990
2023-11-02 15:15:58 -07:00
Copybara-Service
35010894c1 Merge pull request #4901 from priankakariatyml:ios-language-detector
PiperOrigin-RevId: 578990815
2023-11-02 15:10:37 -07:00
MediaPipe Team
9018ca699b Creates GpuBuffers around pre-allocated AHardware_Buffer objects.
PiperOrigin-RevId: 578850184
2023-11-02 07:46:51 -07:00
MediaPipe Team
f8197651e8 Add AT_FIRST_TICK processing to SidePacketToStreamCalculator.
PiperOrigin-RevId: 578824863
2023-11-02 05:58:35 -07:00