Commit Graph

123 Commits

Author SHA1 Message Date
Yuqi Li
e428bdb7e8 internal change.
PiperOrigin-RevId: 529181374
2023-05-03 13:37:16 -07:00
MediaPipe Team
7c955246aa Support scribble input for Interactive Segmenter Java API
PiperOrigin-RevId: 529177660
2023-05-03 13:22:09 -07:00
MediaPipe Team
1dea01aecc Internal change
PiperOrigin-RevId: 528996603
2023-05-02 22:57:38 -07:00
MediaPipe Team
c698381e48 Internal change
PiperOrigin-RevId: 528939095
2023-05-02 18:05:31 -07:00
MediaPipe Team
2122b5d7be Internal change
PiperOrigin-RevId: 527430483
2023-04-26 18:17:56 -07:00
Jiuqiang Tang
3bc8276678 Remove "All Rights Reserved." in copyright headers.
PiperOrigin-RevId: 526982992
2023-04-25 09:06:29 -07:00
Jiuqiang Tang
6773188e26 Make FaceLandmarksConnections to be a public class.
PiperOrigin-RevId: 526667505
2023-04-24 09:34:14 -07:00
MediaPipe Team
411ffaeb43 Update Java interactive segmenter to output both confidence masks and category mask optionally.
PiperOrigin-RevId: 524442070
2023-04-14 19:45:27 -07:00
Jiuqiang Tang
e14a88052a Remove resizing and rotation from face stylizer's postprocessing step.
The resizing and rotation logic is useful when the pipeline needs to paste the stylized face image back to the original image. To only output the stylized face image, resizing and rotation may result to strange outputs.

PiperOrigin-RevId: 524441372
2023-04-14 19:37:52 -07:00
MediaPipe Team
dbeb5a8126 Add Pose Landmarker Java API
PiperOrigin-RevId: 524359521
2023-04-14 12:36:37 -07:00
Bekzhan Bekbolatuly
54d208aa5c Internal change
PiperOrigin-RevId: 524345939
2023-04-14 11:44:36 -07:00
Jiuqiang Tang
e6bb9e29c0 Internal change
PiperOrigin-RevId: 524317439
2023-04-14 10:01:01 -07:00
MediaPipe Team
9a10375de6 internal change
PiperOrigin-RevId: 523773255
2023-04-12 12:27:59 -07:00
MediaPipe Team
c036b9f408 Adds a LanguageDetector Java API.
PiperOrigin-RevId: 522895455
2023-04-08 22:31:28 -07:00
MediaPipe Team
7b067a1fda Add face landmarks connection for java API.
PiperOrigin-RevId: 522728488
2023-04-07 18:27:39 -07:00
MediaPipe Team
8d8ab9a972 Internal change
PiperOrigin-RevId: 522275233
2023-04-06 01:35:59 -07:00
MediaPipe Team
7ae4d0175a CL will fix the typos in the tasks files
PiperOrigin-RevId: 522240681
2023-04-05 21:42:19 -07:00
MediaPipe Team
9554836145 Update java image segmenter to always output confidence masks and optionally output category mask.
PiperOrigin-RevId: 521852718
2023-04-04 13:39:33 -07:00
MediaPipe Team
33cad24a5a Update java image segmenter to always output confidence masks and optionally output category mask.
PiperOrigin-RevId: 521804641
2023-04-04 10:41:59 -07:00
MediaPipe Team
4a490cd27c This CL fixes the multiple typos in the new task api solution
PiperOrigin-RevId: 521407588
2023-04-03 03:05:29 -07:00
Jiuqiang Tang
508c72ddc9 Internal changes
PiperOrigin-RevId: 520775988
2023-03-30 16:45:34 -07:00
Jiuqiang Tang
984073bf73 Fix the "'<>' with anonymous inner classes is not supported" error.
PiperOrigin-RevId: 520705926
2023-03-30 12:05:08 -07:00
MediaPipe Team
15d81576aa Change getLabels method to public
PiperOrigin-RevId: 520537239
2023-03-29 22:12:52 -07:00
Sebastian Schmidt
f9eb3defa0 Internal change
PiperOrigin-RevId: 520523622
2023-03-29 21:04:07 -07:00
MediaPipe Team
0c8f691a36 Internal changes
PiperOrigin-RevId: 520411557
2023-03-29 12:35:20 -07:00
Sebastian Schmidt
b3d999704f FaceStylizer Java API
PiperOrigin-RevId: 520344417
2023-03-29 08:37:50 -07:00
Jiuqiang Tang
1e77725a15 Add necessary java lite proto source code to mediapipe tasks aar for the face landmarker task.
PiperOrigin-RevId: 520143851
2023-03-28 15:01:50 -07:00
Jiuqiang Tang
bda2639376 Switch to use the isPresent() API since the isEmpty() is only available since java 11: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Optional.html#isEmpty().
PiperOrigin-RevId: 520099308
2023-03-28 12:20:55 -07:00
Jiuqiang Tang
d4ec485971 Add face landmarker and face geometry java lite proto source code into mediapipe tasks AAR.
PiperOrigin-RevId: 520049667
2023-03-28 09:29:45 -07:00
Jiuqiang Tang
94db96fa5e Add MatrixDataProto.java to mediapipe aar.
PiperOrigin-RevId: 519925872
2023-03-27 22:22:17 -07:00
MediaPipe Team
7fdec2ecdf FaceLandmarker Java API
PiperOrigin-RevId: 519704560
2023-03-27 06:35:03 -07:00
Sebastian Schmidt
6aab4e013d Typo Fix
PiperOrigin-RevId: 518994598
2023-03-23 16:35:23 -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
MediaPipe Team
2be66e8eb0 Add interactive segmenter java API
PiperOrigin-RevId: 518303391
2023-03-21 09:59:19 -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
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
141cf843ae Add getLabels to ImageSegmeter Java API
PiperOrigin-RevId: 516683339
2023-03-14 18:04:33 -07:00
Jiuqiang Tang
1d2041b992 Internal change
PiperOrigin-RevId: 516220827
2023-03-13 08:43:21 -07:00
MediaPipe Team
131be2169a Add FaceDetector Java API
PiperOrigin-RevId: 515913662
2023-03-11 13:14:47 -08:00
Jiuqiang Tang
3e8fd58400 Make createAudioRecord a class method not a static method.
PiperOrigin-RevId: 515740313
2023-03-10 14:34:32 -08:00
Jiuqiang Tang
5bd6a7082a Add requiredInputBufferSize as an input argument of createAudioRecord.
PiperOrigin-RevId: 515374407
2023-03-09 10:30:49 -08:00
MediaPipe Team
8d9f627fd9 Internal change
PiperOrigin-RevId: 515187139
2023-03-08 17:32:21 -08:00
MediaPipe Team
b8917ad31f Add FaceDetectorResult
PiperOrigin-RevId: 515104977
2023-03-08 12:10:13 -08:00
MediaPipe Team
c1b460920c normalized keypoint container. Detection adds optional keypoint list.
PiperOrigin-RevId: 514624925
2023-03-06 22:02:59 -08:00
MediaPipe Team
0337c7f52f Fix typo in ImageSegmenter.java
PiperOrigin-RevId: 514534013
2023-03-06 14:51:49 -08:00
MediaPipe Team
bfddb32358 remove usage of var for ImageSegmenter.java
PiperOrigin-RevId: 512767947
2023-02-27 16:49:27 -08:00
MediaPipe Team
a60d67eb10 Update ImageSegmenter API for image/video mode to have both callback API and returned result API.
PiperOrigin-RevId: 512697585
2023-02-27 12:21:30 -08:00
Sebastian Schmidt
9f59d4d01b Remove cosineSimilarity() from AudioEmbedder
PiperOrigin-RevId: 512671255
2023-02-27 11:13:20 -08:00
Jiuqiang Tang
f4b0cf1cff Internal change
PiperOrigin-RevId: 507540898
2023-02-06 11:48:51 -08:00