Git Product home page Git Product logo

opencvmarkerprinter's People

Contributors

dogod621 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

opencvmarkerprinter's Issues

The format of .svg .pdf is ok, but the output of .pdf is empty

Thanks for you code, the format of .svg .pdf is ok, but the output of .pdf file is empty, the storage of .pdf file is only 1kb, then open it, it is an empty image. my packages is as follow,

Package Version


cairocffi 1.3.0
CairoSVG 2.5.2
certifi 2022.6.15
cffi 1.15.1
cssselect2 0.6.0
defusedxml 0.7.1
mkl-fft 1.3.1
mkl-random 1.2.2
mkl-service 2.4.0
numpy 1.22.3
Pillow 9.0.1
pip 21.2.2
pycairo 1.21.0
pycparser 2.21
setuptools 61.2.0
six 1.16.0
tinycss2 1.1.1
tk 0.1.0
webencodings 0.5.1
wheel 0.37.1
wincertstore 0.2

the version of python is 3.8

Not able to create anything

@dogod621 I tried to run your code but I am getting the following error. Can you please help me with this?

~/sanjay_ws/src/aruco_generator/OpenCVMarkerPrinter$ python MarkerPrinter.py --aruco --file "./aruco.pdf" --dictionary DICT_ARUCO_ORIGINAL --marker_length 0.07 --marker_id 0 --border_bits 1
Save ArUco marker with parms: {'pageBorderX': 0.0, 'borderBits': 1, 'markerID': 0, 'pageBorderY': 0.0, 'fileName': './aruco.pdf', 'markerLength': 0.07, 'dictionary': 'DICT_ARUCO_ORIGINAL'}
Traceback (most recent call last):
File "MarkerPrinter.py", line 1193, in
MarkerPrinter.GenArucoMarkerImage(args.fileName, args.dictionary, markerID, markerLength, borderBits=borderBits, pageBorder = (pageBorderX, pageBorderY))
File "MarkerPrinter.py", line 535, in GenArucoMarkerImage
markerLength + pageBorder[1] * 2) as surface:
AttributeError: exit

Charuco Grid

Hello,

First of all, thank you for the great GUI!
Would it be possible to adjust the charuco board generator to have the chessboard corners always on as the outside corners?
This allows to have the same grid that is generated with the "CharucoBoard_create" function.

image

Best,
Romeo

Be able to split single aruco marker in chunks

Currently it is only possible to split aruco boards into chunks. It would be nice, to be able to split single markers into chunks. Then a thin cutting border would make sense for each page.

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.