Commit Graph
100 Commits
Author SHA1 Message Date
kinaryml bd039f8b65 Updated necessary BUILD files 2023-05-01 05:56:52 -07:00
kinaryml 209d78f36c Added the Face Aligner Python API 2023-05-01 05:55:46 -07:00
kinaryml 3b06772d9a Fixed BUILD 2023-04-27 21:13:31 -07:00
kinaryml 305866ccae Updated BUILD files to use the open sourced Language Detector model 2023-04-27 21:11:53 -07:00
kinaryml ca5fca1db7 Mark index as unused 2023-04-24 11:26:36 -07:00
kinaryml b511822815 Removed an unnecessary check and updated tests to check if the masks are generated or not 2023-04-24 11:23:27 -07:00
kinaryml 0b1eb39870 Updated copyright 2023-04-21 11:48:06 -07:00
kinaryml 2a2a55d1b8 Added Language Detector Python API and fixed a typo in Interactive Segmenter Options' docstring 2023-04-21 11:46:21 -07:00
kinaryml f87ffd92a0 Removed optional for defaults in some tasks and updated various tests to be consistent with that of Pose Landmarker's 2023-04-18 23:28:10 -07:00
kinaryml 00f966655b Fixed a typo in a docstring 2023-04-18 22:48:37 -07:00
kinaryml 1688d0fa79 Added more pose landmarker tests and updated face landmarker tests to cover all the results 2023-04-18 22:45:46 -07:00
kinaryml a1aab66c8d Fixed a typo in docstring 2023-04-18 21:50:27 -07:00
kinaryml 67b72e4fe9 Code cleanup 2023-04-18 21:43:38 -07:00
kinaryml 1cb404bea1 Changed labels to be a property 2023-04-18 21:31:14 -07:00
kinaryml 1919b0e341 Updated docstrings for get_labels 2023-04-18 02:54:03 -07:00
kinaryml 723cb2a919 Populate labels using model metadata for the ImageSegmenter Python API 2023-04-18 02:49:13 -07:00
kinaryml 5f5ce22020 Added the PoseLandmarker Python API and a simple test 2023-04-14 14:09:15 -07:00
kinaryml a745b71f97 Removed unused import 2023-04-13 21:11:20 -07:00
kinaryml a036bf70cc Removed Activation from ImageSegmenterOptions 2023-04-13 21:09:01 -07:00
kinaryml a03fa448dc Explicitly state the modes in the tests for ImageSegmenterOptions and InteractiveSegmenterOptions 2023-04-13 11:55:37 -07:00
kinaryml 4d5f081232 Reformatted face_landmarker.py 2023-04-13 01:18:37 -07:00
kinaryml 3f68f90238 Deprecated output_type for the ImageSegmenter and InteractiveSegmenter APIs 2023-04-12 14:37:16 -07:00
kinaryml fec96ee679 Added some face landmarks constants 2023-04-12 13:03:46 -07:00
kinaryml 18d5beb598 Updated FaceStylizer API to align with the new Base Vision Task API changes 2023-04-08 01:38:48 -07:00
kinaryml e364aeb359 Revised Interactive Segmenter API and added more tests 2023-03-25 00:44:30 -07:00
kinaryml 6304756c93 Added Interactive Segmenter Python API and some tests 2023-03-23 02:00:18 -07:00
kinaryml 29a4041353 Fixed a typo in docstring 2023-03-22 21:51:45 -07:00
kinaryml ca18b95510 Updated BUILD 2023-03-22 21:50:40 -07:00
kinaryml 8cba65c229 Updated BUILD 2023-03-22 21:50:07 -07:00
kinaryml 613bcf99f4 Removed model 2023-03-22 21:49:11 -07:00
kinaryml c0320b556c Removed unit tests 2023-03-22 21:47:38 -07:00
kinaryml da70497f35 Updated Face Stylizer implementation and tests 2023-03-22 21:15:04 -07:00
kinaryml 444cd00ee6 Moved audio_record.py to tasks/python/audio/core 2023-03-21 23:15:55 -07:00
kinaryml 1ba285d916 Updated a method name in face_landmarker_test.py 2023-03-16 15:10:39 -07:00
kinaryml 94dba82284 Renamed a test method to use the plural form 2023-03-16 12:54:38 -07:00
kinaryml b36b0bb3e8 Updated API and tests 2023-03-16 12:51:19 -07:00
kinaryml 2753c79fde Removed MatrixData dataclass and used NumPy to represent Matrix 2023-03-16 11:50:07 -07:00
kinaryml 9aea1be6f9 Removed geometry pipeline calculator 2023-03-15 23:51:12 -07:00
kinaryml 80dd764605 Removed dummy packet creation and preserved face_geometry protobuf import 2023-03-15 10:52:16 -07:00
kinaryml 4a6015e65c Fixed some issues in the MatrixData container, revised the implementation and added more tests 2023-03-15 10:41:36 -07:00
kinaryml 06c37c6442 Updated mediapipe/python/BUILD and tests 2023-03-15 09:11:06 -07:00
kinaryml d83f400b08 Updated API and tests 2023-03-14 22:32:39 -07:00
kinaryml 23681cde0d Revised face landmarker implementation and tests 2023-03-14 00:37:32 -07:00
kinaryml efae2830f1 Updated face landmarker implementation and tests 2023-03-13 08:46:41 -07:00
kinaryml 89be4c7b64 Added some files for the face landmarker implementation 2023-03-12 16:09:04 -07:00
kinaryml 78e48825ae Make create_audio_record not a static method 2023-03-11 07:39:34 -08:00
kinaryml 9787056508 Added the AudioRecord API 2023-03-10 10:17:03 -08:00
kinaryml 7463e48fd4 Added some files necessary for the Face Stylizer implementation 2023-03-09 02:39:21 -08:00
kinaryml f48909cab6 Fixed score's data type 2023-03-09 02:13:34 -08:00
kinaryml 24114ec2fe Updated comment in test 2023-03-09 01:41:42 -08:00
kinaryml 022838a7f3 Added Face Detector implementation and tests 2023-03-09 01:36:39 -08:00
kinaryml ea77a7c25d Undo commenting out remaining tests 2022-11-17 14:06:30 -08:00
kinaryml 87238705dd Updated cosine similarity utility 2022-11-17 14:03:07 -08:00
kinaryml 5a6837d034 Fix errors that will occur in python 3.11 2022-11-16 22:08:52 -08:00
kinaryml a2bb58382d Added AudioEmbedder API and tests along with fixing a couple of typos in AudioClassifier 2022-11-14 01:20:45 -08:00
kinaryml a7ed160a8e Fixed a bug in embedding_result 2022-11-12 08:55:56 -08:00
kinaryml a3788a23bc Removed unused code in image_embedder_test 2022-11-12 07:48:55 -08:00
kinaryml 157092d93e Removed unused dataclasses 2022-11-12 07:47:32 -08:00
kinaryml a8103629c7 Updated Text Embedder API 2022-11-12 07:42:46 -08:00
kinaryml 0e9b925726 Fixed some typos and revised image embedder tests 2022-11-10 02:30:17 -08:00
kinaryml 1604908a59 Added files needed for the text embedder's implementation and tests 2022-11-10 02:16:51 -08:00
kinaryml 7ec0d8cf3b Added tolerance for vector coordinate values in embeddings 2022-11-09 11:53:30 -08:00
kinaryml 17bb174444 Refactored embeddings to embedding_result 2022-11-09 11:42:32 -08:00
kinaryml dc30cf9732 Updated embeddings container to use a timestamp and made parameters - head_index,head_name optional 2022-11-08 23:51:55 -08:00
kinaryml d327b3649d Fixed some typos in methods and comments 2022-11-08 23:47:58 -08:00
kinaryml dd6fdedd5f Added some sanity tests 2022-11-08 23:15:58 -08:00
kinaryml 7e251bc6b6 Merge branch 'hand-landmarker-python' of https://github.com/kinaryml/mediapipe into hand-landmarker-python 2022-11-08 23:07:30 -08:00
kinaryml 46f135e54d Renamed HandLandmarksDetectionResult to HandLandmarkerResult 2022-11-08 23:06:28 -08:00
kinaryml 96e2eb38c7 Merge branch 'hand-landmarker-python' of https://github.com/kinaryml/mediapipe into hand-landmarker-python 2022-11-08 11:27:13 -08:00
kinaryml 77cc4c53ab Updated the 'test_create_from_options_fails_with_invalid_model_path' test case 2022-11-08 11:26:02 -08:00
kinaryml 72f08c6878 Used loops instead of list comprehension 2022-11-08 10:57:12 -08:00
kinaryml 647b94240d Updated docstring 2022-11-08 10:54:44 -08:00
kinaryml 88ab9d4922 Used loops instead of complex list comprehensions 2022-11-08 10:52:26 -08:00
kinaryml c0265ca2ac Fixed some typos 2022-11-08 10:44:21 -08:00
kinaryml e8d771baf3 Updated landmark_detection_result 2022-11-08 10:37:37 -08:00
kinaryml 0fd78c2ec6 Updated classifier python tasks to use the new classification_result dataclass 2022-11-08 10:28:24 -08:00
kinaryml 9c9519eeb8 Fixed a to_pb2() bug in the landmark_detection_result container 2022-11-08 02:55:19 -08:00
kinaryml 0402ee383f Added hand landmarker Python API and tests 2022-11-08 01:05:36 -08:00
kinaryml 664d9c49e7 Revised image embedder implementation 2022-11-07 13:59:07 -08:00
kinaryml b44c49250b Removed unused constant 2022-11-04 22:36:13 -07:00
kinaryml e2d50745ac Revised image embedder implementation 2022-11-03 14:30:21 -07:00
kinaryml 492607152a Reverted changes to rect 2022-11-03 10:56:38 -07:00
kinaryml 14e18a03d6 Removed unused custom classifier options in tests 2022-11-03 02:54:57 -07:00
kinaryml de619e2702 Removed a comment 2022-11-03 02:33:50 -07:00
kinaryml 2001e2b77c Removed unused file 2022-11-03 02:32:55 -07:00
kinaryml 6e9a070dd1 Added text classifier implementation and tests 2022-11-03 02:29:40 -07:00
kinaryml 35a04522fa Moved the OutputType and Activation classes to ImageSegmenter's inner classes 2022-11-03 00:46:00 -07:00
kinaryml c5765ac836 Refactored Rect to use top-left coordinates and appropriately updated the Image Classifier and Gesture Recognizer APIs/tests 2022-11-01 15:37:00 -07:00
kinaryml a913255080 Removed min score thres from tests 2022-10-31 23:07:05 -07:00
kinaryml d3b472e888 Add allow_list/deny_list support 2022-10-31 22:16:37 -07:00
kinaryml 2b5a077579 Updated comments 2022-10-31 05:48:45 -07:00
kinaryml d635b4281e Added a test for the canned classification of the gesture victory 2022-10-31 05:47:28 -07:00
kinaryml 888ddd4b74 Removed unused classifier options proto 2022-10-31 05:37:24 -07:00
kinaryml 19be9e9012 Revised gesture recognizer implementation 2022-10-31 05:34:31 -07:00
kinaryml fb4872b068 Refactored code and removed some issues 2022-10-30 15:42:26 -07:00
kinaryml 4b66599419 Updated docstring in gesture_recognizer 2022-10-30 09:10:15 -07:00
kinaryml f62cfd1690 Removed classification proto to use the existing category dataclass instead and removed NormalizedLandmarkList and LandmarkList dataclasses 2022-10-30 08:23:14 -07:00
kinaryml b81b5a9035 Added a test for min_gesture_confidence 2022-10-28 01:38:15 -07:00
kinaryml 8194513934 Updated docstrings and removed the redundant private helper method 2022-10-26 23:56:54 -07:00
kinaryml f8a98ccba4 Added a test utility method to compare protos directly 2022-10-25 23:38:32 -07:00