Code Monkey home page Code Monkey logo

platedecoder's Introduction

Introduction

platedecoder decodes 2D DataMatrix bar codes present on specimen tubes in a n sized well plate. Images containing the 2D bar codes can come from the file system or a flatbed scanner.

It can decode different sized plates such as plates containing 96, 81, 100 and 144 wells. The 2D bar code can be present on the top or bottoms of the tubes.

It can also send the decoded bar codes to an OpenSpecimen server to link tubes to patients or positions.

Run

A distributatble package can be built by using the following command:

gradle distZip

When the command completes, the directory build/distributions will contains ZIP file. Unzip this file to a location where you'd like to install it and then run it by using the Linux script or the MS Windows batch file present in the bin directory. The ZIP file comes bundled with the required libraries.

MS Windows

To use the app in MS Windows, you will first have to install the Microsoft Visual C++ 2010 SP1 Redistributable Package (x86). This only needs to be done once per computer.

Development

Maven repository

This app uses a custom maven repository to retrieve it's dependant libraries. This repository is hosted on GitHub at:

https://github.com/cbsrbiobank/biobank-maven-repo/

Build Environment

This project uses Gradle as the build tool. You will need to intsall it to build this application.

To build the project type the following at the project's root directory:

gradle build

To run the application, type:

gradle run

To generate the Javadoc.

gradle -q --console=plain javadoc

To build an installation, type:

gradle installDist

Then copy the DLLs (or Linux shared libraries) to build/install/platedecoder/lib. The build/install/platedecoder .

The fat jar is placed in the build/libs directory.

See also gradle distZip.

Future

See launch4j for how to generate a Windows EXE file.

Emacs

To build from Emacs type: TERM="dumb" gradle build or gradle --console=plain build.

Eclim

Use the Graphical Installer to install Eclim.

For tests to run, the native library folder has to be added to the JVM parameters as follows:

<path_to_eclim>/eclim -command project_setting -p platedecoder -s org.eclim.java.junit.jvmargs -v \[\"-Djava.library.path=./lib\"\]

The path to Eclim for me is:

/home/nelson/.eclipse/org.eclipse.platform_4.5.0_1473617060_linux_gtk_x86_64

platedecoder's People

Contributors

nloyola avatar cbsrbiobank avatar

Watchers

 avatar  avatar James Cloos avatar

Forkers

nloyola

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.