MCPcopy Create free account

hub / github.com/Cicada000/VV / functions

Functions170 in github.com/Cicada000/VV

↓ 15 callersFunctionfetch
(request: Request, env: Env)
search/cloud/worker.ts:440
↓ 13 callersMethodload
(progressCallback = null)
Web/db_search.js:14
↓ 10 callersMethodupdate
(message: string)
search/cloud/tools/index-data.ts:934
↓ 7 callersMethodrun
(model: string, input: { text: string[] })
search/cloud/worker.ts:18
↓ 5 callersMethodcall_cloudflare_api
调用 Cloudflare API
search/local/search.py:132
↓ 5 callersFunctionwithRetry
( operation: () => Promise<T>, options: RetryOptions & { context?: string } = {} )
search/cloud/tools/index-data.ts:217
↓ 4 callersMethodhas_error_code
检查是否包含特定错误码
search/local/search.py:56
↓ 4 callersFunctionsaveEntries
(entries: SubtitleEntry[])
search/cloud/tools/index-data.ts:850
↓ 4 callersMethodsave_index
保存索引和条目数据到文件
search/local/search.py:648
↓ 3 callersFunctioncosine_similarity
计算两组向量间的余弦相似度 Args: A: shape (n_samples_1, n_features) B: shape (n_samples_2, n_features) Returns: 相似度矩阵: shape (
FaceRec_insightface.py:12
↓ 3 callersMethodparse_timestamp
将时间戳 (如 "2m28s") 转换为总秒数
CutSubtitle_paddleocr.py:46
↓ 3 callersMethodrelease
()
search/cloud/tools/index-data.ts:839
↓ 3 callersMethodsave_cloud_entries
保存云端同步状态
search/local/search.py:269
↓ 3 callersMethodsearch
(query, minRatio = 50, minSimilarity = 0)
Web/db_search.js:101
↓ 2 callersFunctionbatchConcurrent
( items: T[], batchSize: number, maxConcurrent: number, processor: (batch: T[]) => Promise<R[]
search/cloud/tools/index-data.ts:151
↓ 2 callersMethodclear
()
search/cloud/tools/index-data.ts:952
↓ 2 callersMethodclearCache
()
Web/db_search.js:2
↓ 2 callersFunctioncombine_files
(input_folders, output_file, index_file, grid_size=(60, 60))
DataProcess/merge_screenshot.py:74
↓ 2 callersFunctioncompleteLoadingBar
()
Web/script.js:1102
↓ 2 callersMethodcreate_index
(self)
search/local/search.py:614
↓ 2 callersFunctiondisplayResults
(data, append = false)
Web/script.js:762
↓ 2 callersMethodextract_face_encoding
(self, image)
generate_features.py:14
↓ 2 callersFunctionformatCloudflareErrors
(errors: CloudflareError[])
search/cloud/tools/index-data.ts:75
↓ 2 callersFunctiongenerateEmbeddings
(texts: string[])
search/cloud/tools/index-data.ts:298
↓ 2 callersMethodload_cloud_entries
加载云端同步状态
search/local/search.py:252
↓ 2 callersMethodload_index
从文件加载索引和条目数据
search/local/search.py:669
↓ 2 callersMethodload_subtitles
(self)
search/local/search.py:598
↓ 2 callersMethodquery
(vector: number[], options: { topK: number; filter?: { image_similarity?: { $gte:
search/cloud/worker.ts:41
↓ 2 callersFunctionupsertVectors
(vectors: VectorData[])
search/cloud/tools/index-data.ts:368
↓ 1 callersMethod__init__
(self, subtitle_folder, model_name='BAAI/bge-m3')
search/local/search.py:118
↓ 1 callersMethod_fetch_index
(self, group_index: int)
api/bot.py:23
↓ 1 callersMethod_handle_bot
(self)
api/bot.py:237
↓ 1 callersMethod_handle_preview
(self)
api/bot.py:212
↓ 1 callersMethod_parse_index
(self, index_data: bytes, folder_id: int, frame_num: int)
api/bot.py:36
↓ 1 callersMethod_process_frame
( self, frame: NDArray, frame_count: int, frame_rate: float, v
FaceRec_insightface.py:152
↓ 1 callersMethodacquire
()
search/cloud/tools/index-data.ts:829
↓ 1 callersMethodacquire
()
search/cloud/tools/index-data.ts:880
↓ 1 callersFunctioncheckApiCredentials
()
search/cloud/tools/index-data.ts:489
↓ 1 callersMethodcheckVersion
()
Web/db_search.js:7
↓ 1 callersMethodcheck_index_integrity
检查索引完整性并修复
search/local/search.py:809
↓ 1 callersFunctionclean_frames_folder
清理帧输出文件夹中的所有文件
main.py:9
↓ 1 callersMethodclean_text
使用正则清理文本末尾的标点符号和多余空格
CutSubtitle_paddleocr.py:38
↓ 1 callersMethodclearRandomString
()
Web/script.js:481
↓ 1 callersFunctioncreateIndex
()
search/cloud/tools/index-data.ts:383
↓ 1 callersFunctioncreate_binary_index
(mapping_data, index_file)
DataProcess/merge_screenshot.py:20
↓ 1 callersMethodcreate_cloudflare_index
创建或检查 Cloudflare 索引
search/local/search.py:313
↓ 1 callersFunctioncreate_subtitle_database
()
DataProcess/create_db.py:4
↓ 1 callersFunctiondefault_min_ratio
()
api/search/src/main.rs:49
↓ 1 callersFunctiondefault_min_similarity
()
api/search/src/main.rs:50
↓ 1 callersFunctiondeleteVectors
(ids: string[])
search/cloud/tools/index-data.ts:522
↓ 1 callersMethoddelete_cloudflare_index
删除Cloudflare向量索引
search/local/search.py:275
↓ 1 callersFunctionenableKeywordTags
()
Web/script.js:1163
↓ 1 callersFunctionextractFrame
(folderId, frameNum, baseDir = "")
Web/script.js:293
↓ 1 callersMethodextract_face_encoding
(self, image)
generate_features_insightface.py:16
↓ 1 callersMethodextract_face_encodings
提取人脸特征编码
FaceRec_insightface.py:68
↓ 1 callersMethodextract_face_encodings
(self, image)
FaceRec.py:26
↓ 1 callersFunctionextract_frame
(combined_file, index_file, folder_id, frame_num)
DataProcess/merge_screenshot.py:145
↓ 1 callersMethodextract_frame
(self, folder_id: int, frame_num: int)
api/bot.py:65
↓ 1 callersMethodfrom_response
从API响应创建错误实例
search/local/search.py:50
↓ 1 callersFunctiongenerateRandomId
()
search/cloud/tools/index-data.ts:816
↓ 1 callersMethodgenerate_features
(self, images_folder, output_file)
generate_features.py:26
↓ 1 callersMethodgenerate_features
(self)
generate_features_insightface.py:36
↓ 1 callersFunctiongenerate_subtitle_search_stream
Generates streaming JSON results from the Rust subtitle search API.
api/index.py:15
↓ 1 callersMethodgetDebugInfo
()
Web/db_search.js:2
↓ 1 callersFunctiongetSharedConfirmation
(error: Error, context: string = '')
search/cloud/tools/index-data.ts:175
↓ 1 callersMethodget_face_similarity
计算人脸相似度
FaceRec_insightface.py:78
↓ 1 callersMethodget_face_similarity
(self, frame)
FaceRec.py:55
↓ 1 callersFunctionget_video_progress
获取视频处理进度
main.py:20
↓ 1 callersFunctionget_video_url
将视频文件名和时间戳转换为bilibili的URL
search/local/mapping.py:274
↓ 1 callersFunctionhandleCardClick
(result)
Web/script.js:1147
↓ 1 callersFunctionhandleSearch
(event)
Web/script.js:598
↓ 1 callersFunctionhandle_inline_query
(update: Update)
api/bot.py:136
↓ 1 callersFunctionimport_subtitles
(subtitle_dir)
DataProcess/import_subtitles.py:5
↓ 1 callersFunctionindexData
()
search/cloud/tools/index-data.ts:961
↓ 1 callersFunctioninit
()
Web/script.js:6
↓ 1 callersFunctioninitializeApp
()
Web/script.js:637
↓ 1 callersFunctioninitializeScrollListener
()
Web/script.js:1108
↓ 1 callersMethodis_payload_too_large
检查是否是请求体过大错误
search/local/search.py:64
↓ 1 callersMethodis_rate_limit_error
检查是否是频率限制错误
search/local/search.py:60
↓ 1 callersMethodis_special_error
检查是否是特殊错误(无需重试)
search/local/search.py:68
↓ 1 callersMethodlcsRatio
(str1, str2)
Web/db_search.js:91
↓ 1 callersFunctionlcs_ratio
(str1: &str, str2: &str)
api/search/src/main.rs:52
↓ 1 callersFunctionloadExistingEntries
()
search/cloud/tools/index-data.ts:861
↓ 1 callersFunctionloadMapping
()
Web/script.js:396
↓ 1 callersFunctionloadPreviewImage
(card, result)
Web/script.js:914
↓ 1 callersMethodload_features
从NPZ文件加载预计算的特征向量
FaceRec.py:18
↓ 1 callersFunctionmain
()
DataProcess/main.py:5
↓ 1 callersFunctionmultiWordLcsRatio
(queryWords, text)
Web/search_worker.js:2
↓ 1 callersMethodmultiWordLcsRatio
(queryWords, text)
Web/db_search.js:91
↓ 1 callersFunctionmulti_word_lcs_ratio
(query_words: &[String], text: &str)
api/search/src/main.rs:98
↓ 1 callersFunctionoptimize_subtitle_database
()
DataProcess/compress_subtitle.py:7
↓ 1 callersFunctionparse_args
()
api/search/src/main.rs:216
↓ 1 callersMethodparse_timestamp
将时间戳 (如 "2m28s") 转换为总秒数
CutSubtitle.py:27
↓ 1 callersMethodperformSearch
(query, minRatio, minSimilarity)
Web/script.js:496
↓ 1 callersMethodprintDebugInfo
()
Web/db_search.js:7
↓ 1 callersFunctionprocessWithAI
(query: string, env: Env, debugLogs: string[], webSearchResults?: any[])
search/cloud/worker.ts:157
↓ 1 callersFunctionprocess_folder_groups
()
DataProcess/merge_screenshot.py:118
↓ 1 callersMethodprocess_frames
处理文件夹中的所有帧并生成字幕
CutSubtitle.py:63
↓ 1 callersMethodprocess_image
处理单个图像并提取文字
CutSubtitle.py:35
↓ 1 callersMethodprocess_image
(self, img_path)
CutSubtitle_paddleocr.py:54
next →1–100 of 170, ranked by callers