Skip to content

gen_pattern.py doesn't work #21026

@kaixin-bai

Description

@kaixin-bai
System information (version)
Detailed description

I followed tutorial_camera_calibration_pattern to generate circle pattern:

python gen_pattern.py -o circleboard.svg --rows 7 --columns 5 --type circles --square_size 15

and then i got error:

Traceback (most recent call last):
  File "/home/kb/gen_pattern.py", line 217, in <module>
    main()
  File "/home/kb/gen_pattern.py", line 198, in main
    if len(args.markers) % 2 == 1:
TypeError: object of type 'NoneType' has no len()

It seems that -m is ONLY for radon checkerboard, but i cannot generate the other types of pattern without this parameter.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions