Sebastian Schmidt
ccd1461add
Don't error in ExternalFile handler on Windows if FileContent is provided
...
PiperOrigin-RevId: 504069137
2023-01-23 13:38:41 -08:00
MediaPipe Team
69d354fc89
Use c++ struct as hand landmark detection results.
...
PiperOrigin-RevId: 504048095
2023-01-23 12:12:09 -08:00
Nikolay Chirkov
1124569c29
Tensor: Make tensor not requiring "-x objective-c++" option.
...
In this case tensor.h is compiled differently for C++ and Objective-C++ that violates ODR (once definition rule). Tensor has no virtual methods conditionally compiled but some Metal-related data members. Instead, unique_ptr to MtlResources that is declared as forward structure is unconditionally defined in the tensor class. MtlResources is defined differently in cc-file only that compiled just once per project so no ODR violation is here.
PiperOrigin-RevId: 504029286
2023-01-23 11:00:35 -08:00
Jiuqiang Tang
7a4b450c50
Resolve the error "call to 'abs' is ambiguous".
...
PiperOrigin-RevId: 502630518
2023-01-17 10:53:14 -08:00
Copybara-Service
4e19a5a0dc
Merge pull request #3988 from priankakariatyml:ios-text-classifier-impl
...
PiperOrigin-RevId: 501739316
2023-01-12 20:25:02 -08:00
Jiuqiang Tang
8156da3418
ClassificationAggregationCalculator should fill in the timestamp_ms
field of the classification results in the stream mode.
...
Per user feedback, the consistency between the packet timestamp and the timestamp field of the classification result helps reducing the confusion.
PiperOrigin-RevId: 501657922
2023-01-12 13:54:55 -08:00
Jiuqiang Tang
5c74ed2ae5
EmbeddingAggregationCalculator should fill in the timestamp_ms
field of the embedding results in the stream mode.
...
Per user feedback, the consistency between the packet timestamp and the timestamp field of the embedding result helps reducing the confusion.
PiperOrigin-RevId: 501572379
2023-01-12 08:30:07 -08:00
Sebastian Schmidt
9055effddd
Add ImageProcessingOptions to all Vision Tasks
...
PiperOrigin-RevId: 500323261
2023-01-06 20:57:39 -08:00
Sebastian Schmidt
9252a025e5
Use custom gesture options in GestureRecognizer
...
PiperOrigin-RevId: 498567432
2022-12-30 05:01:02 -08:00
Sebastian Schmidt
fb21797611
Internal change
...
PiperOrigin-RevId: 494914168
2022-12-12 21:30:31 -08:00
Sebastian Schmidt
9ae2e43b70
Open Source the remaining MediaPipe Tasks tests for Web
...
PiperOrigin-RevId: 493769657
2022-12-07 19:19:27 -08:00
MediaPipe Team
700c7b4b22
Internal refactoring for TextEmbedder.
...
PiperOrigin-RevId: 493766612
2022-12-07 18:56:27 -08:00
MediaPipe Team
a0efcb47f2
internal change
...
PiperOrigin-RevId: 493742399
2022-12-07 16:38:42 -08:00
MediaPipe Team
a59f0a9924
Make java/C++/python tasks API public visible.
...
PiperOrigin-RevId: 493730506
2022-12-07 15:51:04 -08:00
MediaPipe Team
91664eb254
Object Detector deduplication
...
PiperOrigin-RevId: 493716159
2022-12-07 14:54:30 -08:00
Jiuqiang Tang
ef1507ed5d
Retire the visibility group "//mediapipe/framework:mediapipe_internal".
...
PiperOrigin-RevId: 493713823
2022-12-07 14:45:49 -08:00
Jiuqiang Tang
3c0ddf16b4
Fix an incorrect model sanity check in the object detector graph.
...
PiperOrigin-RevId: 493663592
2022-12-07 11:38:54 -08:00
Jiuqiang Tang
6deef1a5f1
Allow specifying tag_suffix in the templated CreateModelResources method.
...
PiperOrigin-RevId: 493375701
2022-12-06 12:10:06 -08:00
MediaPipe Team
af43687f2e
Open-sources a unit test.
...
PiperOrigin-RevId: 493184055
2022-12-05 20:11:07 -08:00
MediaPipe Team
3174b20fbe
Move segmentation calculator and options out of 'components' folder.
...
PiperOrigin-RevId: 493157929
2022-12-05 17:37:49 -08:00
Jiuqiang Tang
1e76d47a71
Checks if a custom global resource provider is used as the first step of loading the model resources on all platforms.
...
PiperOrigin-RevId: 493141519
2022-12-05 16:20:20 -08:00
Jiuqiang Tang
ead41132a8
Load model file content from model file path with the help of GetResourceContents in browsers.
...
This can handle the model files that are provided via a custom ResourceProviderFn.
PiperOrigin-RevId: 492308453
2022-12-01 15:03:57 -08:00
Jiuqiang Tang
3ee37800e2
Depending on "inference_calculator_cpu" when the mediapipe tasks can only support cpu inference.
...
PiperOrigin-RevId: 492205954
2022-12-01 08:43:30 -08:00
Sebastian Schmidt
342f95fa20
Typo fix
...
PiperOrigin-RevId: 491434987
2022-11-28 13:54:09 -08:00
MediaPipe Team
c48ca1f674
internal change
...
PiperOrigin-RevId: 491429214
2022-11-28 13:33:57 -08:00
MediaPipe Team
bfa57310c4
Move TextPreprocessing to "processors" folder.
...
PiperOrigin-RevId: 490532670
2022-11-23 10:19:45 -08:00
MediaPipe Team
b5189758f7
Move ImagePreprocessing to "processors" folder.
...
PiperOrigin-RevId: 490444821
2022-11-23 02:08:37 -08:00
MediaPipe Team
7acbf557a1
Cleanup after migration to new classification output format.
...
PiperOrigin-RevId: 489921603
2022-11-21 01:57:05 -08:00
MediaPipe Team
6cf464636b
Internal change
...
PiperOrigin-RevId: 489842199
2022-11-20 14:26:22 -08:00
Sebastian Schmidt
71ae496a20
Add AudioEmbedder documentation
...
PiperOrigin-RevId: 489532283
2022-11-18 12:12:41 -08:00
MediaPipe Team
e2052a6a51
Rename embedding postprocessor "configure" method for consistency with classification postprocessor.
...
PiperOrigin-RevId: 489518257
2022-11-18 11:13:10 -08:00
MediaPipe Team
03d388fecf
Add hand landmark named index constants
...
PiperOrigin-RevId: 489498248
2022-11-18 09:52:44 -08:00
MediaPipe Team
dc9578d226
Internal change
...
PiperOrigin-RevId: 488946809
2022-11-16 08:30:20 -08:00
MediaPipe Team
ebba119f15
Add Java ImageEmbedder API.
...
PiperOrigin-RevId: 488588010
2022-11-15 01:26:00 -08:00
Jiuqiang Tang
b4fba6fe61
MediaPipe Tasks AudioEmbedder Java API
...
PiperOrigin-RevId: 488456442
2022-11-14 13:42:55 -08:00
MediaPipe Team
34daba4747
Add Java TextEmbedder API.
...
PiperOrigin-RevId: 488427327
2022-11-14 11:49:56 -08:00
Jiuqiang Tang
6c0ca947de
MediaPipe Tasks Audio embedder C++ API.
...
PiperOrigin-RevId: 488273381
2022-11-13 23:10:23 -08:00
Jiuqiang Tang
f329e38dc1
Map the "com_github_glog_glog" dependency of "com_google_sentencepiece" to mediapipe's "com_github_glog_glog_no_gflags".
...
PiperOrigin-RevId: 487727239
2022-11-10 22:12:42 -08:00
MediaPipe Team
b4972ed4ae
Update GestureRecognitionResult to GestureRecognizerResult.
...
PiperOrigin-RevId: 487712873
2022-11-10 20:25:31 -08:00
MediaPipe Team
2ea5184c51
Internal change
...
PiperOrigin-RevId: 487663454
2022-11-10 16:04:22 -08:00
Jiuqiang Tang
da4d455d0c
Implement MediaPipe Tasks AudioClassifier Java API.
...
PiperOrigin-RevId: 487570148
2022-11-10 10:10:03 -08:00
MediaPipe Team
0ac604d507
Add timestamp aggregation to EmbeddingPostprocessingGraph.
...
PiperOrigin-RevId: 487463848
2022-11-10 01:20:45 -08:00
MediaPipe Team
f11c757629
Update C++ HandLandmarksDetectionResult to HandLandmarkerResult.
...
PiperOrigin-RevId: 487443827
2022-11-09 23:20:15 -08:00
MediaPipe Team
0363d60511
Open-sources TextEmbedder.
...
PiperOrigin-RevId: 487041832
2022-11-08 13:48:49 -08:00
MediaPipe Team
1049ef781d
Add image_segmenter namespace and update image segmenter proto for java package.
...
PiperOrigin-RevId: 486792164
2022-11-07 16:24:16 -08:00
MediaPipe Team
6f38a7a21f
Add hand landmarker C++ api.
...
PiperOrigin-RevId: 486791711
2022-11-07 16:17:42 -08:00
Jiuqiang Tang
63a759accc
Implement MediaPipe AudioClassifier Tasks Python API. Adjust the AudioClassifier Tasks C++ API to remove "sample_rate" from its options.
...
PiperOrigin-RevId: 486763992
2022-11-07 14:28:14 -08:00
Jiuqiang Tang
9f4496db77
Fix typos
...
PiperOrigin-RevId: 486698923
2022-11-07 10:24:17 -08:00
Jiuqiang Tang
416f91180b
Remove the use of designated initializers.
...
PiperOrigin-RevId: 486261384
2022-11-04 16:57:21 -07:00
Jiuqiang Tang
c10ebe8476
Remove the use of designated initializers.
...
PiperOrigin-RevId: 486215798
2022-11-04 13:24:48 -07:00
MediaPipe Team
5e1a2fcdbb
Update EmbeddingResult format and dependent tasks.
...
PiperOrigin-RevId: 486186491
2022-11-04 11:20:07 -07:00
Jiuqiang Tang
66e591d4bc
Remove the use of designated initializers.
...
PiperOrigin-RevId: 486185274
2022-11-04 11:15:20 -07:00
MediaPipe Team
8b2c937b9e
Migrate AudioClassifier C++ to use new ClassificationResult struct.
...
PiperOrigin-RevId: 486162683
2022-11-04 09:46:09 -07:00
MediaPipe Team
62cd67e996
Internal change
...
PiperOrigin-RevId: 486148328
2022-11-04 08:42:39 -07:00
MediaPipe Team
d61ab92b90
Add classification result structs and use then in ImageClassifier & TextClassifier.
...
PiperOrigin-RevId: 485567133
2022-11-02 05:13:12 -07:00
MediaPipe Team
aab5f84aae
Internal change
...
PiperOrigin-RevId: 485553891
2022-11-02 03:49:48 -07:00
MediaPipe Team
475e6b4fd5
Modify ClassificationAggregationCalculator to output new unified formats.
...
PiperOrigin-RevId: 485546547
2022-11-02 03:11:20 -07:00
MediaPipe Team
9f8b5e5c11
Add allow_list/deny_list to gesture recognizer options.
...
PiperOrigin-RevId: 485141209
2022-10-31 13:57:06 -07:00
MediaPipe Team
be13a76928
Integrate canned and custom gesture classifier.
...
PiperOrigin-RevId: 484914164
2022-10-30 15:36:09 -07:00
MediaPipe Team
fc1d75cc99
Add CombinedPredictionCalculator.
...
PiperOrigin-RevId: 484301880
2022-10-27 11:16:12 -07:00
MediaPipe Team
254f786624
Add an option to set image preprocessing backend as gpu.
...
PiperOrigin-RevId: 483888202
2022-10-26 00:46:19 -07:00
MediaPipe Team
21abfc9125
Update gpu origin.
...
PiperOrigin-RevId: 483742652
2022-10-25 12:14:28 -07:00
Jiuqiang Tang
2cf9523468
Fix the java_package name.
...
PiperOrigin-RevId: 483428848
2022-10-24 10:55:16 -07:00
MediaPipe Team
2f2baeff68
Add support for rotation in ImageEmbedder & ImageSegmenter C++ APIs
...
PiperOrigin-RevId: 483416498
2022-10-24 10:14:05 -07:00
MediaPipe Team
0fd69e8d83
Open-source some tokenizer unit tests.
...
PiperOrigin-RevId: 483399326
2022-10-24 09:12:52 -07:00
MediaPipe Team
d8006a2f87
Use model bundle for gesture recognizer.
...
PiperOrigin-RevId: 482960305
2022-10-21 21:54:34 -07:00
MediaPipe Team
7196db275e
Internal change
...
PiperOrigin-RevId: 482925717
2022-10-21 17:28:49 -07:00
MediaPipe Team
ea1d85d811
Update model_task_graph to support multiple local model resources.
...
PiperOrigin-RevId: 482917453
2022-10-21 16:42:58 -07:00
MediaPipe Team
4a6c23a76a
Internal change
...
PiperOrigin-RevId: 482906478
2022-10-21 15:48:54 -07:00
Sebastian Schmidt
fe77c5489f
Fix comments in GestureRecognizer
...
PiperOrigin-RevId: 482854253
2022-10-21 12:09:36 -07:00
MediaPipe Team
4b5df1cb96
Add support for rotations in GestureRecognizer C++ API.
...
PiperOrigin-RevId: 482533599
2022-10-20 10:42:42 -07:00
MediaPipe Team
41d6f6d005
Adds a Java API for TextClassifier.
...
PiperOrigin-RevId: 482394706
2022-10-19 23:05:34 -07:00
MediaPipe Team
c260074abb
Rename "Bound" struct to "Rect" and remove unused "Landmark" struct.
...
PiperOrigin-RevId: 482255889
2022-10-19 11:22:56 -07:00
MediaPipe Team
70df9e2419
Open-source the TextClassifier C++ API.
...
PiperOrigin-RevId: 482218721
2022-10-19 09:03:29 -07:00
MediaPipe Team
cfd5a20618
Open-sources the TextPreprocessingSubgraph.
...
PiperOrigin-RevId: 482048438
2022-10-18 16:14:33 -07:00
Yuqi Li
bc47589c9b
Add model bundle in hand landmark task.
...
PiperOrigin-RevId: 481960266
2022-10-18 10:38:43 -07:00
MediaPipe Team
ba93bab286
Fix ObjectDetector C++ flow limiter and improve documentation.
...
PiperOrigin-RevId: 481774191
2022-10-17 16:57:38 -07:00
Jiuqiang Tang
2def7c8203
Add ".proto" suffix to gesture recognizer and object detector proto java package name. This aligns with the convention of image classifier and tasks core protos.
...
PiperOrigin-RevId: 481451842
2022-10-16 03:43:21 -07:00
Yuqi Li
eb52b72707
Internal change
...
PiperOrigin-RevId: 481255129
2022-10-14 16:13:13 -07:00
MediaPipe Team
42543f7ad6
Internal change
...
PiperOrigin-RevId: 481227358
2022-10-14 14:01:11 -07:00
MediaPipe Team
6f3e8381ed
Add support for rotation in ObjectDetector C++ API
...
PiperOrigin-RevId: 481167472
2022-10-14 09:47:54 -07:00
MediaPipe Team
9353ed6cce
Java gesture recognizer Tasks API and unit test.
...
PiperOrigin-RevId: 480978244
2022-10-13 14:06:23 -07:00
MediaPipe Team
12c323ffde
Exports gesture recognizer related proto as Java package.
...
PiperOrigin-RevId: 480735444
2022-10-12 15:41:31 -07:00
MediaPipe Team
ae4b2ae577
Add support for input image rotation in ImageClassifier.
...
PiperOrigin-RevId: 480676070
2022-10-12 11:35:20 -07:00
MediaPipe Team
64deb791dc
Fix empty packet bug with no hands detected.
...
PiperOrigin-RevId: 480469392
2022-10-11 15:38:43 -07:00
MediaPipe Team
1ab332835a
Add a string-to-bool test model to TextClassifier.
...
PiperOrigin-RevId: 479803799
2022-10-08 09:44:08 -07:00
MediaPipe Team
08ae99688c
Java result class for gesture recognizer Tasks API.
...
PiperOrigin-RevId: 479731746
2022-10-07 22:02:07 -07:00
MediaPipe Team
635dc0a24e
Internal change
...
PiperOrigin-RevId: 479724318
2022-10-07 20:44:07 -07:00
Yuqi Li
65e1d722eb
Update external files to support file_pointer_meta.
...
PiperOrigin-RevId: 479695361
2022-10-07 16:46:24 -07:00
MediaPipe Team
b616bc4427
Migrate landmarks deduplication to mediapipe tasks.
...
PiperOrigin-RevId: 479681836
2022-10-07 15:34:30 -07:00
MediaPipe Team
d90daa859f
Internal change
...
PiperOrigin-RevId: 479544054
2022-10-07 04:09:01 -07:00
MediaPipe Team
65d001c6a0
Change gesture classification output type to ClassificationList.
...
PiperOrigin-RevId: 479441969
2022-10-06 16:38:07 -07:00
Yuqi Li
f49fb9ad57
move unzip logits from metadata_extractor to zip_utils.
...
PiperOrigin-RevId: 479346238
2022-10-06 10:20:46 -07:00
MediaPipe Team
b72219f1e5
Internal change
...
PiperOrigin-RevId: 479235176
2022-10-05 23:56:30 -07:00
Yuqi Li
42978d3e69
MediaPipe MedataExtractor: use absl::Cleanup for unzClose / unzCloseCurrentFile.
...
PiperOrigin-RevId: 479211019
2022-10-05 20:42:48 -07:00
MediaPipe Team
d3b66ba253
Update Gesture Recognizer Graph Options protos.
...
PiperOrigin-RevId: 479141569
2022-10-05 14:21:46 -07:00
MediaPipe Team
668f711b71
Internal change
...
PiperOrigin-RevId: 479121567
2022-10-05 13:05:05 -07:00
MediaPipe Team
ab67293869
Internal change
...
PiperOrigin-RevId: 478900121
2022-10-04 15:41:07 -07:00
Jiuqiang Tang
14eb6fe622
Ensure that the REGISTER_DRISHTI_GRAPH argument is fit on one line in the OSS version.
...
PiperOrigin-RevId: 478729958
2022-10-04 02:33:31 -07:00
MediaPipe Team
25e424baaf
Rename hand landmarker related graphs.
...
PiperOrigin-RevId: 478706652
2022-10-04 00:24:14 -07:00
MediaPipe Team
2cb9ebb5e3
Rename HandGestureRecognizer to GestureRecognizer and update namespace for Tasks C++ conventions.
...
PiperOrigin-RevId: 478700907
2022-10-03 23:44:32 -07:00
MediaPipe Team
cfd0f3e79f
Add HandLandmarkerGraph which connect HandDetectorGraph and HandLandmarkerSubgraph with landmarks tracking.
...
PiperOrigin-RevId: 478596004
2022-10-03 13:53:39 -07:00
MediaPipe Team
03c8ac3641
Refactor ClassificationResult and ClassificationPostprocessing.
...
PiperOrigin-RevId: 478444264
2022-10-03 02:00:06 -07:00
MediaPipe Team
a3dc91fafe
Internal change
...
PiperOrigin-RevId: 478093259
2022-09-30 15:37:11 -07:00
MediaPipe Team
46a5117c6d
Add gate utility functions.
...
PiperOrigin-RevId: 478026407
2022-09-30 20:50:18 +00:00
MediaPipe Team
3a3a470a0c
Move hand_association_calculator to open source MP
...
PiperOrigin-RevId: 477901001
2022-09-30 15:43:38 +00:00
MediaPipe Team
382158298b
Update default Tflite model OpResolver in BaseOptions.
...
PiperOrigin-RevId: 477873299
2022-09-30 15:42:26 +00:00
MediaPipe Team
a8ca669f05
Refactor classifiers public APIs for namespace and naming consistency.
...
PiperOrigin-RevId: 477705647
2022-09-29 06:05:40 -07:00
MediaPipe Team
f8af41b1eb
Internal change
...
PiperOrigin-RevId: 477538515
2022-09-28 21:32:36 +00:00
MediaPipe Team
06c30f1931
Project import generated by Copybara.
...
GitOrigin-RevId: ca9878d6e9c5beb87512e7536b200c55d150ede8
2022-09-08 19:08:07 +00:00
MediaPipe Team
ebec590cfe
Project import generated by Copybara.
...
GitOrigin-RevId: e207bb2a1b26cd799055d7735ed35ad2f0e56b83
2022-09-07 20:55:41 +00:00
MediaPipe Team
d3f98334bf
Project import generated by Copybara.
...
GitOrigin-RevId: 3ce19771d2586aeb611fff75bb7627721cf5d36b
2022-09-07 17:47:04 +00:00
MediaPipe Team
4dc4b19ddb
Project import generated by Copybara.
...
GitOrigin-RevId: 1e13be30e2c6838d4a2ff768a39c414bc80534bb
2022-09-06 21:46:17 +00:00