GitXplorerGitXplorer
j

o-ring-measurer

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
f3905ec064748c79359dcda6cf6198dd0ab98cb6

fix witness image with new numpy version

jjluningp committed 3 months ago
Verified
2a7d88720b70566335ec0aacbeceed6738ab822f

Update README.md

jjluningp committed 3 years ago
Unverified
5a7c852133bd9741352ab7d5c998d677c736535f

Adding red tape-based px/in measurements

committed 3 years ago
Unverified
669ae8e36c53b6ec820fe59e48144f30960728da

Merge branch 'main' of https://github.com/jluningp/o-ring-measurer

committed 3 years ago
Unverified
1f5a47d4999519ec1a1c0be68c7b49ea14fd3979

remove opaque oob error

committed 3 years ago
Verified
3e2a8411705d9f99dceca60ce6ded97fe9376cd3

Update README.md

jjluningp committed 3 years ago

README

The README file for this repository.

O-Ring Measurement Script

Usage

python3 diameter.py -h
usage: diameter.py [-h] [-t THRESHOLD] [-r RULER_THRESHOLD] -d DIRECTORY -o OUTPUT_DIRECTORY [-i] [-l RULER_LINE_HEIGHT] [-b] [-m]

optional arguments:
  -h, --help            show this help message and exit
  -t THRESHOLD, --threshold THRESHOLD
                        RGB threshold for o-ring color
  -r RULER_THRESHOLD, --ruler-threshold RULER_THRESHOLD
                        RGB threshold for rule color
  -d DIRECTORY, --directory DIRECTORY
                        Folder in which the o-ring images are found
  -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY
                        Folder to put processed images and csv in
  -i, --invert          Expect a ligher o-ring on a darker background
  -l RULER_LINE_HEIGHT, --ruler-line-height RULER_LINE_HEIGHT
                        Limit on the height of a ruler line
  -b, --debug           Outputs debugging images (dark, light) in rundir
  -m, --marked-ruler    Measures distance between two pieces of red tape on the ruler

Suggested Parameters

  1. Black o-rings: python3 diameter.py -d inputs -o results
  2. Clear o-rings: python3 diameter.py -d inputs -o results -i