Commit Graph

136 Commits

Author SHA1 Message Date
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
Sebastian Schmidt
92f45c98d8 Support new output format for ImageSegmenter
PiperOrigin-RevId: 524371021
2023-04-14 13:25:10 -07:00
Sebastian Schmidt
3f1fc6f520 Add model links to NPM Readme
PiperOrigin-RevId: 524353352
2023-04-14 12:15:28 -07:00
Sebastian Schmidt
d0e8a9e09b Internal change
PiperOrigin-RevId: 523827005
2023-04-12 15:49:58 -07:00
Sebastian Schmidt
1b947df0c2 Allow relative URLs for WASM loading
PiperOrigin-RevId: 523572715
2023-04-11 19:25:03 -07:00
Sebastian Schmidt
221d545080 Create Language Detection Web API
PiperOrigin-RevId: 523445524
2023-04-11 10:47:29 -07:00
Sebastian Schmidt
2efcf30eea Add FaceLandmarksConnections to Web API
PiperOrigin-RevId: 522713874
2023-04-07 16:53:57 -07:00
Sebastian Schmidt
938b501d15 Don't use OffscreenCanvas on Safari
PiperOrigin-RevId: 522689566
2023-04-07 14:51:18 -07:00
MediaPipe Team
e3185e3df0 Internal change
PiperOrigin-RevId: 522614549
2023-04-07 09:30:36 -07:00
MediaPipe Team
7d8d3ab196 Add EDGETPU_NNAPI delegate option in MediaPipe tasks API
PiperOrigin-RevId: 522344828
2023-04-06 08:42:15 -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
Sebastian Schmidt
a98f6bf231 FaceDetector Web API
PiperOrigin-RevId: 521816795
2023-04-04 11:23:00 -07:00
jqtang
3c05df9c46 Merge pull request #4235 from priankakariatyml:ios-object-detection-containers
PiperOrigin-RevId: 521553151
2023-04-03 15:12:06 -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
Sebastian Schmidt
145fc1ed38 Don't overwrite detection options if not specified in setOptions()
PiperOrigin-RevId: 520790479
2023-03-30 17:56:05 -07:00
Sebastian Schmidt
62d86494b0 Allow users to pass canvas: undefined
PiperOrigin-RevId: 520142520
2023-03-28 14:56:19 -07:00
Sebastian Schmidt
5c295da6ff Return custom error if model download fails
PiperOrigin-RevId: 520066065
2023-03-28 10:30:03 -07:00
Sebastian Schmidt
7dd5f9b6c6 Add face_landmarker to vision types
PiperOrigin-RevId: 519815735
2023-03-27 13:39:51 -07:00
MediaPipe Team
5ccf986513 This CL fixes the multiple typos in the new task api solution
PiperOrigin-RevId: 519634122
2023-03-26 23:57:38 -07:00
Sebastian Schmidt
58a98bc7da Add FaceLandmarker Web API
PiperOrigin-RevId: 519198210
2023-03-24 11:41:24 -07:00
Sebastian Schmidt
9f6b2cd577 Add convertFromClassifications() helper
PiperOrigin-RevId: 519181016
2023-03-24 10:39:17 -07:00
Sebastian Schmidt
cec878df2b Add Matrix output type
PiperOrigin-RevId: 519158476
2023-03-24 09:11:03 -07:00
Sebastian Schmidt
8e5eadbd4e Add WebGLTexture output for ImageSegmenter
PiperOrigin-RevId: 518886135
2023-03-23 09:47:35 -07:00
Sebastian Schmidt
1c9e6894f3 Allow users to pass canvas element
PiperOrigin-RevId: 518870611
2023-03-23 08:46:21 -07:00
Sebastian Schmidt
1a7be8a4c1 Internal change
PiperOrigin-RevId: 518747623
2023-03-22 20:44:34 -07:00