Skip to content

fixed typo#16445

Merged
alalek merged 2 commits intoopencv:3.4from
atinfinity:fixed-typo
Feb 16, 2020
Merged

fixed typo#16445
alalek merged 2 commits intoopencv:3.4from
atinfinity:fixed-typo

Conversation

@atinfinity
Copy link
Copy Markdown
Contributor

This pullrequest changes

I fixed the following typo in opencv.

  • lenght -> length
  • Lenght -> Length

<opencv_storage>
<charuco_dict>0</charuco_dict>
<charuco_square_lenght>200</charuco_square_lenght>
<charuco_square_length>200</charuco_square_length>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure about changing a config file because it can lead to incompatibility issues

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this compatibility code can handle migration:

if (readFromNode(reader["charuco_square_lenght"], mCapParams.charucoSquareLength))
    std::cout << "DEPRECATION: Parameter 'charuco_square_lenght' has been deprecated (typo). Use 'charuco_square_length' instead." << std::endl;
readFromNode(reader["charuco_square_length"], mCapParams.charucoSquareLength);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alalek @dkurt Thank you for your advice.

I believe this compatibility code can handle migration

I'll fix this point.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@atinfinity do you have progress on this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asmorkalov Sorry for the late reply. I'll try to do this weekend.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asmorkalov I fixed this point. db87044

Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contribution 👍

@alalek alalek merged commit f81fdd5 into opencv:3.4 Feb 16, 2020
@alalek alalek mentioned this pull request Feb 20, 2020
jshiwam pushed a commit to jshiwam/opencv that referenced this pull request Feb 22, 2020
* fixed typo

* add compatibility code to handle migration
jshiwam added a commit to jshiwam/opencv that referenced this pull request Feb 22, 2020
…m added

dnn: don't require setInput in .dump()

dnn: auto network dump through parameter

Improved GStreamer documentation.

improved documentation for imread()

videoio/MSMF: refactored format handling and selection, property reading and writing

dnn(test): skip failed ngraph tests

add cuda 10 support

3.4 docs for 3.4 branch

Resolve opencv#14566

Merge pull request opencv#16445 from atinfinity:fixed-typo

* fixed typo

* add compatibility code to handle migration

Enable Mask R-CNN with Inference Engine. Full coverage with nGraph

intrin: fixed int64->double conversion for AVX-512

Merge pull request opencv#16608 from vpisarev:fix_mac_ocl_tests

* fixed several problems when running tests on Mac:
* OCL_pyrUp
* OCL_flip
* some basic UMat tests
* histogram badarg test (out of range access)

* retained the storepix fix in ocl_flip only for 16U/16S datatype, where the OpenCL compiler on Mac generates incorrect code

* moved deletion of ACCESS_FAST flag to non-SVM branch (where SVM is shared virtual memory (in OpenCL 2.x), not support vector machine)

* force OpenCL to use read/write for GPU<=>CPU memory transfers on machines with discrete video only on Macs. On Windows/Linux the drivers are seemingly smart enough to implement map/unmap properly (and maybe more efficiently than explicit read/write)

Merge pull request opencv#16594 from vpisarev:hull_ordering_fix

fixed the ordering of contour convex hull points

* partially fixed the issue opencv#4539

* fixed warnings and test failures

* fixed integer overflow (issue opencv#14521)

* added comment to force buildbot to re-run

* extended the test for the issue 4539. Check the expected behaviour on the original contour as well

* added comment; fixed typo, renamed another variable for a little better clarity

* added yet another part to the test for issue opencv#4539, where we run convexHull and convexityDetects on the original contour, without any manipulations. the rest of the test stays the same
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants