Commit Graph

2800 Commits

Author SHA1 Message Date
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
Kinar R
2af660321d
Merge branch 'google:master' into face-landmarker-python 2023-03-15 21:22:35 +05:30
Fergus Henderson
04ffb8432e Fix typo.
PiperOrigin-RevId: 516834369
2023-03-15 08:41:40 -07:00
Sebastian Schmidt
c8b56439af Fix typo
PiperOrigin-RevId: 516758040
2023-03-15 01:38:55 -07:00
Kinar R
647db21fc3
Merge branch 'google:master' into face-landmarker-python 2023-03-15 11:03:15 +05:30
kinaryml
d83f400b08 Updated API and tests 2023-03-14 22:32:39 -07:00
MediaPipe Team
f517eddce1 API for c++ ImageSegmenter to get labels
PiperOrigin-RevId: 516714139
2023-03-14 21:13:08 -07:00
MediaPipe Team
cafff14135 GeometryPipelineCalculator support single face landmarks input.
PiperOrigin-RevId: 516701488
2023-03-14 20:03:07 -07:00
MediaPipe Team
141cf843ae Add getLabels to ImageSegmeter Java API
PiperOrigin-RevId: 516683339
2023-03-14 18:04:33 -07:00
Yuqi Li
51d9640d88 Add metadata writer for image segmentation.
PiperOrigin-RevId: 516671364
2023-03-14 17:00:30 -07:00
MediaPipe Team
9a89b47572 Rename *ModelFile to *File for methods of ModelAssetBundleResources.
PiperOrigin-RevId: 516667461
2023-03-14 16:42:32 -07:00
Jiuqiang Tang
cd2cc971bb Registering FaceGeometry proto.
PiperOrigin-RevId: 516663848
2023-03-14 16:28:48 -07:00
Sebastian Schmidt
f60fe739d3 Internal change
PiperOrigin-RevId: 516656029
2023-03-14 15:57:01 -07:00
Sebastian Schmidt
3e952a5f1f Update Node version to 16.19.0
PiperOrigin-RevId: 516654979
2023-03-14 15:52:32 -07:00
Sebastian Schmidt
ec3cd45d61 Add InteractiveSegmenter Web API
PiperOrigin-RevId: 516654090
2023-03-14 15:48:38 -07:00
MediaPipe Team
6774794d02 Add the dataset module for face stylizer in model maker.
PiperOrigin-RevId: 516628350
2023-03-14 14:11:20 -07:00