MCPcopy Create free account

hub / github.com/BAAI-Agents/Cradle / functions

Functions1,182 in github.com/BAAI-Agents/Cradle

↓ 1 callersFunctionconvert_ocr_bbox_format
(data)
cradle/utils/image_utils.py:1313
↓ 1 callersFunctioncrop_grow_image
(image_path: str, crop_area_border: tuple[int, int, int, int] = (8, 1, 8, 8), overwrite_flag: bool = False)
cradle/utils/image_utils.py:744
↓ 1 callersFunctioncv_buy_item
(item_name: str = "Parsnip Seeds", item_count: int = 10, debug: bool = False,
cradle/environment/stardew/composite_skills/buy_item.py:115
↓ 1 callersFunctioncv_follow_circles
Prioritize following the yellow circle. If not detected, then follow the gray circle.
cradle/environment/rdr2/composite_skills/follow.py:30
↓ 1 callersFunctioncv_go_to_icon
( iterations, template_file, terminal_threshold=20, debug=False, )
cradle/environment/rdr2/composite_skills/go_to_icon.py:90
↓ 1 callersFunctioncv_go_to_icon
( iterations, template_file, terminal_threshold=95, debug=False, gm=No
cradle/environment/stardew/composite_skills/go_through_door.py:142
↓ 1 callersFunctioncv_go_to_icon
( iterations, template_file, terminal_threshold=95, debug=False, gm=No
cradle/environment/stardew/composite_skills/shopping.py:144
↓ 1 callersFunctioncv_go_to_icon
( iterations, template_file, terminal_threshold=95, debug=False, gm=No
cradle/environment/stardew/composite_skills/go_home.py:139
↓ 1 callersFunctioncv_navigation
(total_iterations, terminal_threshold=NAVIGATION_TERMINAL_THRESHOLD, debug = False)
cradle/environment/rdr2/composite_skills/navigation.py:36
↓ 1 callersFunctioncv_open_shop_interface
()
cradle/environment/stardew/composite_skills/buy_item.py:47
↓ 1 callersFunctioncv_template_matching
(image_file_name: str, item_shop_icon_path: str, item_name: str, debug=False)
cradle/environment/stardew/composite_skills/buy_item.py:70
↓ 1 callersFunctiondecode_image
(base64_encoded_image)
cradle/utils/encoding_utils.py:48
↓ 1 callersMethoddelete_frame_cache
(self, frame_output_dir)
cradle/provider/video/video_frame_extractor.py:43
↓ 1 callersMethoddelete_skill
(self, skill_name: str)
cradle/environment/skill_registry.py:468
↓ 1 callersFunctiondeserialize_skills
(serialized_skills: Dict[str, Dict])
cradle/environment/utils.py:15
↓ 1 callersFunctiondraw_axis
(image, crop_region=None, axis_color=COLOURS["black"], axis_divis
cradle/utils/image_utils.py:902
↓ 1 callersFunctiondraw_color_band
(image, left_band_width=200, left_band_height=1080,
cradle/utils/image_utils.py:1106
↓ 1 callersFunctiondraw_grids
(image: Image, crop_region=None, axis_color=COLOURS["red"], axis_
cradle/utils/image_utils.py:1022
↓ 1 callersFunctiondraw_mask_panel
(image: Image, **kwargs)
cradle/utils/image_utils.py:983
↓ 1 callersFunctiondraw_mouse_pointer
(image: cv2.typing.MatLike, x, y)
cradle/utils/image_utils.py:119
↓ 1 callersFunctiondraw_mouse_pointer_file_
(image_path: str, x, y)
cradle/utils/image_utils.py:189
↓ 1 callersMethodembed_documents
Call out to OpenAI's embedding endpoint for embedding search docs. Args: texts: The list of texts to embed. Returns:
cradle/provider/llm/openai.py:218
↓ 1 callersFunctionencode_base64
(payload)
cradle/utils/encoding_utils.py:17
↓ 1 callersFunctionencode_image_path
(image_path)
cradle/utils/encoding_utils.py:33
↓ 1 callersFunctionentry
(args)
cradle/runner/app_runner.py:848
↓ 1 callersMethodexecute_actions
(self)
cradle/runner/app_runner.py:829
↓ 1 callersMethodexecute_nop_skill
(self)
cradle/environment/skill_registry.py:358
↓ 1 callersMethodexecute_parallel
(self, cur_inventories_shot_paths, gather_information_configurations, input)
cradle/planner/stardew_planner.py:579
↓ 1 callersMethodexecute_skill
(self, skill_name: str = "open_map", skill_params: Dict = None)
cradle/environment/skill_registry.py:342
↓ 1 callersMethodexit_back_to_pause
(self, env_name: str, ide_name: str)
cradle/environment/rdr2/ui_control.py:69
↓ 1 callersMethodexit_back_to_pause
(self, env_name: str, ide_name: str)
cradle/environment/skylines/ui_control.py:54
↓ 1 callersMethodexit_back_to_pause
(self, env_name: str, ide_name: str)
cradle/environment/dealers/ui_control.py:54
↓ 1 callersMethodexit_back_to_pause
(self, env_name: str, ide_name: str)
cradle/environment/stardew/ui_control.py:55
↓ 1 callersMethodextract_number
(self, data)
cradle/planner/stardew_planner.py:519
↓ 1 callersFunctionfilter_inner_bounding_boxes
(bboxes: List[Dict])
cradle/utils/image_utils.py:823
↓ 1 callersFunctionfilter_intersecting_rectangles
Filter out rectangles in rectangles1 that are within any rectangle in rectangles2 with a given padding.
cradle/utils/image_utils.py:1348
↓ 1 callersFunctionfilter_out_watermarks
(org_img, bboxes)
cradle/utils/image_utils.py:882
↓ 1 callersMethodfilter_skills
(self, skills)
cradle/environment/skill_registry.py:190
↓ 1 callersFunctionfilter_thin_ragged_masks
Applies morphological operations to filter out thin and ragged masks. Parameters: - masks: A list of ndarrays, where each ndarray is a b
cradle/utils/image_utils.py:430
↓ 1 callersFunctiongather_information_get_completion_parallel
(llm_provider, text_input_map, current_frame_path, time_stamp,
cradle/planner/planner.py:24
↓ 1 callersFunctiongather_information_get_completion_sequence
(llm_provider, text_input_map, current_frame_path, time_stamp,
cradle/planner/planner.py:72
↓ 1 callersFunctiongather_information_get_completion_sequence
(llm_provider, text_input_map, current_frame_path, time_stamp,
cradle/planner/rdr2_planner.py:74
↓ 1 callersFunctiongather_information_get_completion_sequence
(llm_provider, text_input_map, current_frame_path, time_stamp,
cradle/planner/stardew_planner.py:71
↓ 1 callersMethodgather_llm_description
(self, input)
cradle/planner/stardew_planner.py:541
↓ 1 callersMethodgather_toolbar_list
(self, match_dict, get_number_flag=True)
cradle/planner/stardew_planner.py:458
↓ 1 callersMethodgather_toolbar_parallel
(self, cur_inventories_shot_paths, gather_information_configurations)
cradle/planner/stardew_planner.py:531
↓ 1 callersFunctiongc
(c,l)
docs/js/fontawesome.all.min.js:5
↓ 1 callersFunctionget_active_window
()
cradle/gameio/gui_utils.py:435
↓ 1 callersMethodget_active_window
(self)
cradle/gameio/io_env.py:573
↓ 1 callersFunctionget_args_parser
()
runner.py:28
↓ 1 callersFunctionget_args_parser
()
log_processor.py:184
↓ 1 callersFunctionget_basic_info
Get basic information from video.
cradle/utils/video_utils.py:15
↓ 1 callersFunctionget_completion_in_parallel
(llm_provider, text_input_map, extracted_frame_paths, text_input,get_text_template,video_prefix,gathered_infor
cradle/planner/planner.py:121
↓ 1 callersFunctionget_completion_in_parallel
(llm_provider, text_input_map, extracted_frame_paths, text_input,get_text_template,video_prefix,gathered_infor
cradle/planner/rdr2_planner.py:123
↓ 1 callersFunctionget_completion_in_parallel
(llm_provider, text_input_map, extracted_frame_paths, text_input,get_text_template,video_prefix,gathered_infor
cradle/planner/stardew_planner.py:120
↓ 1 callersFunctionget_completion_in_parallel_tool
( llm_provider, text_input_map, extracted_frame_paths, inventory_names,
cradle/planner/stardew_planner.py:136
↓ 1 callersFunctionget_completion_in_sequence
(llm_provider, text_input_map, extracted_frame_paths, text_input,get_text_template,video_prefix,gathered_infor
cradle/planner/planner.py:137
↓ 1 callersFunctionget_completion_in_sequence
(llm_provider, text_input_map, extracted_frame_paths, text_input, get_text_template,
cradle/planner/rdr2_planner.py:174
↓ 1 callersFunctionget_completion_in_sequence
(llm_provider, text_input_map, extracted_frame_paths, text_input, get_text_template,
cradle/planner/stardew_planner.py:171
↓ 1 callersMethodget_credential_scope
(self, date)
cradle/provider/llm/restful_claude_client.py:96
↓ 1 callersMethodget_date_time
(self)
cradle/provider/llm/restful_claude_client.py:55
↓ 1 callersMethodget_frames
(self, start_frame_id, end_frame_id = None)
cradle/provider/video/video_recorder.py:117
↓ 1 callersMethodget_frames_to_latest
(self, frame_id, before_frame_nums=5)
cradle/provider/video/video_recorder.py:48
↓ 1 callersMethodget_from_skill_library
(self, skill_name: str, skill_library_with_code:
cradle/environment/skill_registry.py:275
↓ 1 callersMethodget_headers
(self, time, authorization_headers)
cradle/provider/llm/restful_claude_client.py:122
↓ 1 callersFunctionget_latest_directories_in_path
(path, count = 1)
cradle/utils/file_utils.py:41
↓ 1 callersFunctionget_mouse_location
(absolute = False)
cradle/gameio/gui_utils.py:385
↓ 1 callersFunctionget_mtm_match
(image: np.ndarray, template: np.ndarray, scales: list)
cradle/utils/template_matching.py:52
↓ 1 callersFunctionget_named_windows_fallback
(win_name, win_name_pattern)
cradle/gameio/gui_utils.py:496
↓ 1 callersMethodget_out_screen
(self)
cradle/gameio/game_manager.py:209
↓ 1 callersFunctionget_parent_window_handle
(window_handle: int)
cradle/gameio/gui_utils.py:515
↓ 1 callersFunctionget_screen_size
()
cradle/gameio/gui_utils.py:418
↓ 1 callersMethodget_signature
(self, key, string_to_sign)
cradle/provider/llm/restful_claude_client.py:112
↓ 1 callersMethodget_signing_key
(self, date)
cradle/provider/llm/restful_claude_client.py:107
↓ 1 callersMethodget_skill_code
(self, skill: Any)
cradle/environment/skill_registry.py:322
↓ 1 callersMethodget_string_to_sign
(self, time, credential_scope, canonical_request)
cradle/provider/llm/restful_claude_client.py:101
↓ 1 callersMethodget_theta
The origin of the image coordinate system is usually located in the upper left corner of the image, with the x-axis to the right indicating a
cradle/utils/object_utils.py:104
↓ 1 callersMethodget_theta
The origin of the image coordinate system is usually located in the upper left corner of the image, with the x-axis to the right indicating a
cradle/provider/circle_detector.py:34
↓ 1 callersFunctiongo_through_door
Move the character to go through a door. This function automates the action of moving the character to enter/leave a building by navigating throu
cradle/environment/stardew/composite_skills/go_through_door.py:33
↓ 1 callersFunctiongo_to_icon
Navigates to the closed icon of the target in the minimap. Parameters: - target: Name of the target icon type on the minimap. The defaul
cradle/environment/rdr2/composite_skills/go_to_icon.py:31
↓ 1 callersFunctiongo_to_icon
Navigates to the closed icon of the target in the minimap. Parameters: - target: Name of the target icon type on the minimap. The defaul
cradle/environment/stardew/composite_skills/go_through_door.py:45
↓ 1 callersFunctiongo_to_icon
Navigates to the closed icon of the target in the minimap. Parameters: - target: Name of the target icon type on the minimap. The defaul
cradle/environment/stardew/composite_skills/shopping.py:52
↓ 1 callersFunctiongo_to_icon
Navigates to the closed icon of the target in the minimap. Parameters: - target: Name of the target icon type on the minimap. The defaul
cradle/environment/stardew/composite_skills/go_home.py:44
↓ 1 callersMethodhandle_hold_in_pause
(self)
cradle/gameio/io_env.py:217
↓ 1 callersMethodhandle_hold_in_unpause
(self)
cradle/gameio/io_env.py:233
↓ 1 callersMethodhide
Hide the target window
cradle/gameio/gui_utils.py:216
↓ 1 callersFunctionicons_match
(icon_list: List[str], image_path = None)
cradle/utils/template_matching.py:149
↓ 1 callersFunctionindex_of_item_in_matched_template
Args: objects_list: The list of objects detected in the image by template matching item_name: The name of the item to be found in
cradle/environment/stardew/composite_skills/buy_item.py:52
↓ 1 callersMethodinit_provider
(self, provider_cfg )
cradle/provider/llm/openai.py:78
↓ 1 callersFunctionisHTML5
(unknown)
docs/js/bulma-carousel.js:255
↓ 1 callersFunctionisString
(unknown)
docs/js/bulma-slider.js:98
↓ 1 callersFunctionisVimeo
(unknown)
docs/js/bulma-carousel.js:264
↓ 1 callersFunctionisYoutube
(unknown)
docs/js/bulma-carousel.js:261
↓ 1 callersFunctionis_close_to_all_borders
(mask: np.ndarray, threshold: float)
cradle/utils/image_utils.py:406
↓ 1 callersFunctionis_edge
(x, y, width, height, range=5)
cradle/utils/template_matching.py:247
↓ 1 callersFunctionis_numbered_bullet_list_item
(s: str)
cradle/utils/string_utils.py:39
↓ 1 callersFunctionis_within
Check if bbox1 is within bbox2 with a padding. bbox is expected to be a tuple (x1, y1, x2, y2).
cradle/utils/image_utils.py:1335
↓ 1 callersFunctioniterate_buy_item
(item_bounding_box: Tuple[int, int, int, int], item_name: str = "Parsnip Seeds",
cradle/environment/stardew/composite_skills/buy_item.py:144
↓ 1 callersFunctionl
(t)
docs/js/bulma-slider.min.js:1
↓ 1 callersMethodload_env_config
Load environment specific configuration.
cradle/config/config.py:182
← previousnext →401–500 of 1,182, ranked by callers