Skip to content

izofat/LX-Scanner-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LX-Scanner-Model

Introduction

LX-Scanner-Model is a project that aims to provide a model for the LX-Scanner project. The model is a simple representation of the scanner that can be used to test the scanner's functionality.

Installation

To install the model, simply clone the repository and run the following command:

make install

After installing all packages and dependencies, you can simply test if project configured successfully

make test

Alternatively, you can test with other image and languages

make test PATH=<path_to_image> LANG=<language>

Configuration

This project uses rabbitmq as a message broker. To configure the project, you need to set the following environment variables in the config.toml file:

[rabbitmq]
input_queue = "<input_queue>"
output_queue = "<output_queue>"

[rabbitmq."<env>"]
username = "guest"
password = "guest"
host = "localhost"
port = 5672
vhost = "/"

Change the input_queue and output_queue to the desired queue names. You can also change the username, password, host, port, and vhost to the desired values.

Usage

To use the model, you can simply run the following command:

make launch

This will launch the model and display the scanner's output.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published