Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ocrs-extension/src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ chrome.action.onClicked.addListener(async (tab) => {
// Set up callback that performs text recognition.
//
// This takes a list of line indexes as input. The recognition time per
// line can be up to ~45% lower when recognizing a batch of similiar-length
// line can be up to ~45% lower when recognizing a batch of similar-length
// lines.
recognizeText = (lineIndexes: number[]) => {
const unrecognizedLines = lineIndexes.filter(
Expand Down
2 changes: 1 addition & 1 deletion ocrs-extension/src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export type TextOverlayOptions = {
container?: HTMLElement;

/**
* Whether the overlay is automatically dimissed when you click outside of
* Whether the overlay is automatically dismissed when you click outside of
* it. Defaults to true.
*/
autoDismiss?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion ocrs/src/detection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub struct TextDetector {
}

impl TextDetector {
/// Initializate a DetectionModel from a trained RTen model.
/// Initialize a DetectionModel from a trained RTen model.
///
/// This will fail if the model doesn't have the expected inputs or outputs.
pub fn from_model(model: Model, params: TextDetectorParams) -> anyhow::Result<TextDetector> {
Expand Down