Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/STRRL/dejavu
/ functions
Functions
57 in github.com/STRRL/dejavu
⨍
Functions
57
◇
Types & classes
25
↓ 3 callers
Method
into_response
(self)
src/http/error.rs:9
↓ 2 callers
Method
get_text_by_id
(&self, id: u32)
src/repository/sqlite.rs:165
↓ 2 callers
Function
index_html
()
src/http/frontend.rs:35
↓ 2 callers
Function
not_found
()
src/http/frontend.rs:42
↓ 1 callers
Method
archive
(&self, screenshot: &Screenshot)
src/image_archive/fs.rs:24
↓ 1 callers
Method
draw_box
( &self, origin_image: &mut DynamicImage, markup: &MarkupBox, color: image::Rg
src/markup.rs:52
↓ 1 callers
Method
fetch_image_with_markup
( &self, image_id: u32, text_ids: &Vec<u32>, )
src/http/service.rs:42
↓ 1 callers
Method
full_text_search
(&self, text: &str)
src/repository/sqlite.rs:187
↓ 1 callers
Method
get_image_by_id
(&self, id: u32)
src/repository/sqlite.rs:71
↓ 1 callers
Method
initialize
(&self)
src/repository/sqlite.rs:16
↓ 1 callers
Function
is_pixel_in_box
(x: u32, y: u32, box_: &MarkupBox)
src/markup.rs:95
↓ 1 callers
Function
is_pixel_in_boxes
(x: u32, y: u32, boxes: &Vec<MarkupBox>)
src/markup.rs:99
↓ 1 callers
Method
load
(&self, image_archive: &ImageArchive)
src/image_archive/fs.rs:18
↓ 1 callers
Method
markup_recognition
( &self, origin_image: &DynamicImage, markups: &Vec<MarkupBox>, )
src/markup.rs:25
↓ 1 callers
Method
recognize
(&self, image: &image::DynamicImage)
src/ocr.rs:63
↓ 1 callers
Method
save_image
(&self, entity: &EntityImage)
src/repository/sqlite.rs:53
↓ 1 callers
Method
save_texts
(&self, entities: &[EntityText])
src/repository/sqlite.rs:118
↓ 1 callers
Function
screen_image_2_image_image
(screen_image: Image)
src/screenshot.rs:73
↓ 1 callers
Method
search
(&self, text: &str)
src/http/service.rs:37
Function
Detail
()
webui/app/detail/page.tsx:5
Function
Home
()
webui/app/page.tsx:1
Function
Nav
()
webui/components/nav.tsx:7
Function
Providers
({ children, }: { children: React.ReactNode })
webui/app/providers.tsx:5
Function
RootLayout
({ children, }: { children: React.ReactNode })
webui/app/layout.tsx:15
Function
Search
()
webui/app/search/page.tsx:8
Method
archive
(&self, screenshot: &Screenshot)
src/image_archive/in_memory.rs:37
Method
capture
(&self)
src/screenshot.rs:36
Function
fetch_image_with_markup
( Extension(service): Extension<Arc<Service>>, Query(query): Query<ImageWithMarkupQuery>, )
src/http/mod.rs:30
Method
from
(err: E)
src/http/error.rs:22
Method
full_text_search
it's not a real full text search, just a simple filter for demo
src/repository/in_memory.rs:72
Method
get_image_by_id
(&self, id: u32)
src/repository/in_memory.rs:31
Method
get_text_by_id
(&self, id: u32)
src/repository/in_memory.rs:59
Method
load
(&self, image_archive: &ImageArchive)
src/image_archive/in_memory.rs:28
Function
main
()
src/main.rs:32
Method
new
(text: String, markup: MarkupBox, level: u32)
src/ocr.rs:12
Method
new
()
src/markup.rs:21
Method
new
()
src/screenshot.rs:17
Method
new
( ocr: Arc<dyn CharacterRecognizer + Send + Sync>, repo: Arc<dyn Repository + Send + Sync>,
src/analysis.rs:21
Method
new
( analysis: Arc<Analysis>, markup_decorator: Arc<ImageMarkupDecorator>, repo: Arc<dyn
src/http/service.rs:23
Method
new
( id: u32, archive_type: String, archive_info: String, captured_at_epoch: u64,
src/repository/mod.rs:15
Method
new
()
src/repository/in_memory.rs:12
Method
new
(pool: sqlx::Pool<sqlx_sqlite::Sqlite>)
src/repository/sqlite.rs:12
Method
new
(archive_type: String, archive_detail: String)
src/image_archive/mod.rs:14
Method
new
(storage_path: String)
src/image_archive/fs.rs:11
Method
new
()
src/image_archive/in_memory.rs:19
Method
new_i32
(left: i32, top: i32, width: i32, height: i32)
src/ocr.rs:38
Method
record_screenshot
(&self, screenshot: &Screenshot)
src/analysis.rs:33
Function
rewrites
()
webui/next.config.js:4
Function
safe_put_pixel
( origin_image: &mut DynamicImage, x: u32, y: u32, color: image::Rgba<u8>, )
src/markup.rs:6
Method
save_image
(&self, entity: &EntityImage)
src/repository/in_memory.rs:24
Method
save_text
(&self, entity: &EntityText)
src/repository/in_memory.rs:40
Method
save_text
(&self, entity: &EntityText)
src/repository/sqlite.rs:86
Method
save_texts
(&self, entities: &[EntityText])
src/repository/in_memory.rs:48
Function
search
( Extension(service): Extension<Arc<Service>>, Query(query): Query<SearchQuery>, )
src/http/mod.rs:15
Method
search
(&self, text: &str)
src/analysis.rs:52
Function
static_handler
(uri: Uri)
src/http/frontend.rs:12
Method
try_from
(value: &crate::ocr::RecognizeItem)
src/repository/mod.rs:66