1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-25 21:33:04 +04:00
Files
opencv/samples/python
chaebkimm f834736307 Merge pull request #24116 from chaebkimm/update-samples-python-tst_scene_render
Fix python sample code (tst_scene_render) #24116

Fix bug of python sample code (samples/python/tst_scene_render.py) when backGr or fgr is None (#24114)

1) pass shape tuple to np.zeros arguments instead of integers
2) change np.int to int

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [o] I agree to contribute to the project under Apache 2 License.
- [o] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [o] The PR is proposed to the proper branch
- [o] There is a reference to the original bug report and related work
- [o] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [o] The feature is well documented and sample code can be built with the project CMake
2023-08-09 13:46:25 +03:00
..
2015-12-18 11:00:32 +03:00
2019-10-16 18:49:33 +03:00
2023-06-23 22:19:08 +03:00
2019-08-19 22:52:00 +05:30
2019-10-16 18:49:33 +03:00
2022-01-24 11:13:56 +03:00
2019-12-27 12:46:53 +00:00
2020-03-31 22:18:21 +00:00
2022-01-24 11:13:56 +03:00
2019-11-01 18:59:35 +03:00
2019-10-16 18:49:33 +03:00
2022-01-24 11:13:56 +03:00
2019-10-16 18:49:33 +03:00
2021-07-01 18:26:17 +03:00
2020-02-20 16:19:24 +03:00
2021-07-01 18:26:17 +03:00
2021-02-21 23:02:16 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2021-06-30 12:50:21 +03:00
2021-06-30 12:50:21 +03:00
2021-07-01 18:26:17 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2018-02-08 05:52:08 -05:00
2019-09-20 18:03:26 +03:00
2019-10-16 18:49:33 +03:00
2023-01-03 22:45:49 +01:00
2019-11-01 18:59:35 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2021-06-30 12:50:21 +03:00
2019-12-30 13:00:29 +00:00