yaac_backend

package
v0.0.0-...-4ea60fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

yaac_backend is the package containing all backend functionality for the yaac protoype

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	MVVM mvvm
}

func New

func New(mvvm mvvm) *Backend

func (*Backend) GetResponse

func (b *Backend) GetResponse(input yaac_shared.EmailData) string

GetResponse is the public exposed function to return the email data with given credentials

func (*Backend) StartGoCV

func (b *Backend) StartGoCV(image_path string, prog chan int) (string, bool)

Performs a warp-perspective transform on the image under image_path

 Input: image_path string -> Path to the image in the FS
 Output: (string, bool)

	string -> Depends on bool
		true -> Path to the transormed image in the FS
		false -> Error Message
	bool -> If the trasnformation was successfull

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL