Commit Graph
92 Commits
Author SHA1 Message Date
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
kinaryml fbf7ba6f1a Reverted some changes to rect 2022-10-25 23:15:16 -07:00
kinaryml 75af46d273 Revised API to align with recent changes 2022-10-25 23:13:12 -07:00
kinaryml 8762d15c81 Added remaining tests for the GestureRecognizer Python MediaPipe Tasks API 2022-10-25 11:11:15 -07:00
kinaryml 18eb089d39 Added a simple test to verify gesture recognition results 2022-10-25 07:38:04 -07:00
kinaryml 9a1a9d4c13 Added files needed for the GestureRecognizer API implementation 2022-10-24 06:08:27 -07:00
kinaryml ebb2686fb4 Moved OutputType and Activation to image_segmenter 2022-10-22 03:34:26 -07:00
kinaryml 024a6866a7 Removed some unneeded aliases 2022-10-21 13:39:59 -07:00
kinaryml 5231a0ad9f Removed SegmenterOptions dataclasses to enumerate options within ImageSegmenterOptions instead 2022-10-21 13:34:30 -07:00
kinaryml 71d5b69544 Added files for the image embedder implementation and a simple test 2022-10-20 02:29:14 -07:00
kinaryml 91b60da1dc Updated name for a test case 2022-10-18 05:35:05 -07:00
kinaryml f166eb32e8 Updated names of test case methods 2022-10-18 04:34:17 -07:00
kinaryml 69f4daf9bc Removed unused BUILD 2022-10-18 04:31:35 -07:00
kinaryml 4932844410 Reverted changes to BUILD 2022-10-18 04:29:28 -07:00
kinaryml f84e0bc1c6 Revised API implementation and added more tests for segment_for_video and segment_async 2022-10-18 04:24:12 -07:00
kinaryml 803210a86b Simplified async test cases to invoke the classifier in context 2022-10-14 03:00:29 -07:00
kinaryml 6771fe69e9 Included checks for image sizes while running in async and roi mode 2022-10-11 22:52:18 -07:00
kinaryml 7726205d85 Added a test to run classify_async in region of interest mode 2022-10-11 22:42:50 -07:00
kinaryml 8ea0018397 Added a check to see if the output packet is empty in the API and updated tests 2022-10-11 22:34:56 -07:00
kinaryml 0a8dbc7576 Added remaining parameters to initialize the Rect data class 2022-10-10 13:58:37 -07:00
kinaryml c2672d040f Updated error message for the invalid model path test case 2022-10-10 08:19:12 -07:00
kinaryml 44e6f8e1a1 Updated image classifier to use a region of interest parameter 2022-10-10 08:15:40 -07:00
kinaryml cb806071ba Added more tests and updated the APIs to use a new constant 2022-10-07 22:26:49 -07:00
kinaryml e250c903f5 Added the ClassifyForVideo API 2022-10-05 05:24:52 -07:00
kinaryml ef31e3a482 Merge branch 'image-classification-python-impl' of https://github.com/kinaryml/mediapipe into image-classification-python-impl 2022-10-05 04:44:37 -07:00
kinaryml a22a5283d2 Adjusted namespaces 2022-10-05 04:43:30 -07:00
kinaryml 64d5c159c6 Fixed an auto formatting issue that caused classification_posprocessing_graph's registration to fail 2022-10-03 16:14:35 -07:00
kinaryml f241630b56 Revised implementation to align with recent changes 2022-10-03 15:11:48 -07:00
kinaryml 85af7ac9bc Removed unused BUILD 2022-09-29 13:36:07 -07:00
kinaryml 68fea17e30 Removed unused dependencies in BUILD 2022-09-29 13:34:10 -07:00
kinaryml bef2f6cced Updated implementation and tests 2022-09-29 03:40:56 -07:00
kinaryml cba2a6035c Code cleanup 2022-09-29 03:15:17 -07:00
kinaryml b04af0cafa Updated implementation and tests 2022-09-29 02:45:20 -07:00
kinaryml 8ad5918229 Removed some tests 2022-09-29 02:18:10 -07:00
kinaryml 72319ecbf5 Updated BUILD 2022-09-29 02:14:42 -07:00
kinaryml 63e0c04253 Updated BUILD and tests 2022-09-29 02:03:07 -07:00
kinaryml d25626ff63 Added Image Segmenter implementation and tests 2022-09-25 09:16:13 -07:00
kinaryml e028b24c42 Updated values for some constants 2022-09-21 04:34:19 -07:00
kinaryml bb750befd2 Updated ImageClassifierOptions docstring 2022-09-21 04:24:11 -07:00
kinaryml d8f7c5a43b Moved ClassifierOptions to mediapipe/tasks/python/components to align with the C++ API 2022-09-21 04:22:33 -07:00
kinaryml 660a88b7ea Code cleanup 2022-09-21 04:06:12 -07:00
kinaryml 500ad5a7f0 Updated some files 2022-09-21 03:43:18 -07:00
kinaryml 7287e5a0ed Added the image classifier task graph 2022-09-21 03:27:14 -07:00
kinaryml 3fbb2b002b Added image segmenter implementation files 2022-09-21 03:23:04 -07:00
kinaryml ec0c5f4341 Code cleanup 2022-09-11 14:00:49 -07:00
kinaryml cb52432159 Added image classification implementation files and associated tests 2022-09-08 06:23:03 -07:00