Documentation ¶
Index ¶
- Variables
- func DownloadComicDir(src source.Source, pathFrom, pathTo string) (retErr error)
- func ExtractComic(src source.Source, arch archive.Extractor, pathFrom, pathTo string) (retErr error)
- func RemoveAll(ctx context.Context, dir string) error
- func WalkComics(src source.Source, root string, walkFn func(model.Comic) error) error
- type ComicAnalyzed
- type HCL
- type PageAnalyzed
- type PageDiagnostic
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrStopWalking = errors.New("stop walking")
)
Functions ¶
func DownloadComicDir ¶
func ExtractComic ¶
Types ¶
type ComicAnalyzed ¶
type ComicAnalyzed struct { Pages []PageAnalyzed AspectRatioAverage float64 AspectRatioVariance float64 AspectRatioStandardDeviation float64 HueHistogram50 [51]float64 ChromaHistogram50 [51]float64 LuminanceHistogram50 [51]float64 }
func AnalyzeComic ¶
func AnalyzeComic(src source.Source, dir string) (*ComicAnalyzed, error)
type PageAnalyzed ¶
type PageDiagnostic ¶
func DiagnosePages ¶
func DiagnosePages(pages []model.Page) (diagnostics []PageDiagnostic, _ error)
Click to show internal directories.
Click to hide internal directories.