Git Product home page Git Product logo

diagnostics_via_dvd's Introduction

Diagnostics Via Disk

Ramp up COVID-19 testing using frugal devices: CD/DVD drives

GUI screenshot

How to use

  • A graphical user interface.
  • A command-line interface is also available.

All this is proof-of-concept level. It works for us yet the performance might be bad with some specific hardware (CD readers) and there are conditions that we do not test (like no drive or several drives).

Requirements

Hardware

  • Linux machine with a CD/DVD/BluRay reader/player. For example, a Raspberry Pi and a USB-to-IDE or USB-to-SATA plus external drive is fine.
  • CD/DVD/BluRay disk.

Software

The code is built upon:

Quick install, on Debian and derivatives, using system Python

This is the quickest solution, recommended if you can install everything via packages, for example on Ubuntu 20.04.

Especially on Raspberry Pi where Debian supplies all necessary packages compiled for the Pi's ARM architecture, while Python-side solutions often lack ARM builds.

bash install-debian-system_python.sh

Quick install, on Debian and derivatives, using a ad-hoc python virtualenv

This can be useful in older distributions, for example Ubuntu 18.04.

The script installs the base requirements and uses a python virtual environment for other python requirements

bash install-debian-virtualenv.sh

Other cases

Details are provided above for a Debian-based OS (including Ubuntu and Raspberry Pi OS).

For other Linux-based distributions, have a look at the scripts, your distributions most certainly provides equivalent commands and perhaps necessary packages.

Once you have python3 and pip3 running, most of the rest can be pulled via pythonic ways of doing rather than distribution-centric ways.

For example, if some package foo is not available on your distributions via apt-get install or equivalent, you may try pip3 install foo in the virtualenv.

That said, you will most certainly need builds of libcdio and libiso9660, for example libcdio-dev and libiso9660-dev. If those are not available at all, you may need to recompile them from scratch.

Launch software

Run using bash script

Opens the GUI from the diagvdisk virtual environment created by install-debian-virtualenv.sh

bash run.sh

Run Manually

python3 diagnostics_via_disk.py

Quick install & run snippet

git clone https://github.com/zray007/Diagnostics-via-Disk
cd Diagnostics-via-Disk
sudo bash install-debian-system_python.sh
sudo bash run.sh

Test access to CD-Rom drive

Click on "Open tray" and "Close tray". The default CD/DVD drive on the system should do what you expect.

diagnostics_via_dvd's People

Contributors

binaya-s avatar zray007 avatar

Watchers

 avatar

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.