MCPcopy Create free account

hub / github.com/STRRL/dejavu / functions

Functions57 in github.com/STRRL/dejavu

↓ 3 callersMethodinto_response
(self)
src/http/error.rs:9
↓ 2 callersMethodget_text_by_id
(&self, id: u32)
src/repository/sqlite.rs:165
↓ 2 callersFunctionindex_html
()
src/http/frontend.rs:35
↓ 2 callersFunctionnot_found
()
src/http/frontend.rs:42
↓ 1 callersMethodarchive
(&self, screenshot: &Screenshot)
src/image_archive/fs.rs:24
↓ 1 callersMethoddraw_box
( &self, origin_image: &mut DynamicImage, markup: &MarkupBox, color: image::Rg
src/markup.rs:52
↓ 1 callersMethodfetch_image_with_markup
( &self, image_id: u32, text_ids: &Vec<u32>, )
src/http/service.rs:42
↓ 1 callersMethodfull_text_search
(&self, text: &str)
src/repository/sqlite.rs:187
↓ 1 callersMethodget_image_by_id
(&self, id: u32)
src/repository/sqlite.rs:71
↓ 1 callersMethodinitialize
(&self)
src/repository/sqlite.rs:16
↓ 1 callersFunctionis_pixel_in_box
(x: u32, y: u32, box_: &MarkupBox)
src/markup.rs:95
↓ 1 callersFunctionis_pixel_in_boxes
(x: u32, y: u32, boxes: &Vec<MarkupBox>)
src/markup.rs:99
↓ 1 callersMethodload
(&self, image_archive: &ImageArchive)
src/image_archive/fs.rs:18
↓ 1 callersMethodmarkup_recognition
( &self, origin_image: &DynamicImage, markups: &Vec<MarkupBox>, )
src/markup.rs:25
↓ 1 callersMethodrecognize
(&self, image: &image::DynamicImage)
src/ocr.rs:63
↓ 1 callersMethodsave_image
(&self, entity: &EntityImage)
src/repository/sqlite.rs:53
↓ 1 callersMethodsave_texts
(&self, entities: &[EntityText])
src/repository/sqlite.rs:118
↓ 1 callersFunctionscreen_image_2_image_image
(screen_image: Image)
src/screenshot.rs:73
↓ 1 callersMethodsearch
(&self, text: &str)
src/http/service.rs:37
FunctionDetail
()
webui/app/detail/page.tsx:5
FunctionHome
()
webui/app/page.tsx:1
FunctionNav
()
webui/components/nav.tsx:7
FunctionProviders
({ children, }: { children: React.ReactNode })
webui/app/providers.tsx:5
FunctionRootLayout
({ children, }: { children: React.ReactNode })
webui/app/layout.tsx:15
FunctionSearch
()
webui/app/search/page.tsx:8
Methodarchive
(&self, screenshot: &Screenshot)
src/image_archive/in_memory.rs:37
Methodcapture
(&self)
src/screenshot.rs:36
Functionfetch_image_with_markup
( Extension(service): Extension<Arc<Service>>, Query(query): Query<ImageWithMarkupQuery>, )
src/http/mod.rs:30
Methodfrom
(err: E)
src/http/error.rs:22
Methodfull_text_search
it's not a real full text search, just a simple filter for demo
src/repository/in_memory.rs:72
Methodget_image_by_id
(&self, id: u32)
src/repository/in_memory.rs:31
Methodget_text_by_id
(&self, id: u32)
src/repository/in_memory.rs:59
Methodload
(&self, image_archive: &ImageArchive)
src/image_archive/in_memory.rs:28
Functionmain
()
src/main.rs:32
Methodnew
(text: String, markup: MarkupBox, level: u32)
src/ocr.rs:12
Methodnew
()
src/markup.rs:21
Methodnew
()
src/screenshot.rs:17
Methodnew
( ocr: Arc<dyn CharacterRecognizer + Send + Sync>, repo: Arc<dyn Repository + Send + Sync>,
src/analysis.rs:21
Methodnew
( analysis: Arc<Analysis>, markup_decorator: Arc<ImageMarkupDecorator>, repo: Arc<dyn
src/http/service.rs:23
Methodnew
( id: u32, archive_type: String, archive_info: String, captured_at_epoch: u64,
src/repository/mod.rs:15
Methodnew
()
src/repository/in_memory.rs:12
Methodnew
(pool: sqlx::Pool<sqlx_sqlite::Sqlite>)
src/repository/sqlite.rs:12
Methodnew
(archive_type: String, archive_detail: String)
src/image_archive/mod.rs:14
Methodnew
(storage_path: String)
src/image_archive/fs.rs:11
Methodnew
()
src/image_archive/in_memory.rs:19
Methodnew_i32
(left: i32, top: i32, width: i32, height: i32)
src/ocr.rs:38
Methodrecord_screenshot
(&self, screenshot: &Screenshot)
src/analysis.rs:33
Functionrewrites
()
webui/next.config.js:4
Functionsafe_put_pixel
( origin_image: &mut DynamicImage, x: u32, y: u32, color: image::Rgba<u8>, )
src/markup.rs:6
Methodsave_image
(&self, entity: &EntityImage)
src/repository/in_memory.rs:24
Methodsave_text
(&self, entity: &EntityText)
src/repository/in_memory.rs:40
Methodsave_text
(&self, entity: &EntityText)
src/repository/sqlite.rs:86
Methodsave_texts
(&self, entities: &[EntityText])
src/repository/in_memory.rs:48
Functionsearch
( Extension(service): Extension<Arc<Service>>, Query(query): Query<SearchQuery>, )
src/http/mod.rs:15
Methodsearch
(&self, text: &str)
src/analysis.rs:52
Functionstatic_handler
(uri: Uri)
src/http/frontend.rs:12
Methodtry_from
(value: &crate::ocr::RecognizeItem)
src/repository/mod.rs:66