MediaPipe Team
cb2ee87705
Internal change
...
PiperOrigin-RevId: 518591192
2023-03-22 09:34:23 -07:00
Jiuqiang Tang
21e0ff3d4e
Skip unnecessary cpu<->gpu conversion if the input and output are already on the same storage.
...
PiperOrigin-RevId: 518573284
2023-03-22 08:22:38 -07:00
MediaPipe Team
18b4caa7f3
Internal change
...
PiperOrigin-RevId: 518559368
2023-03-22 07:14:18 -07:00
Copybara-Service
5d2a719b54
Merge pull request #4027 from kinaryml:cosine-sim-python
...
PiperOrigin-RevId: 518431807
2023-03-21 17:59:48 -07:00
Sebastian Schmidt
788e8d8777
Fix crash when FaceLandmarker does not return a result
...
PiperOrigin-RevId: 518410060
2023-03-21 16:21:58 -07:00
Sebastian Schmidt
bbd21e9a6d
Add the FaceStylizer Web API
...
PiperOrigin-RevId: 518409812
2023-03-21 16:17:28 -07:00
Jiuqiang Tang
b71e1d14d3
Add missing dependency library targets to mediapipe_task_aar.
...
PiperOrigin-RevId: 518384666
2023-03-21 14:38:11 -07:00
Sebastian Schmidt
8bbf2621a4
Typo fix
...
PiperOrigin-RevId: 518380030
2023-03-21 14:31:49 -07:00
Sebastian Schmidt
a5fc1d4baf
Use Uint8ClampedArray for pixel output
...
PiperOrigin-RevId: 518362677
2023-03-21 13:22:10 -07:00
MediaPipe Team
7d26daf723
Make sure calling GraphTextureFrame::getTextureName()+::release() on a non-GL thread doesn't result in a crash.
...
PiperOrigin-RevId: 518359778
2023-03-21 13:12:03 -07:00
MediaPipe Team
88effb19e5
Add build variants for _gms to some MediaPipe libraries that use TFLite
...
This change alters some cc_library to cc_library_with_tflite to add _gms variants to some select MediaPipe libraries. This CL also makes minimal changes in the code to make the _gms variants buildable.
PiperOrigin-RevId: 518336242
2023-03-21 11:48:09 -07:00
Jiuqiang Tang
384f77b5c3
Fix the proto src file names.
...
PiperOrigin-RevId: 518332541
2023-03-21 11:34:39 -07:00
MediaPipe Team
c2a3e99545
Internal change
...
PiperOrigin-RevId: 518330697
2023-03-21 11:29:04 -07:00
MediaPipe Team
2be66e8eb0
Add interactive segmenter java API
...
PiperOrigin-RevId: 518303391
2023-03-21 09:59:19 -07:00
Copybara-Service
6e0542c16a
Merge pull request #4141 from priankakariatyml:ios-image-classifier-impl-files
...
PiperOrigin-RevId: 518138209
2023-03-20 19:05:37 -07:00
Jiuqiang Tang
5a924669b7
Temporarily disabling checking whether the executor is not set in a subgraph node. This is a workaround to allow the MediaPipe InferenceCalculator to have its own executor.
...
PiperOrigin-RevId: 518117759
2023-03-20 17:10:55 -07:00
Sebastian Schmidt
2651d30ebf
Add ImageData output to GraphRunner
...
PiperOrigin-RevId: 517994561
2023-03-20 09:46:27 -07:00
Copybara-Service
54e4dfc853
Merge pull request #4177 from kinaryml:face-landmarker-python
...
PiperOrigin-RevId: 517979421
2023-03-20 08:47:47 -07:00
MediaPipe Team
47fa1a9578
Internal change
...
PiperOrigin-RevId: 517886450
2023-03-20 00:25:47 -07:00
MediaPipe Team
524acaaaa7
internal change
...
PiperOrigin-RevId: 517823184
2023-03-19 16:07:32 -07:00
Jiuqiang Tang
f06e4224b8
Allow ModelResourcesCalculator to use file_pointer_meta.
...
PiperOrigin-RevId: 517742722
2023-03-19 01:33:52 -07:00
MediaPipe Team
2e5ea174fe
Internal change
...
PiperOrigin-RevId: 517597924
2023-03-18 00:29:59 -07:00
Jiuqiang Tang
6634d22161
Add LabelMapProto.java source code to MediaPipe AAR.
...
PiperOrigin-RevId: 517563190
2023-03-17 19:49:53 -07:00
Jiuqiang Tang
6785bcc47d
Add java_package
and java_outer_classname
to label_map.proto.
...
PiperOrigin-RevId: 517563000
2023-03-17 19:45:45 -07:00
Jiuqiang Tang
065f1f38aa
Fix the vision tasks aar build rule to solve the "cannot find symbol" error:
...
```
mediapipe/tasks/java/com/google/mediapipe/tasks/vision/imagesegmenter/ImageSegmenter.java:28: error: cannot find symbol
import com.google.mediapipe.tasks.TensorsToSegmentationCalculatorOptionsProto;
```
PiperOrigin-RevId: 517542284
2023-03-17 17:02:22 -07:00
Jiuqiang Tang
0805d61bfe
Add the source code TensorsToSegmentationCalculatorOptionsProto.java into tasks core's maven package.
...
PiperOrigin-RevId: 517516701
2023-03-17 15:01:33 -07:00
MediaPipe Team
3dede1a9a5
Add label_map filtering into filter_detection drishti calculator.
...
PiperOrigin-RevId: 517515046
2023-03-17 14:53:48 -07:00
MediaPipe Team
1a456dcbf9
Internal change
...
PiperOrigin-RevId: 517466009
2023-03-17 11:40:26 -07:00
MediaPipe Team
24217e2ead
Internal change
...
PiperOrigin-RevId: 517322105
2023-03-16 22:50:22 -07:00
kinaryml
1ba285d916
Updated a method name in face_landmarker_test.py
2023-03-16 15:10:39 -07:00
Sebastian Schmidt
75bc44d42a
Add a comment to macos_opencv so it can be easily replaced with sed
...
PiperOrigin-RevId: 517225588
2023-03-16 14:19:14 -07:00
MediaPipe Team
560945ad39
Internal Changes
...
PiperOrigin-RevId: 517219631
2023-03-16 13:58:02 -07:00
kinaryml
94dba82284
Renamed a test method to use the plural form
2023-03-16 12:54:38 -07:00
kinaryml
b36b0bb3e8
Updated API and tests
2023-03-16 12:51:19 -07:00
kinaryml
2753c79fde
Removed MatrixData dataclass and used NumPy to represent Matrix
2023-03-16 11:50:07 -07:00
MediaPipe Team
a9e956baa1
Add more details to the invoke call trace.
...
It is always useful information to know if the TPU invoke is Async or not, and if the GPU invoke on the old path or new path.
This can make it obvious in the perfetto trace.
PiperOrigin-RevId: 517162515
2023-03-16 10:37:32 -07:00
MediaPipe Team
3b66ac0623
Import the saved Keras models of BlazeFaceStylizer components into MediaPipe model maker.
...
PiperOrigin-RevId: 517044265
2023-03-16 00:44:06 -07:00
kinaryml
9aea1be6f9
Removed geometry pipeline calculator
2023-03-15 23:51:12 -07:00
Kinar R
15d90bd325
Merge branch 'master' into face-landmarker-python
2023-03-16 12:17:59 +05:30
Copybara-Service
d84ccbadad
Merge pull request #4158 from kinaryml:face-detector-python
...
PiperOrigin-RevId: 516970627
2023-03-15 17:13:37 -07:00
MediaPipe Team
8f1ce5fef6
Add quality test for InteractiveSegmenter
...
PiperOrigin-RevId: 516968294
2023-03-15 17:02:34 -07:00
MediaPipe Team
61bcddc671
Add Interactive Segmenter MediaPipe Task
...
PiperOrigin-RevId: 516954589
2023-03-15 16:05:18 -07:00
Sebastian Schmidt
43082482f8
Remove framework:Cocoa again
...
PiperOrigin-RevId: 516928735
2023-03-15 14:24:15 -07:00
MediaPipe Team
59962bed27
ImageSegmenterGraph set activation type from metadata, and remove the activation config in C++ ImageSegmenterOptions.
...
PiperOrigin-RevId: 516893115
2023-03-15 12:13:00 -07:00
MediaPipe Team
a323825134
Internal change
...
PiperOrigin-RevId: 516882513
2023-03-15 11:35:49 -07:00
MediaPipe Team
18d88c531a
Internal MediaPipe Tasks change.
...
PiperOrigin-RevId: 516881879
2023-03-15 11:30:58 -07:00
MediaPipe Team
ce3cd94f45
Internal change
...
PiperOrigin-RevId: 516871638
2023-03-15 10:56:32 -07:00
kinaryml
80dd764605
Removed dummy packet creation and preserved face_geometry protobuf import
2023-03-15 10:52:16 -07:00
kinaryml
4a6015e65c
Fixed some issues in the MatrixData container, revised the implementation and added more tests
2023-03-15 10:41:36 -07:00
kinaryml
06c37c6442
Updated mediapipe/python/BUILD and tests
2023-03-15 09:11:06 -07:00