Sebastian Schmidt
7013b23785
No public description
...
PiperOrigin-RevId: 586813896
2023-11-30 16:06:16 -08:00
Sebastian Schmidt
3433ba083a
Move LanguageDetectorResult converter to LanguageDetector task
...
PiperOrigin-RevId: 586812754
2023-11-30 16:01:14 -08:00
Copybara-Service
80e4e1599a
Merge pull request #4972 from priankakariatyml:ios-pose-landmarker-implementation
...
PiperOrigin-RevId: 586811420
2023-11-30 15:53:32 -08:00
Sebastian Schmidt
2b53891a7c
Add lib targets for all C vision tasks
...
PiperOrigin-RevId: 586805240
2023-11-30 15:37:35 -08:00
Copybara-Service
7d73a3e1fd
Merge pull request #4993 from kinaryml:c-landmarker-apis
...
PiperOrigin-RevId: 586804764
2023-11-30 15:32:12 -08:00
Sebastian Schmidt
e5c7ebec12
Add libtext and libvision build rules
...
PiperOrigin-RevId: 586804071
2023-11-30 15:27:19 -08:00
Copybara-Service
53cd40cdd0
Merge pull request #4995 from priankakariatyml:ios-interactive-segmenter-containers
...
PiperOrigin-RevId: 586779717
2023-11-30 14:05:42 -08:00
Kinar
9a5aa1b360
Refactor GestureRecognizerResult conversion for default initialization
2023-11-30 09:13:10 -08:00
Prianka Liz Kariat
90622475a2
Added iOS interactive segmenter header
2023-11-30 02:32:08 +05:30
Prianka Liz Kariat
f5ac0637a2
Updated iOS vision/core to add methods for processing region of interest
2023-11-30 02:31:48 +05:30
Prianka Liz Kariat
4c02980b3f
Added iOS region of interest helpers
2023-11-30 02:31:11 +05:30
Prianka Liz Kariat
4137dbcbf5
Added iOS region of interest
2023-11-30 02:30:42 +05:30
Prianka Liz Kariat
3532503354
Added iOS interactive segmenter options
2023-11-30 02:05:23 +05:30
Copybara-Service
bb4906bcd3
Merge pull request #4966 from kinaryml:python-vision-benchmark-scripts
...
PiperOrigin-RevId: 586349225
2023-11-29 08:27:59 -08:00
Kinar
d19d5a50be
Added FreeMemory test for GestureRecognizerResult
2023-11-29 03:17:35 -08:00
Kinar R
6ed5e3d0df
Merge branch 'master' into c-landmarker-apis
2023-11-29 16:41:12 +05:30
Kinar
3c655e2334
Revised Gesture Recognizer API implementation and associated tests
2023-11-29 03:08:09 -08:00
MediaPipe Team
91589b10d3
internal change.
...
PiperOrigin-RevId: 586156439
2023-11-28 18:07:30 -08:00
Sebastian Schmidt
62bafd39bb
HolisticLandmarker Java API
...
PiperOrigin-RevId: 586113048
2023-11-28 15:00:54 -08:00
Sebastian Schmidt
a898215c52
Holistic Landmarker C++ Graph
...
PiperOrigin-RevId: 586105983
2023-11-28 14:36:19 -08:00
MediaPipe Team
95601ff98b
Remove internal logs.
...
PiperOrigin-RevId: 585782033
2023-11-27 15:51:21 -08:00
Copybara-Service
6fa9848a15
Merge pull request #4978 from amacsmith:master
...
PiperOrigin-RevId: 585775506
2023-11-27 15:25:00 -08:00
Copybara-Service
090e74a0aa
Merge pull request #4964 from kinaryml:c-object-detector-api
...
PiperOrigin-RevId: 585765946
2023-11-27 14:51:35 -08:00
MediaPipe Team
1ff7e95295
No public description
...
PiperOrigin-RevId: 585719403
2023-11-27 12:01:38 -08:00
Sebastian Schmidt
8d57a9e2e8
Add missing export declarations to DrawingUtils
...
Fixes https://github.com/google/mediapipe/issues/4980
PiperOrigin-RevId: 585705106
2023-11-27 11:16:23 -08:00
Kinar
17c0c960be
Added Gesture Recognizer C API and tests
2023-11-27 04:51:32 -08:00
Alex Macdonald-Smith
5ca859f90b
Updated mediapipe/mediapipe/tasks/web /vision/README.md
...
There was a typo in the url referencing Gesture Recognizer
```
const gestureRecognizer = await GestureRecognizer.createFromModelPath(vision,
"hhttps://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/1/gesture_recognizer.task "
);
```
changed to
```
const gestureRecognizer = await GestureRecognizer.createFromModelPath(vision,
"https://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/1/gesture_recognizer.task "
);
```
The extra 'h' was dropped.
Let me know if there are anymore updates needed for this.
2023-11-21 16:03:57 -05:00
Tony Allevato
e7edd97eff
Internal change.
...
PiperOrigin-RevId: 584399894
2023-11-21 12:33:58 -08:00
MediaPipe Team
0d298d7a67
No public description
...
PiperOrigin-RevId: 584349220
2023-11-21 09:39:09 -08:00
Prianka Liz Kariat
447f9cc452
Fixed formatting of MPPPoseLandmarkerTests.mm
2023-11-20 22:37:43 +05:30
Prianka Liz Kariat
972e3d81c0
Added iOS Objective C Pose Landmarker Tests
2023-11-20 22:33:58 +05:30
Matt Kreileder
d8fd986517
No public description
...
PiperOrigin-RevId: 583973946
2023-11-20 03:32:39 -08:00
MediaPipe Team
5cd3037443
Adding a GpuTestWithParamBase test class to support value parameterized tests
...
PiperOrigin-RevId: 583967017
2023-11-20 03:02:22 -08:00
MediaPipe Team
bd4be30b02
No public description
...
PiperOrigin-RevId: 583936442
2023-11-20 00:59:42 -08:00
MediaPipe Team
42d42a5ea1
Ensure that releaseGl() is called if prepapreGl throws
...
Without this logic, we might have resources created within prepareGl() leaking, since they will never be released.
PiperOrigin-RevId: 583491569
2023-11-17 14:52:34 -08:00
Sebastian Schmidt
d29ea119ff
Add the result class for the HolisticLandmarker Java API
...
PiperOrigin-RevId: 583426528
2023-11-17 10:29:42 -08:00
Sebastian Schmidt
9456c64830
No public description
...
PiperOrigin-RevId: 583417701
2023-11-17 10:02:53 -08:00
Kinar
6bdc7ce016
Removed unused param
2023-11-16 16:39:21 -08:00
Kinar
46c6c9403c
Code cleanup and revised benchmarking API
2023-11-16 16:26:29 -08:00
MediaPipe Team
e7c7638833
No public description
...
PiperOrigin-RevId: 583186277
2023-11-16 15:38:42 -08:00
Kinar
8f32fda6d8
Added more benchmark scripts for the Tasks Python API
2023-11-16 12:53:36 -08:00
Kinar
b879e3a204
Updated components and their tests in the C Tasks API
2023-11-16 10:05:34 -08:00
Copybara-Service
7287056674
Merge pull request #4954 from kinaryml:python-image-classifier-bench
...
PiperOrigin-RevId: 583072872
2023-11-16 09:38:05 -08:00
MediaPipe Team
f13c6974ee
Extract CPU conversion methods into a separate library & add test
...
PiperOrigin-RevId: 582966041
2023-11-16 02:34:22 -08:00
Sebastian Schmidt
12340a8e82
Use gl.LINEAR interpolation for confidence masks
...
PiperOrigin-RevId: 582777383
2023-11-15 13:02:14 -08:00
Sebastian Schmidt
47e217896c
Add drawConfidenceMask() to our public API
...
PiperOrigin-RevId: 582647409
2023-11-15 06:12:12 -08:00
MediaPipe Team
e440a4da56
Explicitly delete some copy operations to improve compile errors.
...
PiperOrigin-RevId: 582595026
2023-11-15 02:23:05 -08:00
Kinar
252cca72e7
Allowed a default value for the model argument
2023-11-13 21:44:27 -08:00
Kinar
f8add5ad42
Documented the return value and added percentile to argparser
2023-11-13 21:17:28 -08:00
Youchuan Hu
71e9929f60
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: 582010350
2023-11-13 10:33:07 -08:00
Kinar
1c860cace6
Added files for the Object Detector C Tasks API
2023-11-13 09:53:37 -08:00
Sebastian Schmidt
d504d3bf22
Create shared utilities to construct landmark lists
...
PiperOrigin-RevId: 581970043
2023-11-13 08:24:19 -08:00
Kinar
38737849e6
Updated copyright
2023-11-11 03:34:57 -08:00
Kinar
99c8b9ee3c
Updated copyright
2023-11-11 03:34:26 -08:00
Kinar
021c7edde7
Updated README and script
2023-11-11 03:32:45 -08:00
Kinar
35f2f36733
Added image classifier benchmark
2023-11-11 03:25:36 -08:00
MediaPipe Team
939a9c2a37
No public description
...
PiperOrigin-RevId: 581469194
2023-11-10 23:59:21 -08:00
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
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