MCPcopy Create free account

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

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

↓ 1 callersMethodload_skills_from_file
(self, file_path)
cradle/environment/skill_registry.py:111
↓ 1 callersMethodload_skills_from_scripts
(self)
cradle/environment/skill_registry.py:152
↓ 1 callersFunctionlooks_like_watermark
(org_img, bbox)
cradle/utils/image_utils.py:860
↓ 1 callersFunctionmain
(args)
runner.py:12
↓ 1 callersFunctionmain
(args)
log_processor.py:171
↓ 1 callersFunctionmatch_template
(src_file, template_file, template_resize_scale=1, debug=False, character=None)
cradle/environment/stardew/composite_skills/go_through_door.py:57
↓ 1 callersFunctionmatch_template
(src_file, template_file, template_resize_scale=1, debug=False, character=None)
cradle/environment/stardew/composite_skills/shopping.py:62
↓ 1 callersFunctionmatch_template
(src_file, template_file, template_resize_scale=1, debug=False, character=None)
cradle/environment/stardew/composite_skills/go_home.py:54
↓ 1 callersFunctionminimap_movement_detection
Detect whether two minimaps are the same to determine whether the character moves successfully. Args: image_path1, image_path2: 2 min
cradle/utils/image_utils.py:44
↓ 1 callersFunctionmouse_check_do_action
Engages with the game element located at the coordinates (x, y) by executing a click using the right mouse button. This function is essential for
cradle/environment/stardew/atomic_skills/basic_skills.py:13
↓ 1 callersFunctionmouse_click
(click_count, button, relative=False)
cradle/gameio/gui_utils.py:336
↓ 1 callersFunctionmouse_left_click
(x, y, duration=0.1)
cradle/environment/stardew/composite_skills/buy_item.py:170
↓ 1 callersMethodmouse_move_horizontal_angle
(self, theta)
cradle/gameio/io_env.py:298
↓ 1 callersFunctionmouse_move_to
(x, y, duration = -1, relative = False, screen_resolution = None, env_region = None)
cradle/gameio/gui_utils.py:345
↓ 1 callersFunctionmouse_wheel_scroll
(amount)
cradle/gameio/gui_utils.py:381
↓ 1 callersFunctionmove_mouse_to_position
Moves the mouse to the specified x, y corrdinates inside the application window. Parameters: - x: The normalized x-coordinate of the tar
cradle/environment/feishu/atomic_skills/interact.py:49
↓ 1 callersFunctionmove_mouse_to_position
Moves the mouse to the specified x, y corrdinates inside the application window. Parameters: - x: The normalized x-coordinate of the tar
cradle/environment/outlook/atomic_skills/interact.py:76
↓ 1 callersFunctiono
(t)
docs/js/bulma-slider.min.js:1
↓ 1 callersFunctionoverlay_image_on_background
(annotations: list, shape)
cradle/utils/image_utils.py:296
↓ 1 callersMethodpause_game
(self, env_name: str, ide_name: str)
cradle/environment/skylines/ui_control.py:24
↓ 1 callersMethodpause_game
(self, env_name: str, ide_name: str)
cradle/environment/dealers/ui_control.py:23
↓ 1 callersMethodpause_game
(self, env_name: str, ide_name: str)
cradle/environment/stardew/ui_control.py:23
↓ 1 callersFunctionpl
(c)
docs/js/fontawesome.all.min.js:5
↓ 1 callersFunctionplot_som
(screenshot_filename, bounding_boxes)
cradle/utils/image_utils.py:586
↓ 1 callersFunctionplot_som_multicolor
(screenshot_filename, bounding_boxes)
cradle/utils/image_utils.py:596
↓ 1 callersFunctionplot_som_unicolor
(screenshot_filename, bounding_boxes)
cradle/utils/image_utils.py:673
↓ 1 callersMethodpop_held_button
(self, button)
cradle/gameio/io_env.py:72
↓ 1 callersMethodpop_held_keys
(self, key)
cradle/gameio/io_env.py:115
↓ 1 callersMethodpost_action_wait
(self)
cradle/gameio/game_manager.py:204
↓ 1 callersMethodpre_process_skill_library
Pre-process the skill library to filter out specific functions. Args: skill_library_list (List[str]): The list of skills
cradle/environment/software/skill_registry.py:61
↓ 1 callersMethodpre_process_skill_steps
(skill_steps: List[str], som_map: Dict)
cradle/environment/software/skill_registry.py:81
↓ 1 callersFunctionpreloadInterpolationImages
()
docs/js/index.js:7
↓ 1 callersMethodprepare_toolbar_information
(self, tool_dict_list: List[Dict[str, Any]],
cradle/provider/process/information_gathering.py:382
↓ 1 callersFunctionpress_keys_combined
Presses the keys in the list combined. For example, when pressing the shortcut or hotkey combination 'ctrl + P'. Parameters: - keys: Lis
cradle/environment/outlook/atomic_skills/interact.py:36
↓ 1 callersFunctionprocess_image_for_masks
Process the image to find unique masks based on color channels. Args: original_image: A Image object of the original image. Returns
cradle/utils/image_utils.py:315
↓ 1 callersFunctionprocess_minimap_targets
(image_path)
cradle/utils/image_utils.py:1527
↓ 1 callersMethodput_held_button
(self, button)
cradle/gameio/io_env.py:87
↓ 1 callersMethodput_held_keys
(self, key)
cradle/gameio/io_env.py:128
↓ 1 callersFunctionrefine_json
(json_string)
cradle/utils/json_utils.py:65
↓ 1 callersFunctionrefine_masks
Refine the list of masks: - Fill holes of any size - Remove masks completely contained within other masks. Args: masks: A li
cradle/utils/image_utils.py:465
↓ 1 callersMethodrelease_held_buttons
(self)
cradle/gameio/io_env.py:489
↓ 1 callersMethodrelease_held_keys
(self)
cradle/gameio/io_env.py:484
↓ 1 callersFunctionremove_border_masks
Removes masks whose "on" pixels are close to the mask borders on all four sides. Parameters: - masks: A list of ndarrays, where each nda
cradle/utils/image_utils.py:394
↓ 1 callersFunctionremove_redundant_bboxes
(bboxes: list)
cradle/utils/image_utils.py:763
↓ 1 callersFunctionrender
(overlay, template_image, output_file_name='', view=False)
cradle/utils/template_matching.py:21
↓ 1 callersMethodreplace_icon
(self, image_paths)
cradle/utils/icon_utils.py:101
↓ 1 callersMethodreplace_icon
(self, image_paths)
cradle/provider/icon_replacer.py:102
↓ 1 callersMethodresizeTo
Resize the target window to the specified width and height
cradle/gameio/gui_utils.py:289
↓ 1 callersMethodrun
(self)
cradle/runner/rdr2_runner.py:157
↓ 1 callersMethodrun
(self)
cradle/runner/skylines_runner.py:183
↓ 1 callersMethodrun
(self)
cradle/runner/stardew_runner.py:167
↓ 1 callersMethodrun
(self)
cradle/runner/dealers_runner.py:171
↓ 1 callersMethodrun_action_planning
(self)
cradle/runner/rdr2_runner.py:259
↓ 1 callersMethodrun_action_planning
(self)
cradle/runner/skylines_runner.py:286
↓ 1 callersMethodrun_action_planning
(self)
cradle/runner/stardew_runner.py:277
↓ 1 callersMethodrun_action_planning
(self)
cradle/runner/app_runner.py:271
↓ 1 callersMethodrun_action_planning
(self)
cradle/runner/dealers_runner.py:265
↓ 1 callersMethodrun_information_gathering
(self)
cradle/runner/rdr2_runner.py:224
↓ 1 callersMethodrun_information_gathering
(self)
cradle/runner/skylines_runner.py:248
↓ 1 callersMethodrun_information_gathering
(self)
cradle/runner/stardew_runner.py:241
↓ 1 callersMethodrun_information_gathering
(self, debug=False)
cradle/runner/app_runner.py:235
↓ 1 callersMethodrun_information_gathering
(self)
cradle/runner/dealers_runner.py:229
↓ 1 callersMethodrun_self_reflection
(self)
cradle/runner/rdr2_runner.py:236
↓ 1 callersMethodrun_self_reflection
(self)
cradle/runner/skylines_runner.py:260
↓ 1 callersMethodrun_self_reflection
(self)
cradle/runner/stardew_runner.py:253
↓ 1 callersMethodrun_self_reflection
(self)
cradle/runner/app_runner.py:247
↓ 1 callersMethodrun_self_reflection
(self)
cradle/runner/dealers_runner.py:241
↓ 1 callersMethodrun_skill_curation
(self)
cradle/runner/rdr2_runner.py:273
↓ 1 callersMethodrun_skill_curation
(self)
cradle/runner/skylines_runner.py:304
↓ 1 callersMethodrun_skill_curation
(self)
cradle/runner/stardew_runner.py:295
↓ 1 callersMethodrun_skill_curation
(self)
cradle/runner/app_runner.py:283
↓ 1 callersMethodrun_skill_curation
(self)
cradle/runner/dealers_runner.py:280
↓ 1 callersMethodrun_sub_finder
(self, path_vsf, video_path, frame_output_dir, vsf_subtitle)
cradle/provider/video/video_frame_extractor.py:63
↓ 1 callersMethodrun_task_inference
(self)
cradle/runner/rdr2_runner.py:247
↓ 1 callersMethodrun_task_inference
(self)
cradle/runner/skylines_runner.py:274
↓ 1 callersMethodrun_task_inference
(self)
cradle/runner/stardew_runner.py:265
↓ 1 callersMethodrun_task_inference
(self)
cradle/runner/app_runner.py:259
↓ 1 callersMethodrun_task_inference
(self)
cradle/runner/dealers_runner.py:253
↓ 1 callersFunctionsave_annotate_frame
(image_source, boxes, logits, phrases, text_prompt, cur_screenshot_path)
cradle/utils/image_utils.py:1395
↓ 1 callersFunctionsave_image_diff
(path_1, path_2)
cradle/utils/image_utils.py:241
↓ 1 callersFunctionsegement_inventory
(toolbarshot_path)
cradle/utils/image_utils.py:1484
↓ 1 callersFunctionsegment_minimap
(screenshot_path)
cradle/utils/image_utils.py:1239
↓ 1 callersFunctionsegment_new_icon
(screenshot_path)
cradle/utils/image_utils.py:1456
↓ 1 callersFunctionsegment_toolbar
(screenshot_path)
cradle/utils/image_utils.py:1436
↓ 1 callersFunctionselect_weapon
Move the mouse to a specific location to select the weapon in the game. Parameters: - x: The normalized abscissa of the pixel. - y: T
cradle/environment/rdr2/atomic_skills/combat.py:18
↓ 1 callersFunctionselect_window
(named_windows: List[TargetWindow])
cradle/gameio/lifecycle/ui_control.py:47
↓ 1 callersFunctionserialize_data
Recursively convert non-serializable items in the dictionary.
cradle/utils/json_utils.py:20
↓ 1 callersFunctionserialize_skills
(skills: Dict[str, Skill])
cradle/environment/utils.py:10
↓ 1 callersMethodset_internal_params
(self, planner_params: Dict = None, use_task_inference
cradle/planner/planner.py:692
↓ 1 callersMethodset_internal_params
(self, planner_params: Dict = None, use_task_inference
cradle/planner/rdr2_planner.py:742
↓ 1 callersMethodset_internal_params
(self, planner_params: Dict = None, use_task_inference
cradle/planner/stardew_planner.py:864
↓ 1 callersMethodset_internal_params
(self, *args, **kwargs)
cradle/runner/rdr2_runner.py:63
↓ 1 callersMethodset_internal_params
(self, *args, **kwargs)
cradle/runner/skylines_runner.py:61
↓ 1 callersMethodset_internal_params
(self, *args, **kwargs)
cradle/runner/stardew_runner.py:61
↓ 1 callersMethodset_internal_params
(self, *args, **kwargs)
cradle/runner/app_runner.py:66
↓ 1 callersMethodset_internal_params
(self, *args, **kwargs)
cradle/runner/dealers_runner.py:57
↓ 1 callersFunctionsl
(c)
docs/js/fontawesome.all.min.js:5
↓ 1 callersFunctionstrip_anchor_chars
(s: str)
cradle/utils/string_utils.py:19
↓ 1 callersFunctiontake_screenshot
()
cradle/environment/stardew/composite_skills/go_through_door.py:246
↓ 1 callersFunctiontake_screenshot
()
cradle/environment/stardew/composite_skills/shopping.py:230
← previousnext →501–600 of 1,182, ranked by callers