Commit Graph

160 Commits

Author SHA1 Message Date
MediaPipe Team
bc035d9146 This will fix the multiple typos in the tasks files.
PiperOrigin-RevId: 534679277
2023-05-23 21:49:34 -07:00
Sebastian Schmidt
e8ee934bf9 Use empty keypoint array for Detection if no keypoints are detected
PiperOrigin-RevId: 534572162
2023-05-23 15:10:00 -07:00
Sebastian Schmidt
1fe78180c8 Add quality scores to Segmenter tasks
PiperOrigin-RevId: 534497957
2023-05-23 11:37:26 -07:00
Sebastian Schmidt
51730ec25c Add iOS support for MPMask
PiperOrigin-RevId: 534155657
2023-05-22 13:00:05 -07:00
Sebastian Schmidt
7c28c5d58f Fix rendering of MPMask and MPImage clone
PiperOrigin-RevId: 533551170
2023-05-19 14:26:18 -07:00
Sebastian Schmidt
024f782cd9 Warn users that do not invoke "close()"
PiperOrigin-RevId: 532507235
2023-05-16 10:50:38 -07:00
Sebastian Schmidt
d53fbf2aeb Update links in README.md
PiperOrigin-RevId: 532506851
2023-05-16 10:45:30 -07:00
Sebastian Schmidt
8bf6c63e92 Write TFLite model to Wasm file system
PiperOrigin-RevId: 532482502
2023-05-16 09:25:44 -07:00
Sebastian Schmidt
1666f3ed80 Add .close() method to ImageSegmenterResult/InteractiveSegmenterResult/PoseLandmarkerResult
PiperOrigin-RevId: 530973944
2023-05-10 12:37:48 -07:00
MediaPipe Team
f824424700 When returning multiple output streams together, keep them alive until callback.
PiperOrigin-RevId: 530771884
2023-05-09 19:00:00 -07:00
Sebastian Schmidt
6f3c80ae8a Prevent property mangling for options types
PiperOrigin-RevId: 530707361
2023-05-09 14:05:05 -07:00
Sebastian Schmidt
65cb5f4e6b Do not depend on *.ts files in ts_declaration
PiperOrigin-RevId: 530435849
2023-05-08 16:20:18 -07:00
Sebastian Schmidt
ae8bedd352 Inline constants for FaceLandmarksConnections
PiperOrigin-RevId: 530384171
2023-05-08 12:58:18 -07:00
MediaPipe Team
876987b389 Remove auxiliary landmarks in PoseLandmarker API results.
PiperOrigin-RevId: 529989746
2023-05-06 12:58:00 -07:00
Sebastian Schmidt
ddb84702f6 Simplify MPMask by removing the Type Enums from the public API
PiperOrigin-RevId: 529975377
2023-05-06 10:26:13 -07:00
Sebastian Schmidt
e9fc66277a Simplify MPImage API by removing the Type Enums from the public API
PiperOrigin-RevId: 529960399
2023-05-06 07:49:46 -07:00
Sebastian Schmidt
8a6fe90759 Remove single-channel types from MPImage
PiperOrigin-RevId: 529956549
2023-05-06 07:04:14 -07:00
Sebastian Schmidt
fb7f06b509 Remove error check that canvas must be defined
PiperOrigin-RevId: 529906685
2023-05-05 23:22:40 -07:00
Sebastian Schmidt
6aad5742c3 Internal
PiperOrigin-RevId: 529890599
2023-05-05 21:51:51 -07:00
Sebastian Schmidt
e707c84a3d Create a MediaPipe Mask Type
PiperOrigin-RevId: 529868427
2023-05-05 19:23:43 -07:00
Sebastian Schmidt
f6d0a5e03a Make the timestamp the second argument in all xForVideo() methods
PiperOrigin-RevId: 529814792
2023-05-05 14:29:33 -07:00
Sebastian Schmidt
f065910559 Create non-callback APIs for APIs that return callbacks.
PiperOrigin-RevId: 529799515
2023-05-05 13:30:36 -07:00
Sebastian Schmidt
18d893c697 Add scribble support to InteractiveSegmenter Web API
PiperOrigin-RevId: 529594131
2023-05-04 20:44:26 -07:00
MediaPipe Team
12b0b6fad1 Internal change
PiperOrigin-RevId: 529495239
2023-05-04 14:51:19 -07:00
Sebastian Schmidt
767db32d69 Support multiple poses for PoseLandmarker
PiperOrigin-RevId: 529430797
2023-05-04 09:29:12 -07:00
Sebastian Schmidt
8e510a3255 Invoke PoseListener callback while C++ Packet is still active
PiperOrigin-RevId: 528061429
2023-04-28 21:22:02 -07:00
Sebastian Schmidt
253f13ad62 Invoke callback for InteractiveSegmenter while C++ Packets are active
PiperOrigin-RevId: 528053621
2023-04-28 20:34:17 -07:00
Sebastian Schmidt
d5c5457d25 Only log warnings once if color conversion is not specified
PiperOrigin-RevId: 528052009
2023-04-28 20:24:17 -07:00
Sebastian Schmidt
a9721ae2fb Invoke callback for ImageSegmenter while C++ Packets are active
PiperOrigin-RevId: 528047220
2023-04-28 20:01:10 -07:00
Sebastian Schmidt
e15add2475 Shorten MPImage API
PiperOrigin-RevId: 528039371
2023-04-28 19:00:17 -07:00
Sebastian Schmidt
874cc9dea3 Update PoseLandmarker to return MPImage
PiperOrigin-RevId: 528022223
2023-04-28 17:13:07 -07:00
Sebastian Schmidt
dcef6df1cb Update InteractiveSegmenter to return MPImage
PiperOrigin-RevId: 528010944
2023-04-28 16:13:51 -07:00
Sebastian Schmidt
2c1d9c6582 Update ImageSegmenter to return MPImage
PiperOrigin-RevId: 527990991
2023-04-28 14:48:30 -07:00
Sebastian Schmidt
a544098100 Update FaceStylizer to return MPImage
PiperOrigin-RevId: 527980696
2023-04-28 14:05:11 -07:00
Sebastian Schmidt
5d9761cbfd Update tests and demos to call "close".
PiperOrigin-RevId: 527746909
2023-04-27 18:58:57 -07:00
Sebastian Schmidt
5e41d47f3a Add "close()" method to MP Web Tasks
PiperOrigin-RevId: 527726737
2023-04-27 17:16:40 -07:00
Sebastian Schmidt
1b82821f15 Add support for single-channel images to MPImage
PiperOrigin-RevId: 527629970
2023-04-27 11:12:34 -07:00
Sebastian Schmidt
b457060c3a Generify tests for MPImage
PiperOrigin-RevId: 527611864
2023-04-27 10:12:30 -07:00
Sebastian Schmidt
bc3434108e Update MPImage to use containers
PiperOrigin-RevId: 527596164
2023-04-27 09:18:05 -07:00
Sebastian Schmidt
9e30b00685 Invoke the FaceStylizer callback even if no faces are detected
PiperOrigin-RevId: 527008261
2023-04-25 10:35:12 -07:00
Jiuqiang Tang
3bc8276678 Remove "All Rights Reserved." in copyright headers.
PiperOrigin-RevId: 526982992
2023-04-25 09:06:29 -07:00
Sebastian Schmidt
61854dc6a3 Create Pose Detector Web API
PiperOrigin-RevId: 526672533
2023-04-24 09:53:05 -07:00
MediaPipe Team
a6c35e9ba5 Fixes the typos in tasks internal files.
PiperOrigin-RevId: 526063515
2023-04-21 09:46:39 -07:00
Sebastian Schmidt
9be748db00 Create MPImage type for Web
PiperOrigin-RevId: 525873209
2023-04-20 16:01:04 -07:00
Sebastian Schmidt
e9bb849503 Fix Typo
PiperOrigin-RevId: 525861968
2023-04-20 15:15:13 -07:00
MediaPipe Team
983932b6dd This will fix the multiple typos in the new tasks internal files
PiperOrigin-RevId: 525788850
2023-04-20 10:43:35 -07:00
Sebastian Schmidt
ffbd799b8d Extract shared types to create and test landmarks
PiperOrigin-RevId: 525568412
2023-04-19 15:37:42 -07:00
Sebastian Schmidt
47e55fcf2f Add HAND_CONNECTIONS to HandLandmarker and GestureRecognizer
PiperOrigin-RevId: 524951052
2023-04-17 14:31:40 -07:00
Sebastian Schmidt
b147002b7e Support new output format for InteractiveSegmenter
PiperOrigin-RevId: 524940992
2023-04-17 14:04:56 -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