Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cicada000/VV
/ functions
Functions
170 in github.com/Cicada000/VV
⨍
Functions
170
◇
Types & classes
47
↳
Endpoints
3
↓ 15 callers
Function
fetch
(request: Request, env: Env)
search/cloud/worker.ts:440
↓ 13 callers
Method
load
(progressCallback = null)
Web/db_search.js:14
↓ 10 callers
Method
update
(message: string)
search/cloud/tools/index-data.ts:934
↓ 7 callers
Method
run
(model: string, input: { text: string[] })
search/cloud/worker.ts:18
↓ 5 callers
Method
call_cloudflare_api
调用 Cloudflare API
search/local/search.py:132
↓ 5 callers
Function
withRetry
( operation: () => Promise<T>, options: RetryOptions & { context?: string } = {} )
search/cloud/tools/index-data.ts:217
↓ 4 callers
Method
has_error_code
检查是否包含特定错误码
search/local/search.py:56
↓ 4 callers
Function
saveEntries
(entries: SubtitleEntry[])
search/cloud/tools/index-data.ts:850
↓ 4 callers
Method
save_index
保存索引和条目数据到文件
search/local/search.py:648
↓ 3 callers
Function
cosine_similarity
计算两组向量间的余弦相似度 Args: A: shape (n_samples_1, n_features) B: shape (n_samples_2, n_features) Returns: 相似度矩阵: shape (
FaceRec_insightface.py:12
↓ 3 callers
Method
parse_timestamp
将时间戳 (如 "2m28s") 转换为总秒数
CutSubtitle_paddleocr.py:46
↓ 3 callers
Method
release
()
search/cloud/tools/index-data.ts:839
↓ 3 callers
Method
save_cloud_entries
保存云端同步状态
search/local/search.py:269
↓ 3 callers
Method
search
(query, minRatio = 50, minSimilarity = 0)
Web/db_search.js:101
↓ 2 callers
Function
batchConcurrent
( items: T[], batchSize: number, maxConcurrent: number, processor: (batch: T[]) => Promise<R[]
search/cloud/tools/index-data.ts:151
↓ 2 callers
Method
clear
()
search/cloud/tools/index-data.ts:952
↓ 2 callers
Method
clearCache
()
Web/db_search.js:2
↓ 2 callers
Function
combine_files
(input_folders, output_file, index_file, grid_size=(60, 60))
DataProcess/merge_screenshot.py:74
↓ 2 callers
Function
completeLoadingBar
()
Web/script.js:1102
↓ 2 callers
Method
create_index
(self)
search/local/search.py:614
↓ 2 callers
Function
displayResults
(data, append = false)
Web/script.js:762
↓ 2 callers
Method
extract_face_encoding
(self, image)
generate_features.py:14
↓ 2 callers
Function
formatCloudflareErrors
(errors: CloudflareError[])
search/cloud/tools/index-data.ts:75
↓ 2 callers
Function
generateEmbeddings
(texts: string[])
search/cloud/tools/index-data.ts:298
↓ 2 callers
Method
load_cloud_entries
加载云端同步状态
search/local/search.py:252
↓ 2 callers
Method
load_index
从文件加载索引和条目数据
search/local/search.py:669
↓ 2 callers
Method
load_subtitles
(self)
search/local/search.py:598
↓ 2 callers
Method
query
(vector: number[], options: { topK: number; filter?: { image_similarity?: { $gte:
search/cloud/worker.ts:41
↓ 2 callers
Function
upsertVectors
(vectors: VectorData[])
search/cloud/tools/index-data.ts:368
↓ 1 callers
Method
__init__
(self, subtitle_folder, model_name='BAAI/bge-m3')
search/local/search.py:118
↓ 1 callers
Method
_fetch_index
(self, group_index: int)
api/bot.py:23
↓ 1 callers
Method
_handle_bot
(self)
api/bot.py:237
↓ 1 callers
Method
_handle_preview
(self)
api/bot.py:212
↓ 1 callers
Method
_parse_index
(self, index_data: bytes, folder_id: int, frame_num: int)
api/bot.py:36
↓ 1 callers
Method
_process_frame
( self, frame: NDArray, frame_count: int, frame_rate: float, v
FaceRec_insightface.py:152
↓ 1 callers
Method
acquire
()
search/cloud/tools/index-data.ts:829
↓ 1 callers
Method
acquire
()
search/cloud/tools/index-data.ts:880
↓ 1 callers
Function
checkApiCredentials
()
search/cloud/tools/index-data.ts:489
↓ 1 callers
Method
checkVersion
()
Web/db_search.js:7
↓ 1 callers
Method
check_index_integrity
检查索引完整性并修复
search/local/search.py:809
↓ 1 callers
Function
clean_frames_folder
清理帧输出文件夹中的所有文件
main.py:9
↓ 1 callers
Method
clean_text
使用正则清理文本末尾的标点符号和多余空格
CutSubtitle_paddleocr.py:38
↓ 1 callers
Method
clearRandomString
()
Web/script.js:481
↓ 1 callers
Function
createIndex
()
search/cloud/tools/index-data.ts:383
↓ 1 callers
Function
create_binary_index
(mapping_data, index_file)
DataProcess/merge_screenshot.py:20
↓ 1 callers
Method
create_cloudflare_index
创建或检查 Cloudflare 索引
search/local/search.py:313
↓ 1 callers
Function
create_subtitle_database
()
DataProcess/create_db.py:4
↓ 1 callers
Function
default_min_ratio
()
api/search/src/main.rs:49
↓ 1 callers
Function
default_min_similarity
()
api/search/src/main.rs:50
↓ 1 callers
Function
deleteVectors
(ids: string[])
search/cloud/tools/index-data.ts:522
↓ 1 callers
Method
delete_cloudflare_index
删除Cloudflare向量索引
search/local/search.py:275
↓ 1 callers
Function
enableKeywordTags
()
Web/script.js:1163
↓ 1 callers
Function
extractFrame
(folderId, frameNum, baseDir = "")
Web/script.js:293
↓ 1 callers
Method
extract_face_encoding
(self, image)
generate_features_insightface.py:16
↓ 1 callers
Method
extract_face_encodings
提取人脸特征编码
FaceRec_insightface.py:68
↓ 1 callers
Method
extract_face_encodings
(self, image)
FaceRec.py:26
↓ 1 callers
Function
extract_frame
(combined_file, index_file, folder_id, frame_num)
DataProcess/merge_screenshot.py:145
↓ 1 callers
Method
extract_frame
(self, folder_id: int, frame_num: int)
api/bot.py:65
↓ 1 callers
Method
from_response
从API响应创建错误实例
search/local/search.py:50
↓ 1 callers
Function
generateRandomId
()
search/cloud/tools/index-data.ts:816
↓ 1 callers
Method
generate_features
(self, images_folder, output_file)
generate_features.py:26
↓ 1 callers
Method
generate_features
(self)
generate_features_insightface.py:36
↓ 1 callers
Function
generate_subtitle_search_stream
Generates streaming JSON results from the Rust subtitle search API.
api/index.py:15
↓ 1 callers
Method
getDebugInfo
()
Web/db_search.js:2
↓ 1 callers
Function
getSharedConfirmation
(error: Error, context: string = '')
search/cloud/tools/index-data.ts:175
↓ 1 callers
Method
get_face_similarity
计算人脸相似度
FaceRec_insightface.py:78
↓ 1 callers
Method
get_face_similarity
(self, frame)
FaceRec.py:55
↓ 1 callers
Function
get_video_progress
获取视频处理进度
main.py:20
↓ 1 callers
Function
get_video_url
将视频文件名和时间戳转换为bilibili的URL
search/local/mapping.py:274
↓ 1 callers
Function
handleCardClick
(result)
Web/script.js:1147
↓ 1 callers
Function
handleSearch
(event)
Web/script.js:598
↓ 1 callers
Function
handle_inline_query
(update: Update)
api/bot.py:136
↓ 1 callers
Function
import_subtitles
(subtitle_dir)
DataProcess/import_subtitles.py:5
↓ 1 callers
Function
indexData
()
search/cloud/tools/index-data.ts:961
↓ 1 callers
Function
init
()
Web/script.js:6
↓ 1 callers
Function
initializeApp
()
Web/script.js:637
↓ 1 callers
Function
initializeScrollListener
()
Web/script.js:1108
↓ 1 callers
Method
is_payload_too_large
检查是否是请求体过大错误
search/local/search.py:64
↓ 1 callers
Method
is_rate_limit_error
检查是否是频率限制错误
search/local/search.py:60
↓ 1 callers
Method
is_special_error
检查是否是特殊错误(无需重试)
search/local/search.py:68
↓ 1 callers
Method
lcsRatio
(str1, str2)
Web/db_search.js:91
↓ 1 callers
Function
lcs_ratio
(str1: &str, str2: &str)
api/search/src/main.rs:52
↓ 1 callers
Function
loadExistingEntries
()
search/cloud/tools/index-data.ts:861
↓ 1 callers
Function
loadMapping
()
Web/script.js:396
↓ 1 callers
Function
loadPreviewImage
(card, result)
Web/script.js:914
↓ 1 callers
Method
load_features
从NPZ文件加载预计算的特征向量
FaceRec.py:18
↓ 1 callers
Function
main
()
DataProcess/main.py:5
↓ 1 callers
Function
multiWordLcsRatio
(queryWords, text)
Web/search_worker.js:2
↓ 1 callers
Method
multiWordLcsRatio
(queryWords, text)
Web/db_search.js:91
↓ 1 callers
Function
multi_word_lcs_ratio
(query_words: &[String], text: &str)
api/search/src/main.rs:98
↓ 1 callers
Function
optimize_subtitle_database
()
DataProcess/compress_subtitle.py:7
↓ 1 callers
Function
parse_args
()
api/search/src/main.rs:216
↓ 1 callers
Method
parse_timestamp
将时间戳 (如 "2m28s") 转换为总秒数
CutSubtitle.py:27
↓ 1 callers
Method
performSearch
(query, minRatio, minSimilarity)
Web/script.js:496
↓ 1 callers
Method
printDebugInfo
()
Web/db_search.js:7
↓ 1 callers
Function
processWithAI
(query: string, env: Env, debugLogs: string[], webSearchResults?: any[])
search/cloud/worker.ts:157
↓ 1 callers
Function
process_folder_groups
()
DataProcess/merge_screenshot.py:118
↓ 1 callers
Method
process_frames
处理文件夹中的所有帧并生成字幕
CutSubtitle.py:63
↓ 1 callers
Method
process_image
处理单个图像并提取文字
CutSubtitle.py:35
↓ 1 callers
Method
process_image
(self, img_path)
CutSubtitle_paddleocr.py:54
next →
1–100 of 170, ranked by callers