mediapipe/mediapipe/tasks
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
..
cc Tensor: Make tensor not requiring "-x objective-c++" option. 2023-01-23 11:00:35 -08:00
examples/android Add support for image rotation in Java vision tasks. 2022-10-24 15:01:23 -07:00
ios Merge pull request #3995 from priankakariatyml:ios-text-classifier-tests 2023-01-19 12:59:49 -08:00
java Merge classificationResultList() and classificationResult() to be classificationResults(), and similar for embeddingResults(). 2023-01-17 09:06:49 -08:00
javatests Separate web and java api landmark and world landmark to two classes. This makes the platforms interface consistent. 2022-12-01 16:49:47 -08:00
metadata Migrate base metadata functionality like MetadataPopulator and MetadataDisplayer class into MediaPipe. 2022-10-01 21:52:04 -07:00
python Fix load_metadata_buffer for empty metadata 2023-01-18 07:28:42 -08:00
testdata Simplify default options for GestureRecognize 2023-01-09 09:18:08 -08:00
web Fix comments 2023-01-19 10:08:44 -08:00
__init__.py Project import generated by Copybara. 2022-09-06 21:46:17 +00:00
BUILD Internal change 2022-11-20 14:26:22 -08:00