Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian SchmidtandCopybara-Service e8ee934bf9 Use empty keypoint array for Detection if no keypoints are detected
PiperOrigin-RevId: 534572162
2023-05-23 15:10:00 -07:00
Sebastian SchmidtandCopybara-Service 1fe78180c8 Add quality scores to Segmenter tasks
PiperOrigin-RevId: 534497957
2023-05-23 11:37:26 -07:00
Sebastian SchmidtandCopybara-Service 87f525c76b Internal change
PiperOrigin-RevId: 534264040
2023-05-22 20:01:41 -07:00
Sebastian SchmidtandCopybara-Service 51730ec25c Add iOS support for MPMask
PiperOrigin-RevId: 534155657
2023-05-22 13:00:05 -07:00
Sebastian SchmidtandCopybara-Service 7c28c5d58f Fix rendering of MPMask and MPImage clone
PiperOrigin-RevId: 533551170
2023-05-19 14:26:18 -07:00
Sebastian SchmidtandCopybara-Service 1fb98f5ebd Don't double build ARM64 arch on M1 Macs
PiperOrigin-RevId: 532934646
2023-05-17 15:50:05 -07:00
Sebastian SchmidtandCopybara-Service a4d0e68bee Internal change
PiperOrigin-RevId: 532890317
2023-05-17 13:37:25 -07:00
Sebastian SchmidtandCopybara-Service 024f782cd9 Warn users that do not invoke "close()"
PiperOrigin-RevId: 532507235
2023-05-16 10:50:38 -07:00
Sebastian SchmidtandCopybara-Service d53fbf2aeb Update links in README.md
PiperOrigin-RevId: 532506851
2023-05-16 10:45:30 -07:00
Sebastian SchmidtandCopybara-Service 8bf6c63e92 Write TFLite model to Wasm file system
PiperOrigin-RevId: 532482502
2023-05-16 09:25:44 -07:00
Sebastian SchmidtandCopybara-Service 1666f3ed80 Add .close() method to ImageSegmenterResult/InteractiveSegmenterResult/PoseLandmarkerResult
PiperOrigin-RevId: 530973944
2023-05-10 12:37:48 -07:00
Sebastian SchmidtandGitHub a469f0151b Merge pull request #4386 from priankakariatyml/ios-cocoapods-opencv-fixes
Removed opencv framework from MPPVisionTaskRunner dependendencies
2023-05-09 17:08:32 -06:00
Sebastian SchmidtandCopybara-Service bea5eb766d Move Java Connections arrays to Task class
PiperOrigin-RevId: 530719994
2023-05-09 14:52:33 -07:00
Sebastian SchmidtandCopybara-Service 6f3c80ae8a Prevent property mangling for options types
PiperOrigin-RevId: 530707361
2023-05-09 14:05:05 -07:00
Sebastian SchmidtandCopybara-Service 65cb5f4e6b Do not depend on *.ts files in ts_declaration
PiperOrigin-RevId: 530435849
2023-05-08 16:20:18 -07:00
Sebastian SchmidtandCopybara-Service ae8bedd352 Inline constants for FaceLandmarksConnections
PiperOrigin-RevId: 530384171
2023-05-08 12:58:18 -07:00
Sebastian SchmidtandCopybara-Service e3c2f31ddf Update WASM files for Alpha 14
PiperOrigin-RevId: 530341569
2023-05-08 10:31:46 -07:00
Sebastian SchmidtandCopybara-Service ddb84702f6 Simplify MPMask by removing the Type Enums from the public API
PiperOrigin-RevId: 529975377
2023-05-06 10:26:13 -07:00
Sebastian SchmidtandCopybara-Service 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 SchmidtandCopybara-Service 8a6fe90759 Remove single-channel types from MPImage
PiperOrigin-RevId: 529956549
2023-05-06 07:04:14 -07:00
Sebastian SchmidtandCopybara-Service fb7f06b509 Remove error check that canvas must be defined
PiperOrigin-RevId: 529906685
2023-05-05 23:22:40 -07:00
Sebastian SchmidtandCopybara-Service 6aad5742c3 Internal
PiperOrigin-RevId: 529890599
2023-05-05 21:51:51 -07:00
Sebastian SchmidtandCopybara-Service e707c84a3d Create a MediaPipe Mask Type
PiperOrigin-RevId: 529868427
2023-05-05 19:23:43 -07:00
Sebastian SchmidtandCopybara-Service f6d0a5e03a Make the timestamp the second argument in all xForVideo() methods
PiperOrigin-RevId: 529814792
2023-05-05 14:29:33 -07:00
Sebastian SchmidtandCopybara-Service f065910559 Create non-callback APIs for APIs that return callbacks.
PiperOrigin-RevId: 529799515
2023-05-05 13:30:36 -07:00
Sebastian SchmidtandCopybara-Service 18d893c697 Add scribble support to InteractiveSegmenter Web API
PiperOrigin-RevId: 529594131
2023-05-04 20:44:26 -07:00
Sebastian SchmidtandCopybara-Service 767db32d69 Support multiple poses for PoseLandmarker
PiperOrigin-RevId: 529430797
2023-05-04 09:29:12 -07:00
Sebastian SchmidtandCopybara-Service 8e510a3255 Invoke PoseListener callback while C++ Packet is still active
PiperOrigin-RevId: 528061429
2023-04-28 21:22:02 -07:00
Sebastian SchmidtandCopybara-Service 253f13ad62 Invoke callback for InteractiveSegmenter while C++ Packets are active
PiperOrigin-RevId: 528053621
2023-04-28 20:34:17 -07:00
Sebastian SchmidtandCopybara-Service d5c5457d25 Only log warnings once if color conversion is not specified
PiperOrigin-RevId: 528052009
2023-04-28 20:24:17 -07:00
Sebastian SchmidtandCopybara-Service a9721ae2fb Invoke callback for ImageSegmenter while C++ Packets are active
PiperOrigin-RevId: 528047220
2023-04-28 20:01:10 -07:00
Sebastian SchmidtandCopybara-Service e15add2475 Shorten MPImage API
PiperOrigin-RevId: 528039371
2023-04-28 19:00:17 -07:00
Sebastian SchmidtandCopybara-Service 874cc9dea3 Update PoseLandmarker to return MPImage
PiperOrigin-RevId: 528022223
2023-04-28 17:13:07 -07:00
Sebastian SchmidtandCopybara-Service dcef6df1cb Update InteractiveSegmenter to return MPImage
PiperOrigin-RevId: 528010944
2023-04-28 16:13:51 -07:00
Sebastian SchmidtandCopybara-Service 2c1d9c6582 Update ImageSegmenter to return MPImage
PiperOrigin-RevId: 527990991
2023-04-28 14:48:30 -07:00
Sebastian SchmidtandCopybara-Service a544098100 Update FaceStylizer to return MPImage
PiperOrigin-RevId: 527980696
2023-04-28 14:05:11 -07:00
Sebastian SchmidtandCopybara-Service 5d9761cbfd Update tests and demos to call "close".
PiperOrigin-RevId: 527746909
2023-04-27 18:58:57 -07:00
Sebastian SchmidtandCopybara-Service 28b9b8d8a3 Open-sources LanguageDetector model.
PiperOrigin-RevId: 527745108
2023-04-27 18:47:07 -07:00
Sebastian SchmidtandCopybara-Service 5e41d47f3a Add "close()" method to MP Web Tasks
PiperOrigin-RevId: 527726737
2023-04-27 17:16:40 -07:00
Sebastian SchmidtandCopybara-Service b7e46ec528 Update WASM files for Alpha 13
PiperOrigin-RevId: 527707613
2023-04-27 15:58:03 -07:00
Sebastian SchmidtandCopybara-Service 4e1270c18f Internal
PiperOrigin-RevId: 527680530
2023-04-27 14:14:54 -07:00
Sebastian SchmidtandCopybara-Service 1b82821f15 Add support for single-channel images to MPImage
PiperOrigin-RevId: 527629970
2023-04-27 11:12:34 -07:00
Sebastian SchmidtandCopybara-Service a5852b0513 Internal change
PiperOrigin-RevId: 527623223
2023-04-27 10:50:36 -07:00
Sebastian SchmidtandCopybara-Service d5157a039e Add .github workspace import
PiperOrigin-RevId: 527617546
2023-04-27 10:31:44 -07:00
Sebastian SchmidtandCopybara-Service b457060c3a Generify tests for MPImage
PiperOrigin-RevId: 527611864
2023-04-27 10:12:30 -07:00
Sebastian SchmidtandCopybara-Service bc3434108e Update MPImage to use containers
PiperOrigin-RevId: 527596164
2023-04-27 09:18:05 -07:00
Sebastian SchmidtandCopybara-Service 9e30b00685 Invoke the FaceStylizer callback even if no faces are detected
PiperOrigin-RevId: 527008261
2023-04-25 10:35:12 -07:00
Sebastian SchmidtandCopybara-Service 61854dc6a3 Create Pose Detector Web API
PiperOrigin-RevId: 526672533
2023-04-24 09:53:05 -07:00
Sebastian SchmidtandCopybara-Service 35cf8c35f2 Internal change
PiperOrigin-RevId: 526658482
2023-04-24 09:01:55 -07:00
Sebastian SchmidtandCopybara-Service 9be748db00 Create MPImage type for Web
PiperOrigin-RevId: 525873209
2023-04-20 16:01:04 -07:00
Sebastian SchmidtandCopybara-Service e9bb849503 Fix Typo
PiperOrigin-RevId: 525861968
2023-04-20 15:15:13 -07:00
Sebastian SchmidtandCopybara-Service ffbd799b8d Extract shared types to create and test landmarks
PiperOrigin-RevId: 525568412
2023-04-19 15:37:42 -07:00
Sebastian SchmidtandCopybara-Service d7039c90dc Update WASM for Alpha 11
PiperOrigin-RevId: 525245471
2023-04-18 14:07:07 -07:00
Sebastian SchmidtandCopybara-Service 47e55fcf2f Add HAND_CONNECTIONS to HandLandmarker and GestureRecognizer
PiperOrigin-RevId: 524951052
2023-04-17 14:31:40 -07:00
Sebastian SchmidtandCopybara-Service b147002b7e Support new output format for InteractiveSegmenter
PiperOrigin-RevId: 524940992
2023-04-17 14:04:56 -07:00
Sebastian SchmidtandCopybara-Service d3903f885a Update Flatbuffers to 23.1.21
PiperOrigin-RevId: 524391723
2023-04-14 14:50:38 -07:00
Sebastian SchmidtandCopybara-Service 92f45c98d8 Support new output format for ImageSegmenter
PiperOrigin-RevId: 524371021
2023-04-14 13:25:10 -07:00
Sebastian SchmidtandCopybara-Service 3f1fc6f520 Add model links to NPM Readme
PiperOrigin-RevId: 524353352
2023-04-14 12:15:28 -07:00
Sebastian Schmidt 17f2d0e1e5 Add Face Landmarks Connection constants for the Python API 2023-04-13 14:19:10 -06:00
Sebastian SchmidtandGitHub f712eed6c3 Merge pull request #4286 from google/revert-4279-face-landmarker-python-add-connection-constants
Revert "Add Face Landmarks Connection constants for the Python API"
2023-04-13 14:14:02 -06:00
Sebastian SchmidtandCopybara-Service f23dd69db1 Fix yet another Windows compile error
PiperOrigin-RevId: 523835509
2023-04-12 16:26:27 -07:00
Sebastian SchmidtandCopybara-Service d0e8a9e09b Internal change
PiperOrigin-RevId: 523827005
2023-04-12 15:49:58 -07:00
Sebastian SchmidtandCopybara-Service 468d10e947 Update WASM files for Alpha 10
PiperOrigin-RevId: 523810757
2023-04-12 14:47:22 -07:00
Sebastian SchmidtandCopybara-Service f9a2d0995d Fix Windows compilation error
PiperOrigin-RevId: 523739720
2023-04-12 10:34:21 -07:00
Sebastian SchmidtandCopybara-Service 1b947df0c2 Allow relative URLs for WASM loading
PiperOrigin-RevId: 523572715
2023-04-11 19:25:03 -07:00
Sebastian SchmidtandCopybara-Service 738aea7a06 Update WASM files for alpha 9
PiperOrigin-RevId: 523458140
2023-04-11 11:33:14 -07:00
Sebastian SchmidtandCopybara-Service 221d545080 Create Language Detection Web API
PiperOrigin-RevId: 523445524
2023-04-11 10:47:29 -07:00
Sebastian SchmidtandCopybara-Service b66b0e0c72 Internal change
PiperOrigin-RevId: 523429555
2023-04-11 09:56:46 -07:00
Sebastian SchmidtandCopybara-Service 87ec846ed6 Enable TextClassifier and TextEmbedder on Windows Python
PiperOrigin-RevId: 523233995
2023-04-10 15:57:19 -07:00
Sebastian SchmidtandCopybara-Service e5f28bc136 Make AudioTools compile when build from python:framework_bindings
PiperOrigin-RevId: 523158401
2023-04-10 11:00:15 -07:00
Sebastian SchmidtandCopybara-Service e19b49ba13 Fix indent
PiperOrigin-RevId: 522715076
2023-04-07 16:59:03 -07:00
Sebastian SchmidtandCopybara-Service 2efcf30eea Add FaceLandmarksConnections to Web API
PiperOrigin-RevId: 522713874
2023-04-07 16:53:57 -07:00
Sebastian SchmidtandCopybara-Service 938b501d15 Don't use OffscreenCanvas on Safari
PiperOrigin-RevId: 522689566
2023-04-07 14:51:18 -07:00
Sebastian SchmidtandCopybara-Service 3588be3342 Update WASM files for Alpha 8
PiperOrigin-RevId: 522376911
2023-04-06 10:49:32 -07:00
Sebastian SchmidtandCopybara-Service f67007d077 Remove platform information for x86
PiperOrigin-RevId: 522182423
2023-04-05 16:21:24 -07:00
Sebastian SchmidtandCopybara-Service a98f6bf231 FaceDetector Web API
PiperOrigin-RevId: 521816795
2023-04-04 11:23:00 -07:00
Sebastian SchmidtandCopybara-Service e84799ee37 Internal change
PiperOrigin-RevId: 521483663
2023-04-03 09:45:42 -07:00
Sebastian SchmidtandCopybara-Service c40e0fb6d5 Internal change
PiperOrigin-RevId: 520956127
2023-03-31 10:33:27 -07:00
Sebastian SchmidtandCopybara-Service 145fc1ed38 Don't overwrite detection options if not specified in setOptions()
PiperOrigin-RevId: 520790479
2023-03-30 17:56:05 -07:00
Sebastian SchmidtandCopybara-Service f9eb3defa0 Internal change
PiperOrigin-RevId: 520523622
2023-03-29 21:04:07 -07:00
Sebastian SchmidtandCopybara-Service ac52859f1d Gracefully fail resource path lookup for Python on Windows
PiperOrigin-RevId: 520513921
2023-03-29 20:14:29 -07:00
Sebastian SchmidtandCopybara-Service ee1807d8e3 Don't use Bazel runfiles on for Python on Windows
PiperOrigin-RevId: 520504539
2023-03-29 19:10:07 -07:00
Sebastian SchmidtandCopybara-Service eaa708a18d Enable TextClassifier and TextEmbedder on Windows Python
PiperOrigin-RevId: 520498308
2023-03-29 18:26:53 -07:00
Sebastian SchmidtandCopybara-Service df67b35348 Internal change
PiperOrigin-RevId: 520486540
2023-03-29 17:27:16 -07:00
Sebastian SchmidtandCopybara-Service 6be4aedcf7 Use mediapipe_proto_library for all MediaPipe Protos
PiperOrigin-RevId: 520451054
2023-03-29 15:00:59 -07:00
Sebastian SchmidtandCopybara-Service b3d999704f FaceStylizer Java API
PiperOrigin-RevId: 520344417
2023-03-29 08:37:50 -07:00
Sebastian SchmidtandCopybara-Service dc132a5629 Don't use Bazel runfiles on for Python on Windows
PiperOrigin-RevId: 520174325
2023-03-28 17:04:16 -07:00
Sebastian SchmidtandCopybara-Service 62d86494b0 Allow users to pass canvas: undefined
PiperOrigin-RevId: 520142520
2023-03-28 14:56:19 -07:00
Sebastian SchmidtandCopybara-Service 5c295da6ff Return custom error if model download fails
PiperOrigin-RevId: 520066065
2023-03-28 10:30:03 -07:00
Sebastian SchmidtandCopybara-Service 105e7b7467 Add no-copy Image getter for JNIS
PiperOrigin-RevId: 519909198
2023-03-27 20:59:23 -07:00
Sebastian SchmidtandCopybara-Service 7dd5f9b6c6 Add face_landmarker to vision types
PiperOrigin-RevId: 519815735
2023-03-27 13:39:51 -07:00
Sebastian SchmidtandCopybara-Service e2f2acca5e Update WASM files for alpha-6 release
PiperOrigin-RevId: 519738578
2023-03-27 09:09:08 -07:00
Sebastian SchmidtandCopybara-Service 58a98bc7da Add FaceLandmarker Web API
PiperOrigin-RevId: 519198210
2023-03-24 11:41:24 -07:00
Sebastian SchmidtandCopybara-Service 9f6b2cd577 Add convertFromClassifications() helper
PiperOrigin-RevId: 519181016
2023-03-24 10:39:17 -07:00
Sebastian SchmidtandCopybara-Service cec878df2b Add Matrix output type
PiperOrigin-RevId: 519158476
2023-03-24 09:11:03 -07:00
Sebastian SchmidtandCopybara-Service 6aab4e013d Typo Fix
PiperOrigin-RevId: 518994598
2023-03-23 16:35:23 -07:00
Sebastian SchmidtandCopybara-Service 7b20a8e056 Update the WASM files for alpha5 Web release
PiperOrigin-RevId: 518905561
2023-03-23 10:53:38 -07:00
Sebastian SchmidtandCopybara-Service 8e5eadbd4e Add WebGLTexture output for ImageSegmenter
PiperOrigin-RevId: 518886135
2023-03-23 09:47:35 -07:00
Sebastian SchmidtandCopybara-Service 1c9e6894f3 Allow users to pass canvas element
PiperOrigin-RevId: 518870611
2023-03-23 08:46:21 -07:00
Sebastian SchmidtandCopybara-Service 1a7be8a4c1 Internal change
PiperOrigin-RevId: 518747623
2023-03-22 20:44:34 -07:00