Skip to content

Releases: DiamondLightSource/PuckBarcodeReader

Odd chars ignored

25 Aug 09:16
ead24ca
Compare
Choose a tag to compare

The codes which we use only contain letters, numbers, _, -.
Sometimes the decoding algorithms comes back with some other chars.
This change makes sure the wrongly decoded codes are ignored.

Use pylibdtmx to read barcodes

05 Jan 17:39
736b95f
Compare
Choose a tag to compare
  1. The puck scanner now uses pylibdtmx library instead of a 'home brewed' reader to read the data codes. The 'home brewed' reader was not able to read the codes engraved on our newly ordered pucks (couldn't decipher '\n' which was, for some reason, added at the end of each code). Switching to pylibdtmx has additional benefits:
  • pylibdtmx is much faster than the 'home brewed' code
  • the puck scanner code becomes simple and easier to maintain
  1. Puck scanner runs on python 3.9 with most recent version of all but the following libraries (latest versions resulted in pyinstaller errors) :
  • opencv-python 4.5.3.56 (latest 4.7.0.68)
  • scipy 1.8.1 (latest 1.10.0)

Patch for an error caused by reading non existing image

21 Nov 15:43
Compare
Choose a tag to compare

The program was producing this error once the image it tried to read wasn't there:
AttributeError: 'NoneType' object has no attribute 'shape'
It is now going to use a blank image if the image it tries to read doesn't exist.

Puck orientation algorithm and logs

02 Aug 12:23
5d0699b
Compare
Choose a tag to compare

Re-factorisation of scanner and capture workers

12 Jul 14:49
2f10933
Compare
Choose a tag to compare

This release mainly focuses on re-factorisation of scanner and capture workers.
It also fixes several smaller issues:

  • Improve the interface for setting the camera resolution
  • Better behaviour if selected camera can't be accessed
  • Simplify the calculations by fixing the camera position
  • Add side camera preview to the gui

Imporved backup & progress bar

09 May 10:50
Compare
Choose a tag to compare

This release includes two changes:

  1. the backup functionality got changed - the whole store is now backed up before delating
  2. the scan progress is now displayed on a progress bar not as a countdown

PyQt upgrade

01 Apr 16:14
Compare
Choose a tag to compare

PyQt upgrade is the biggest change of this release.
Other changes include:

  • adding logging - logs are passed to graylog
  • adding a countdown window to the gui
  • adding a backup functionality - the program will store the records which are deleted for a given number of weeks

User interface improvements

10 Jul 10:43
2564e91
Compare
Choose a tag to compare

The release includes mainly user interface changes:

  • result table got a new color for partially read pucks
  • a new start/stop scan button was added
  • the messages shown to the users have been revisited

Additionally the main window class has been refactored.

Puck orientation algorithm - improvement

25 Apr 16:07
017a8ed
Compare
Choose a tag to compare

Fixed camera settings button, improved performance of Travis build, improved puck orientation algorithm.

Allow duplicate records

18 Dec 11:42
Compare
Choose a tag to compare

Allows duplicate records. Puck barcode displayed in records table.
Icons now showing up. Added version number