detloclcheck
This is a mirror of https://gitlab.com/ug-cp/detloclcheck Detection and Localization of a Checkerboard calibration target containing L shape marker using template matching
Science Score: 65.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
✓Institutional organization owner
Organization ug-cp has institutional domain (physik.uni-greifswald.de) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Keywords
Repository
This is a mirror of https://gitlab.com/ug-cp/detloclcheck Detection and Localization of a Checkerboard calibration target containing L shape marker using template matching
Basic Info
- Host: GitHub
- Owner: ug-cp
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://ug-cp.gitlab.io/detloclcheck
- Size: 238 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
author: Daniel Mohr license: LGPL-3.0-or-later home: https://gitlab.com/ug-cp/detloclcheck mirror: https://github.com/ug-cp/detloclcheck documentation: https://ug-cp.gitlab.io/detloclcheck latest_release: https://gitlab.com/ug-cp/detloclcheck/-/releases/permalink/latest
doi: https://doi.org/10.5281/zenodo.15002509
DetLocLCheck -- Detection, Localization, Checkerboard, L marker
intro
DetLocLCheck is a software tool designed for the Detection and Localization
of Checkerboard calibration targets containing L-shape markers.
This tool utilizes template matching for initial detection,
followed by refinement using OpenCV's
cornerSubPix
function to achieve subpixel accuracy.
Finally, world coordinates are assigned to the detected markers.

install
Before installing DetLocLCheck, ensure that the required dependencies
are met:
We need at least the following Debian packages:
python3-numpy(numpy.org)python3-opencv(opencv.org)python3-pip(pip.pypa.io)
Important: On Ubuntu 22.04, do not install python3-hatchling and
python3-pathspec as they are too old.
Note that numpy is defined as a dependency in pyproject.toml, but we
strongly recommend using the package from your operating system's package
management system.
Similarly, opencv-python is not defined as a dependency in pyproject.toml.
The reason is that pip ignores the package from the package management
system from the operating system. As before we strongly recommend to use
the package from the package management system of your operating system.
If you still want to install opencv-python using pip, use the following
command (not recommended!):
sh
pip3 install opencv-python
The recommended way to install DetLocLCheck is:
sh
pip3 install --break-system-packages --user https://gitlab.com/ug-cp/detloclcheck/-/archive/0.1.2/detloclcheck-0.1.2.zip
On Ubuntu 22.04 the new flag --break-system-packages is not available and
you should do:
sh
pip3 install --user https://gitlab.com/ug-cp/detloclcheck/-/archive/0.1.2/detloclcheck-0.1.2.zip
For development you could install an editable version, e. g.:
sh
pip3 install --break-system-packages -e https://gitlab.com/ug-cp/detloclcheck/-/archive/0.1.2/detloclcheck-0.1.2.zip
This method only works with Python 3.10 and later.
If you really want to use the latest packages via pip you can do:
sh
python3 -m venv --upgrade-deps "$HOME"/.venv_DetLocLCheck
. "$HOME"/.venv_DetLocLCheck/bin/activate
pip3 install --user "DetLocLCheck[opencv-python] @ git+https://gitlab.com/ug-cp/detloclcheck.git"
Or for the headless version of opencv:
sh
pip3 install --user "DetLocLCheck[opencv-python-headless] @ git+https://gitlab.com/ug-cp/detloclcheck.git"
Example
Here are some examples of using DetLocLCheck:
Find and detect checkerboards in multiple images and handle the images in parallel:
sh
detloclcheck find_checkerboard -log_file cam.log -run_parallel \
-crosssizes 35 55 -min_sharpness 25 50 100 -f *.png
Create example data, do the detection, and visualize the result:
sh
detloclcheck create_checkerboard_image -outfile foo.png -size 23
detloclcheck find_checkerboard -f foo.png
detloclcheck visualize foo.json -i foo.png

You can also use the Python module detloclcheck instead of the
command-line interface:
```py import cv2
import matplotlib.pyplot
from detloclcheck.detectlocalizecheckerboard import \ detectlocalizecheckerboard
imagename = 'foo.png' grayimage = cv2.imread(imagename, cv2.COLORBGR2GRAY) coordinatesystem, zeropoint, axis1, axis2 = \ detectlocalizecheckerboard( grayimage, (11, 23), (0.0, 22.5, 45.0, 67.5, 90.0, 112.5, 135.0, 157.5)) matplotlib.pyplot.imshow(grayimage, cmap="Greys") matplotlib.pyplot.plot( coordinatesystem[:, 0, 0], coordinatesystem[:, 0, 1], 'r2', markersize=20) matplotlib.pyplot.plot(zeropoint[0], zeropoint[1], 'b1', markersize=20) for i in range(coordinatesystem.shape[0]): matplotlib.pyplot.text( coordinatesystem[i, 0, 0], coordinatesystem[i, 0, 1], f'({int(coordinatesystem[i, 1, 0])},' f'{int(coordinatesystem[i, 1, 1])})', color='g', fontsize='small', rotation=45) matplotlib.pyplot.show() ```
Citation
If you are using detloclcheck, please make it clear by citing:
Mohr, D. (2025). DetLocLCheck. Zenodo. https://doi.org/10.5281/zenodo.15002509
If you are using a specific version, please use the corresponding DOI.
copyright + license
Author: Daniel Mohr.
Date: 2025-07-16 (last change).
License: LGPL-3.0-or-later
Copyright (C) 2024-2025 Daniel Mohr
Owner
- Name: University of Greifswald, Colloidal Plasma Group
- Login: ug-cp
- Kind: organization
- Location: Germany
- Website: https://physik.uni-greifswald.de/en/research-groups/colloidal-plasmas-prof-andre-melzer/
- Repositories: 2
- Profile: https://github.com/ug-cp
Citation (CITATION.cff)
cff-version: 1.2.0
title: DetLocLCheck
message: If you use this software, please cite it using the metadata from this file.
type: software
authors:
- given-names: Daniel
family-names: Mohr
orcid: https://orcid.org/0000-0002-9382-6586
affiliation: Institute of Physics, University of Greifswald, Greifswald, Germany
identifiers:
- description: The concept DOI of the work.
type: doi
value: 10.5281/zenodo.15002509
repository-code: tbd
url: tbd
abstract: |-
DetLocLCheck is a software tool using template matching for the detection and localization of checkerboard calibration targets containing L-shape markers. It utilizes OpenCV's cornerSubPix function to achieve subpixel accuracy. The tool can be installed using pip and requires dependencies such as numpy and opencv-python. DetLocLCheck can be used to detect checkerboards in multiple images and assign world coordinates to the detected markers. It also allows for parallel processing and visualization of the results. The tool is licensed under LGPL-3.0-or-later and is suitable for applications in computer vision and robotics.
keywords:
- camera calibration
- checkerboard
- L-shaped marker
- template matching
- OpenCV
- computer vision
- calibration target
- marker localization
license: LGPL-3.0-or-later
doi: 10.5281/zenodo.15002509
GitHub Events
Total
- Push event: 11
- Public event: 1
- Create event: 1
Last Year
- Push event: 11
- Public event: 1
- Create event: 1
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- numpy *
- scipy *