opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

Update chessboard_corners.jl

Open yakir12 opened this issue 4 years ago • 3 comments

Just added a download so that the user doesn't need to manually do it.

yakir12 avatar Jun 17 '21 18:06 yakir12

/cc @archit120

alalek avatar Jun 19 '21 08:06 alalek

Add a check if the file already exists?

archit120 avatar Jun 20 '21 17:06 archit120

How would you check that? By name? This is a downloaded file, it could have been named to whatever, indeed, in this PR I download it to a temp file (I don't even know what it's named to). Adding a known md5sum would be a nice touch, but the identification of the content of the file is implied by the link, and in any case, that would seem like an overkill for this kind of MWE. But if you disagree, go right ahead. The main intention with this PR has only been to facilitate running this example, so a user can include this file and have it just work (rather than manually downloading that file, naming it to something specific, etc).

yakir12 avatar Jun 23 '21 08:06 yakir12