Skip to content

hesamgithub/DatamatrixDetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

DatamatrixDetector

Snippets Describing a Simple Data matrix Detector using a heuristic approach

This is a very simple almost toy project that I had done a while ago for detection and decoding of datamatrices.

here is a brief description of what it does in plain english:

It looks for squares (all datamatrices are square shaped)
Cuts and warps them.
Assumes all the squares are all datamatrices !
Cuts them finely before reconstructing them.
Based on the above mentioned presumption tries to reconstruct the squares as datamatrices.
Once reconstructed, passes them to pylibdmtx decode method to see if it contains someting,
and that is pretty much it.

I have included the class that does the heavy lifting (all that is mentioned above) however, you might want to rewrite that based on your use case, camera API, etc. I had tested it ulsing Allied Vision cameras and it worked pretty decently.

My test settings were:
Allied vision stingray camera,
Infrared lighting,
A Core i5 Windows Machine,

My test results were:
About 20 frames (1,280 x 720 pixels) per sec using camera Async API

It was a learning project for me. I'm putting it out there so maybe another learner would learn from it.
that's all folks!

About

Snippets Describing a Simple Data matrix Detector using a Heuristic Approach

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages