MCPcopy Create free account

hub / github.com/CiaraStrawberry/TemporalKit / functions

Functions127 in github.com/CiaraStrawberry/TemporalKit

↓ 6 callersFunctionresize_image
(image, max_dimension)
scripts/optical_flow_simple.py:17
↓ 4 callersFunctionconvert_video_to_bytes
(input_file)
scripts/Berry_Method.py:165
↓ 3 callersFunctionread_image
(file_path)
scripts/optical_flow_simple.py:8
↓ 3 callersFunctionsave_image
(image, file_path)
scripts/optical_flow_simple.py:14
↓ 3 callersFunctionsplit_into_batches
(frames, batch_size, max_batches)
scripts/Berry_Method.py:31
↓ 2 callersFunctioncompute_optical_flow
(image1, image2)
scripts/optical_flow_simple.py:47
↓ 2 callersFunctioncreate_square_texture
(frames, max_size, side_length=3)
scripts/Berry_Method.py:40
↓ 2 callersFunctionfilter_mask
(mask, kernel_size=4, threshold_ratio=0.3,grayscale_intensity=1.0)
scripts/berry_utility.py:285
↓ 2 callersFunctioninterpolate_frames
(frame1, frame2, ratio)
scripts/berry_utility.py:632
↓ 2 callersFunctionnearest_common_multiple
(target, a, b)
scripts/berry_utility.py:454
↓ 2 callersFunctionnearest_multiple
(n, factor)
scripts/berry_utility.py:444
↓ 2 callersFunctionprocess_video
(frames, per_side, batch_size, fillindenoise, edgedenoise, _smol_resolution,square_texture)
scripts/Berry_Method.py:344
↓ 2 callersFunctionread_images_folder
(folder_path)
scripts/sd-TemporalKit-UI.py:222
↓ 2 callersFunctionsplit_frames_into_big_batches
Splits an array of numpy frames into batches of a given size, adding a certain number of border frames from the next batch to each batch.
scripts/Berry_Method.py:71
↓ 2 callersFunctionwarp_image
(image, flow)
scripts/optical_flow_simple.py:51
↓ 1 callersFunctionapply_flow_to_image_with_unused_mask
Apply an optical flow tensor to a NumPy image by moving the pixels based on the flow and create a mask where the remap meant there was nothing th
scripts/optical_flow_raft.py:231
↓ 1 callersFunctionatoi
(text)
scripts/sd-TemporalKit-UI.py:216
↓ 1 callersFunctionblend_batches
(batch_before, current_batch,resolution, blend_start_ratio=0.9, blend_end_ratio=0.1)
scripts/Berry_Method.py:504
↓ 1 callersFunctioncombine_images
(img1, img2, img3, img4, output_file, output_folder="debug")
scripts/optical_flow_simple.py:138
↓ 1 callersFunctioncreate_batch_tab
()
scripts/sd-TemporalKit-UI.py:475
↓ 1 callersFunctioncreate_diffusing_tab
()
scripts/sd-TemporalKit-UI.py:429
↓ 1 callersFunctioncreate_ebsynth_tab
()
scripts/sd-TemporalKit-UI.py:518
↓ 1 callersFunctioncreate_video_Processing_Tab
()
scripts/sd-TemporalKit-UI.py:365
↓ 1 callersFunctioncrossfade_frames
Crossfade between two video frames with a given alpha value.
scripts/berry_utility.py:532
↓ 1 callersFunctioncrossfade_images
Crossfade between two images with a given alpha value.
scripts/berry_utility.py:610
↓ 1 callersFunctiondivideFrames
(frame_groups, x, y)
scripts/Berry_Method.py:598
↓ 1 callersFunctionflow_to_color
(flow, max_flow=None)
scripts/optical_flow_simple.py:29
↓ 1 callersFunctiongaussian_weight
(d, sigma=1.0)
scripts/berry_utility.py:402
↓ 1 callersFunctionget_most_recent_file
(provided_directory)
scripts/sd-TemporalKit-UI.py:291
↓ 1 callersFunctionget_num_at_index
Get the starting number of the output images in a folder.
scripts/Ebsynth_Processing.py:214
↓ 1 callersFunctionget_target_size
(image,max_dimension)
scripts/optical_flow_raft.py:191
↓ 1 callersFunctionget_video_info
(video_path)
scripts/berry_utility.py:620
↓ 1 callersFunctiongethedfromsd
(image_path,resolution)
scripts/stable_diffusion_processing.py:133
↓ 1 callersFunctiongetkeynums
(folder_path)
scripts/Ebsynth_Processing.py:201
↓ 1 callersFunctioninfer
(frameA, frameB)
scripts/optical_flow_raft.py:78
↓ 1 callersFunctioninterpolate_frames
(frame1, frame2, alpha)
scripts/Berry_Method.py:537
↓ 1 callersFunctionis_different
(pixel1, pixel2)
scripts/berry_utility.py:426
↓ 1 callersFunctionmain
()
scripts/optical_flow_simple.py:126
↓ 1 callersFunctionmerge_image_batches
(image_batches, border)
scripts/Berry_Method.py:259
↓ 1 callersFunctionnumpy_array_to_temp_url
(img_array)
scripts/sd-TemporalKit-UI.py:265
↓ 1 callersFunctionpil_images_to_video
Saves an array of PIL images to a video file using MoviePy. Args: pil_images (list): A list of PIL images. output_file (str)
scripts/berry_utility.py:493
↓ 1 callersFunctionprepare_request
(allpaths,index,last_stylized,resolution,seed,last_mask,last_last_mask,fillindenoise,edgedenoise,target,diffus
scripts/stable_diffusion_processing.py:91
↓ 1 callersFunctionpreprocess
(img1_batch, img2_batch)
scripts/optical_flow_raft.py:96
↓ 1 callersFunctionprocess_image
(image1, image2, provided_image, output_folder, flow_output_folder, max_dimension, index)
scripts/optical_flow_simple.py:88
↓ 1 callersFunctionresize_image
(image, max_dimension_x, max_dimension_y)
scripts/berry_utility.py:308
↓ 1 callersFunctionresize_image
(image, new_height,new_width)
scripts/optical_flow_raft.py:187
↓ 1 callersMethodrun
(self, p)
scripts/TemporalKitImg2ImgTab.py:58
↓ 1 callersFunctionsave_image
(image, filename, directory)
scripts/TemporalKitImg2ImgTab.py:15
↓ 1 callersFunctionsave_image
(image, file_path)
scripts/optical_flow_raft.py:184
↓ 1 callersFunctionsave_optical_flow
(flow, file_path, max_flow=None)
scripts/optical_flow_simple.py:42
↓ 1 callersFunctionsave_scenes_as_numpy_arrays
(scene_list, video_path, target_fps=None, original_fps=None, perform_interpolation=True)
scripts/berry_utility.py:731
↓ 1 callersFunctionsave_square_texture
(texture, file_path)
scripts/Berry_Method.py:148
↓ 1 callersFunctionsend_request_in_chain
(last_image_path,current_image_path,last_warped_path,mask,index,seed,fillindenoise,resolution)
scripts/stable_diffusion_processing.py:165
↓ 1 callersFunctionsplit_square_texture
(texture, num_frames,max_frames, _smol_resolution,ebsynth=False)
scripts/Berry_Method.py:116
↓ 1 callersFunctiontexture_to_base64
(texture)
scripts/berry_utility.py:215
↓ 1 callersFunctiontrim_images
Trims the given list of lists of image arrays so that the total number of image arrays is below the specified maximum. Removes whole image ar
scripts/Berry_Method.py:630
Functionapply_flow_based_on_images
(image1_path, image2_path, provided_image_path,max_dimension, index,output_folder)
scripts/optical_flow_raft.py:105
Functionapply_flow_to_image
Apply optical flow transforms to an input image :param image: input image :param flow: optical flow map :return: warped image
scripts/optical_flow_raft.py:142
Functionapply_flow_to_image_try3
Apply an optical flow tensor to a NumPy image by moving the pixels based on the flow. Args: image (np.ndarray): Input image with
scripts/optical_flow_raft.py:203
Functionapply_image_to_vide_batch
(input_folder,video,fps,per_side,output_resolution,batch_size,max_frames,border_frames)
scripts/sd-TemporalKit-UI.py:133
Functionapply_image_to_video
(image,video,fps,per_side,output_resolution,batch_size)
scripts/sd-TemporalKit-UI.py:130
Functionavg_edge_pixels
(img)
scripts/berry_utility.py:405
Functionb64_to_img
(enc: str)
scripts/sd-TemporalKit-UI.py:621
Functionbase64_to_texture
(base64_string)
scripts/berry_utility.py:229
Functionbatch_sd_run
(y_paths, initial,count,seed,skip_first,fillindenoise,edgedenoise,smol_resolution,Forwards,target,diffuse)
scripts/stable_diffusion_processing.py:259
Functionblend_images
(img1, img2, alpha=0.5)
scripts/berry_utility.py:488
Functioncalculate_intensity
(flow_map,frame_count)
scripts/berry_utility.py:26
Functioncheck_edges
(image)
scripts/berry_utility.py:422
Functioncombine_masks
Combine three grayscale masks into one by overlaying them. Args: mask1 (np.ndarray): First grayscale mask with shape (height, wi
scripts/berry_utility.py:239
Functionconvert_video_to_bytes
(input_file)
scripts/berry_utility.py:696
Functioncopy_video
Copy a video file from source_path to destination_path. :param source_path: str, path to the source video file :param destination_path:
scripts/berry_utility.py:516
Functioncreate_hole_mask
(flow_map)
scripts/berry_utility.py:254
Functioncrossfade_folder_of_folders
Crossfade between images in a folder of folders and save the results.
scripts/Ebsynth_Processing.py:121
Functioncrossfade_videos
a python function and i need it to input an array of video paths, an array of the indexes where the videos overlap with the next vide
scripts/berry_utility.py:544
Functiondelete_folder_contents
(folder_path)
scripts/berry_utility.py:477
Functiondisplay_interface
(interface)
scripts/sd-TemporalKit-UI.py:287
Functionextract_frames_movpie
(input_video, target_fps, max_frames=None, perform_interpolation=False)
scripts/berry_utility.py:617
Functionflow_to_rgb
Convert optical flow to RGB image :param flow: optical flow map :return: RGB image
scripts/optical_flow_raft.py:27
Functiongenerate
( input_image: Image.Image, instruction: str, steps: int, randomize_seed: bool, seed: int,
scripts/sd-TemporalKit-UI.py:583
Functiongenerate_square_from_video
(video_path, fps, batch_size,resolution,size_size)
scripts/Berry_Method.py:176
Functiongenerate_squares_to_folder
(video_path, fps, batch_size,resolution,size_size,max_frames,output_folder,border,ebsynth_mode,max_frames_to_s
scripts/Berry_Method.py:191
Functionget_image_paths
(folder)
scripts/berry_utility.py:206
Functionharden_mask
(encoded_image,taper)
scripts/berry_utility.py:114
Functionimage_folder_to_video
Turns a folder of images into a video using MoviePy. :param folder_path: str, path to the folder containing the images :param output_fil
scripts/Berry_Method.py:475
Functionimg_to_b64
(image: Image.Image)
scripts/sd-TemporalKit-UI.py:616
Functioninterpolate_video
(input_path, output_path, output_fps)
scripts/Berry_Method.py:548
Functioninvert_base64_image
(base64_str: str)
scripts/berry_utility.py:93
Functionis_similar_color
Returns True if pixel1 and pixel2 are similar in color within the given threshold, False otherwise.
scripts/berry_utility.py:393
Functionmask_to_grayscale
(mask)
scripts/berry_utility.py:46
Functionnatural_keys
(text)
scripts/sd-TemporalKit-UI.py:219
Functionnumpy_array_to_data_uri
(img_array)
scripts/sd-TemporalKit-UI.py:244
Functionon_button_click
()
scripts/TemporalKitImg2ImgTab.py:24
Functionon_ui_settings
()
scripts/sd-TemporalKit-UI.py:606
Functionon_ui_tabs
()
scripts/sd-TemporalKit-UI.py:563
Functionoverlay_base64_images
(encoded_image1, encoded_image2)
scripts/berry_utility.py:188
Functionpost_process_ebsynth
(input_folder,video,fps,per_side,output_resolution,batch_size,max_frames,border_frames)
scripts/sd-TemporalKit-UI.py:139
Functionpreprocess_video
(video,fps,batch_size,per_side,resolution,batch_run,max_frames,output_path,border_frames,ebsynth_mode,split_vi
scripts/sd-TemporalKit-UI.py:56
Functionprocess_image_basic
(image1_path, image2_path, provided_image_path,max_dimension, index,output_folder)
scripts/optical_flow_simple.py:63
Functionprocess_images
(input_folder, output_folder, flow_output_folder, provided_image_path, max_dimension)
scripts/optical_flow_simple.py:105
Functionprocess_video_batch
(video_path_old, fps, per_side, batch_size, fillindenoise, edgedenoise, _smol_resolution,square_textures,max_f
scripts/Berry_Method.py:293
next →1–100 of 127, ranked by callers