Jiuqiang Tang
8e097ea9c3
Internal changes
...
PiperOrigin-RevId: 507016761
2023-02-03 16:07:42 -08:00
MediaPipe Team
5730dec260
Internal change
...
PiperOrigin-RevId: 506053206
2023-01-31 11:03:41 -08:00
Jiuqiang Tang
7974171c3d
Merge classificationResultList()
and classificationResult()
to be classificationResults()
, and similar for embeddingResults()
.
...
PiperOrigin-RevId: 502601043
2023-01-17 09:06:49 -08:00
Jiuqiang Tang
25abd122b3
Support AudioRecord in MediaPipe audio tasks in Java.
...
PiperOrigin-RevId: 501019327
2023-01-10 09:45:40 -08:00
Sebastian Schmidt
b4ede6db7b
Fix typo in Category.java
...
PiperOrigin-RevId: 500324008
2023-01-06 21:02:16 -08:00
Jiuqiang Tang
9067804005
Fix the missing logging component issue of mediapipe tasks core.
...
PiperOrigin-RevId: 496548340
2022-12-19 19:41:11 -08:00
Jiuqiang Tang
299aa03302
Internal change
...
PiperOrigin-RevId: 495613573
2022-12-15 09:24:31 -08:00
MediaPipe Team
a59f0a9924
Make java/C++/python tasks API public visible.
...
PiperOrigin-RevId: 493730506
2022-12-07 15:51:04 -08:00
Jiuqiang Tang
c6e6f9e0b9
Fix aar breakage caused by missing "//mediapipe/tasks/cc/vision/image_segmenter/proto:segmenter_options_java_proto_lite".
...
PiperOrigin-RevId: 493357585
2022-12-06 11:08:01 -08:00
Jiuqiang Tang
1761cdcef4
Fix aar breakage caused by missing "//mediapipe/tasks/java/com/google/mediapipe/tasks/components/containers:normalized_landmark".
...
PiperOrigin-RevId: 493204770
2022-12-05 22:16:46 -08:00
MediaPipe Team
768d2dc548
Separate web and java api landmark and world landmark to two classes. This makes the platforms interface consistent.
...
PiperOrigin-RevId: 492332990
2022-12-01 16:49:47 -08:00
Jiuqiang Tang
e7eee27c1c
Remove the deleted library "mediapipe/tasks/java/com/google/mediapipe/tasks/components/processors:embedderoptions" from mediapipe_tasks_aar's android_library deps list.
...
PiperOrigin-RevId: 492200061
2022-12-01 08:17:12 -08:00
MediaPipe Team
01010fa248
Internal change
...
PiperOrigin-RevId: 492188196
2022-12-01 07:17:19 -08:00
MediaPipe Team
29c7702984
Inline formerly nested 'ClassifierOptions' in Java classifier APIs.
...
PiperOrigin-RevId: 492173060
2022-12-01 05:52:15 -08:00
Jiuqiang Tang
460aee7933
Make mediapipe_tasks_aar's android_library depend on "//third_party:androidx_annotation".
...
PiperOrigin-RevId: 492092487
2022-11-30 20:45:02 -08:00
MediaPipe Team
c48ca1f674
internal change
...
PiperOrigin-RevId: 491429214
2022-11-28 13:33:57 -08:00
Sebastian Schmidt
05681fc0e1
Internal
...
PiperOrigin-RevId: 490439195
2022-11-23 01:29: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
Sebastian Schmidt
e853f04b79
Create AudioTaskRunner
...
PiperOrigin-RevId: 489613573
2022-11-18 19:55:08 -08:00
MediaPipe Team
03d388fecf
Add hand landmark named index constants
...
PiperOrigin-RevId: 489498248
2022-11-18 09:52:44 -08:00
Sebastian Schmidt
3ccf7308e0
Add shared options for Text and Audio Tasks
...
PiperOrigin-RevId: 489186644
2022-11-17 05:28:27 -08:00
MediaPipe Team
ebba119f15
Add Java ImageEmbedder API.
...
PiperOrigin-RevId: 488588010
2022-11-15 01:26:00 -08:00
Jiuqiang Tang
87dff8142c
Fix a typo.
...
PiperOrigin-RevId: 488519113
2022-11-14 18:13:50 -08:00
Jiuqiang Tang
f16e63694e
Build embedding tasks into tasks AARs.
...
PiperOrigin-RevId: 488509942
2022-11-14 17:18:12 -08:00
Jiuqiang Tang
794f64db55
Fix the wrong path of "text_embedder_graph_options_java_proto_lite".
...
PiperOrigin-RevId: 488490050
2022-11-14 15:51:05 -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
b40b2ade14
Fix typos.
...
PiperOrigin-RevId: 488416345
2022-11-14 11:07:59 -08:00
Jiuqiang Tang
4b5c3521af
Dividing the timestamp by 1000 when returning a "none" result object from GestureRecognizer and HandLandmarker APIs.
...
PiperOrigin-RevId: 488409077
2022-11-14 10:44:20 -08:00
MediaPipe Team
b4972ed4ae
Update GestureRecognitionResult to GestureRecognizerResult.
...
PiperOrigin-RevId: 487712873
2022-11-10 20:25:31 -08:00
Jiuqiang Tang
b3ac1c1387
Changes to create MediaPipe Tasks Audio AAR.
...
PiperOrigin-RevId: 487661296
2022-11-10 15:55:33 -08:00
MediaPipe Team
8ec4427bd7
Add option, result types and utils for Java embedders.
...
PiperOrigin-RevId: 487615327
2022-11-10 12:53:00 -08:00
Jiuqiang Tang
bb5782ee2f
Correct the timestamp in the vision tasks result objects.
...
PiperOrigin-RevId: 487597999
2022-11-10 11:46:16 -08:00
Jiuqiang Tang
da4d455d0c
Implement MediaPipe Tasks AudioClassifier Java API.
...
PiperOrigin-RevId: 487570148
2022-11-10 10:10:03 -08:00
Jiuqiang Tang
2ce3a9719e
Remove the problematic packet release calls in OutputHandler::run.
...
OutputHandler::run is installed as a MultiStreamCallback into the TaskRunner and it's invoked in the Graph::CallbackToJava() jni method.
In CallbackToJava(), the packets are removed in RemovePacket() calls after the multi stream callback is invoked. The current logic lets the MultiStreamCallback release the packets first and leaves null pointers to RemovePacket() to remove, which may cause the app crash. The fix is to remove the packet release calls in the MultiStreamCallback and always leave the packet release work to RemovePacket().
PiperOrigin-RevId: 487558809
2022-11-10 09:27:35 -08:00
MediaPipe Team
7066ee231e
Hand Landmarker Java API and unit test.
...
PiperOrigin-RevId: 487307858
2022-11-09 11:55:31 -08:00
Lu Wang
253ff0f85c
Update the Java doc for model asset for BaseOptions
...
PiperOrigin-RevId: 487059371
2022-11-08 14:57:27 -08:00
Jiuqiang Tang
ff6ca706c6
Internal change
...
PiperOrigin-RevId: 486994334
2022-11-08 10:52:51 -08:00
MediaPipe Team
5e6842aa5c
Migrate Java ImageClassifier / TextClassifier to new result format.
...
PiperOrigin-RevId: 486976459
2022-11-08 09:47:42 -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
Jiuqiang Tang
9f4496db77
Fix typos
...
PiperOrigin-RevId: 486698923
2022-11-07 10:24:17 -08:00
MediaPipe Team
5e1a2fcdbb
Update EmbeddingResult format and dependent tasks.
...
PiperOrigin-RevId: 486186491
2022-11-04 11:20:07 -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
Jiuqiang Tang
a941c5cdd1
Create MediaPipe "tasks-text" AAR.
...
PiperOrigin-RevId: 484004494
2022-10-26 10:18:22 -07:00
MediaPipe Team
94cd134809
Add support for image rotation in Java vision tasks.
...
PiperOrigin-RevId: 483493729
2022-10-24 15:01:23 -07:00
Jiuqiang Tang
2cf9523468
Fix the java_package name.
...
PiperOrigin-RevId: 483428848
2022-10-24 10:55:16 -07:00
Jiuqiang Tang
de93d06f87
Implement build rules and targets to create MediaPipe Tasks AARs
...
PiperOrigin-RevId: 483297891
2022-10-24 00:45:32 -07:00
MediaPipe Team
d8006a2f87
Use model bundle for gesture recognizer.
...
PiperOrigin-RevId: 482960305
2022-10-21 21:54:34 -07:00
Jiuqiang Tang
abed54ea30
Rename the mediapipe java image container from Image to MPImage.
...
PiperOrigin-RevId: 482933122
2022-10-21 18:17:35 -07:00
Sebastian Schmidt
55a536e55e
Typo fix in Landmark
...
PiperOrigin-RevId: 482854764
2022-10-21 12:13:12 -07:00
Sebastian Schmidt
fe77c5489f
Fix comments in GestureRecognizer
...
PiperOrigin-RevId: 482854253
2022-10-21 12:09:36 -07:00
Jiuqiang Tang
ed938a9214
Replace the usage of InvalidProtocolBufferException with IOException.
...
PiperOrigin-RevId: 482844446
2022-10-21 11:30:28 -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
Yuqi Li
bc47589c9b
Add model bundle in hand landmark task.
...
PiperOrigin-RevId: 481960266
2022-10-18 10:38:43 -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
Jiuqiang Tang
0ebe6ccf59
Add filegroups to mediapipe java src dirs.
...
PiperOrigin-RevId: 481080348
2022-10-14 01:02:48 -07:00
Jiuqiang Tang
b632e645f5
Merge all BUILD files in the subdirectories of java/com/google/mediapipe/tasks/vision into one BUILD file.
...
PiperOrigin-RevId: 481074268
2022-10-14 00:15:40 -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
51a7606083
Add Java ImageClassifier API.
...
PiperOrigin-RevId: 480656683
2022-10-12 10:22:16 -07:00
Jiuqiang Tang
f9a4e472eb
Add AndroidManifest.xml into third_party/mediapipe/tasks/java/com/google/mediapipe/tasks/core
...
PiperOrigin-RevId: 480567195
2022-10-12 02:05:15 -07:00
MediaPipe Team
62d2ae601e
Internal change
...
PiperOrigin-RevId: 480034669
2022-10-10 02:54:18 -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
d90daa859f
Internal change
...
PiperOrigin-RevId: 479544054
2022-10-07 04:09:01 -07:00
MediaPipe Team
65c7fb9004
Internal change
...
PiperOrigin-RevId: 478470582
2022-10-03 04:49:52 -07:00
Jiuqiang Tang
af2ad1abbe
Switch MediaPipe Tasks Python and Java base layer to use MediaPipeBuiltinOpResolver by default.
...
PiperOrigin-RevId: 477927852
2022-09-30 15:45:35 +00:00
Jiuqiang Tang
3816951b8c
Fix the comment.
...
PiperOrigin-RevId: 477925532
2022-09-30 15:44:53 +00:00
Copybara-Service
6678a091e0
Merge pull request #3740 from google:mrschmidt/empty
...
PiperOrigin-RevId: 477820667
2022-09-29 14:21:00 -07:00
Sebastian Schmidt
28b48a3f7d
Replace Protobuf target in MediaPipe Tasks Java
...
PiperOrigin-RevId: 477820107
2022-09-29 14:17:35 -07:00
Sebastian Schmidt
1d6750d240
Fix typo
2022-09-29 20:13:32 +00:00
Sebastian Schmidt
227cc20bff
OpenSource MediaPipe Tasks Java
...
PiperOrigin-RevId: 477747787
2022-09-29 09:45:19 -07:00
MediaPipe Team
f8af41b1eb
Internal change
...
PiperOrigin-RevId: 477538515
2022-09-28 21:32:36 +00:00