platform/upstream/opencv.git
6 years agoimgcodecs: fix imwrite handling of different OutputArray types
Alexander Alekhin [Tue, 22 May 2018 10:56:17 +0000 (13:56 +0300)]
imgcodecs: fix imwrite handling of different OutputArray types

6 years agoimgcodecs: added test for imwrite parameter types
Alexander Alekhin [Tue, 22 May 2018 10:55:14 +0000 (13:55 +0300)]
imgcodecs: added test for imwrite parameter types

issue 11545

6 years agoMerge pull request #11390 from dkurt:east_text_detection
Alexander Alekhin [Mon, 21 May 2018 13:02:29 +0000 (13:02 +0000)]
Merge pull request #11390 from dkurt:east_text_detection

6 years agoMerge pull request #11555 from alalek:fix_videocapture_frame_lifetime
Alexander Alekhin [Mon, 21 May 2018 10:35:36 +0000 (10:35 +0000)]
Merge pull request #11555 from alalek:fix_videocapture_frame_lifetime

6 years agovideoio: fix lifetime management of data of input frames
Alexander Alekhin [Mon, 21 May 2018 09:07:02 +0000 (12:07 +0300)]
videoio: fix lifetime management of data of input frames

6 years agoMerge pull request #11536 from catree:add_tutorial_highgui_trackbar_python_java
Alexander Alekhin [Mon, 21 May 2018 09:21:06 +0000 (09:21 +0000)]
Merge pull request #11536 from catree:add_tutorial_highgui_trackbar_python_java

6 years agoMerge pull request #11541 from lupustr3:pvlasov/icv_package_hotfix
Alexander Alekhin [Mon, 21 May 2018 08:03:52 +0000 (08:03 +0000)]
Merge pull request #11541 from lupustr3:pvlasov/icv_package_hotfix

6 years agoMerge pull request #11550 from tomoaki0705:fixCudaAsync
Alexander Alekhin [Sun, 20 May 2018 20:59:33 +0000 (20:59 +0000)]
Merge pull request #11550 from tomoaki0705:fixCudaAsync

6 years agoMerge pull request #11546 from shengyu7697:tab_to_space
Alexander Alekhin [Sun, 20 May 2018 20:58:51 +0000 (20:58 +0000)]
Merge pull request #11546 from shengyu7697:tab_to_space

6 years agofix the test failure of CUDA_Arithm/MeanStdDev
Tomoaki Teshima [Sun, 20 May 2018 10:38:02 +0000 (19:38 +0900)]
fix the test failure of CUDA_Arithm/MeanStdDev

6 years agofix wrong indentation on github page (tab to space)
shengyu [Sat, 19 May 2018 03:06:54 +0000 (11:06 +0800)]
fix wrong indentation on github page (tab to space)

6 years agoReturn a convex hull from rotatedRectangleIntersection
Dmitry Kurtaev [Mon, 30 Apr 2018 18:51:33 +0000 (21:51 +0300)]
Return a convex hull from rotatedRectangleIntersection

6 years agoMerge pull request #11531 from alalek:issue_11518
Alexander Alekhin [Fri, 18 May 2018 10:59:27 +0000 (10:59 +0000)]
Merge pull request #11531 from alalek:issue_11518

6 years agoMerge pull request #11537 from alalek:build_warnings
Alexander Alekhin [Fri, 18 May 2018 10:50:32 +0000 (10:50 +0000)]
Merge pull request #11537 from alalek:build_warnings

6 years agoHotfix packages with several fixes in IW code including:
Pavel Vlasov [Fri, 18 May 2018 09:08:22 +0000 (12:08 +0300)]
Hotfix packages with several fixes in IW code including:

    __STDCALL macro change to support IPP 2018u3+ external packages
    Memory leak fix in Gaussian filter
    Improved checkers for OpenMP supported features
    Improved declarations for atomic operations.

ICV binary and package version are the same.

6 years agoAdd Java and Python code for trackbar tutorial.
catree [Thu, 17 May 2018 12:19:08 +0000 (14:19 +0200)]
Add Java and Python code for trackbar tutorial.

6 years agofix build warnings
Alexander Alekhin [Thu, 17 May 2018 15:29:04 +0000 (18:29 +0300)]
fix build warnings

6 years agoMerge pull request #11520 from terfendail:ffmpeg_icapture
Alexander Alekhin [Thu, 17 May 2018 15:28:58 +0000 (15:28 +0000)]
Merge pull request #11520 from terfendail:ffmpeg_icapture

6 years agoMerge pull request #11523 from alalek:bigdata_tests
Alexander Alekhin [Thu, 17 May 2018 14:53:19 +0000 (14:53 +0000)]
Merge pull request #11523 from alalek:bigdata_tests

6 years agophoto: initialize cos() table with double type
Alexander Alekhin [Thu, 17 May 2018 12:30:11 +0000 (15:30 +0300)]
photo: initialize cos() table with double type

This avoids MSVC 19.14.26428.1 to call vectorized __vdecl_cosf4() function with less precision.

6 years agoMerge pull request #11529 from catree:add_tutorial_morphology_python_java
Alexander Alekhin [Wed, 16 May 2018 19:40:02 +0000 (19:40 +0000)]
Merge pull request #11529 from catree:add_tutorial_morphology_python_java

6 years agoMerge pull request #11397 from pengli:dnn_half
Alexander Alekhin [Wed, 16 May 2018 18:40:12 +0000 (18:40 +0000)]
Merge pull request #11397 from pengli:dnn_half

6 years agophoto(test): update test checks
Alexander Alekhin [Wed, 16 May 2018 14:58:16 +0000 (17:58 +0300)]
photo(test): update test checks

- allow 5% of changed pixels with intensity difference <= 1

6 years agoadd fp16 accuracy and perf test
Li Peng [Sat, 28 Apr 2018 15:50:37 +0000 (23:50 +0800)]
add fp16 accuracy and perf test

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agofp16 ocl support for more layers
Li Peng [Thu, 26 Apr 2018 11:36:19 +0000 (19:36 +0800)]
fp16 ocl support for more layers

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agofp16 ocl support for googlenet
Li Peng [Thu, 26 Apr 2018 11:22:29 +0000 (19:22 +0800)]
fp16 ocl support for googlenet

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agodnn fp16 support
Li Peng [Thu, 26 Apr 2018 11:20:16 +0000 (19:20 +0800)]
dnn fp16 support

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agoFFMPEG-based VideoCapture and VideoWriter backend changed to C++ interface
Vitaly Tuzov [Tue, 15 May 2018 12:12:49 +0000 (15:12 +0300)]
FFMPEG-based VideoCapture and VideoWriter backend changed to C++ interface

6 years agoMerge pull request #11494 from tomoaki0705:fixOpenCLDnn
Alexander Alekhin [Wed, 16 May 2018 14:11:36 +0000 (14:11 +0000)]
Merge pull request #11494 from tomoaki0705:fixOpenCLDnn

6 years agoAdd Java and Python code for morphology tutorials.
catree [Wed, 16 May 2018 12:05:39 +0000 (14:05 +0200)]
Add Java and Python code for morphology tutorials.

6 years agoMerge pull request #11528 from tomoaki0705:fixTabSpaceLibTiff
Alexander Alekhin [Wed, 16 May 2018 12:15:38 +0000 (12:15 +0000)]
Merge pull request #11528 from tomoaki0705:fixTabSpaceLibTiff

6 years agoMerge pull request #11525 from alalek:issue_11511
Alexander Alekhin [Wed, 16 May 2018 12:14:11 +0000 (12:14 +0000)]
Merge pull request #11525 from alalek:issue_11511

6 years agowork around of the test failure of opencv_test_dnn
Tomoaki Teshima [Wed, 16 May 2018 10:23:19 +0000 (19:23 +0900)]
work around of the test failure of opencv_test_dnn
  * let OpenCL kernel run only on Intel GPU
  * brush up the workaround based on 9a2b028 from alalek

6 years agoremove Tab
Tomoaki Teshima [Wed, 16 May 2018 09:56:23 +0000 (18:56 +0900)]
remove Tab

6 years agoMerge pull request #11526 from nglee:dev_cudaMeanStdDevFix
Alexander Alekhin [Wed, 16 May 2018 09:29:26 +0000 (09:29 +0000)]
Merge pull request #11526 from nglee:dev_cudaMeanStdDevFix

6 years agocuda_meanStdDev : bug fix
Namgoo Lee [Tue, 15 May 2018 18:31:47 +0000 (03:31 +0900)]
cuda_meanStdDev : bug fix

6 years agoMerge pull request #11519 from paroj:openni_color
Alexander Alekhin [Tue, 15 May 2018 16:54:24 +0000 (16:54 +0000)]
Merge pull request #11519 from paroj:openni_color

6 years agocuda: avoid unnecessary cudaStreamSynchronize() call
Alexander Alekhin [Tue, 15 May 2018 15:38:22 +0000 (18:38 +0300)]
cuda: avoid unnecessary cudaStreamSynchronize() call

resolves #11511

6 years agotests: add "bigdata" tests
Alexander Alekhin [Tue, 15 May 2018 12:56:26 +0000 (15:56 +0300)]
tests: add "bigdata" tests

6 years agots: add BigData tests category (skipped by default)
Alexander Alekhin [Tue, 15 May 2018 11:35:55 +0000 (14:35 +0300)]
ts: add BigData tests category (skipped by default)

Pass --test_bigdata to allow launching of "BigData" tests.

6 years agosamples: openni_capture - use COLORMAP_JET for depth visualization
Pavel Rojtberg [Tue, 15 May 2018 09:29:51 +0000 (11:29 +0200)]
samples: openni_capture - use COLORMAP_JET for depth visualization

instead of an ad-hoc implementation of it

6 years agoMerge pull request #11482 from allnes:gst_remove_container
Alexander Alekhin [Mon, 14 May 2018 16:14:10 +0000 (16:14 +0000)]
Merge pull request #11482 from allnes:gst_remove_container

6 years agoRemove command line argument related to container
Alexander Nesterov [Tue, 8 May 2018 20:41:05 +0000 (23:41 +0300)]
Remove command line argument related to container

6 years agohandle huge matrices correctly (#11505)
Vadim Pisarevsky [Mon, 14 May 2018 12:29:14 +0000 (15:29 +0300)]
handle huge matrices correctly (#11505)

* make sure that the matrix with more than INT_MAX elements is marked as non-continuous, and thus all the pixel-wise functions process it correctly (i.e. row-by-row, not as a single row, where integer overflow may occur when computing the total number of elements)

6 years agoMerge pull request #11497 from alalek:libjpeg-turbo
Alexander Alekhin [Mon, 14 May 2018 12:17:10 +0000 (12:17 +0000)]
Merge pull request #11497 from alalek:libjpeg-turbo

6 years agoMerge pull request #11506 from catree:tutorial_euler_angles_doc
Alexander Alekhin [Sun, 13 May 2018 17:36:13 +0000 (17:36 +0000)]
Merge pull request #11506 from catree:tutorial_euler_angles_doc

6 years agoMerge pull request #11504 from alalek:check_flake8
Alexander Alekhin [Sat, 12 May 2018 08:58:08 +0000 (08:58 +0000)]
Merge pull request #11504 from alalek:check_flake8

6 years agoClarify the Euler angles convention chosen. Replace rotation inverse with matrix...
catree [Fri, 11 May 2018 23:11:13 +0000 (01:11 +0200)]
Clarify the Euler angles convention chosen. Replace rotation inverse with matrix transpose.

6 years ago3rdparty: integrate libjpeg-turbo build scripts into OpenCV
Alexander Alekhin [Thu, 10 May 2018 14:02:24 +0000 (17:02 +0300)]
3rdparty: integrate libjpeg-turbo build scripts into OpenCV

6 years ago3rdparty: added libjpeg-turbo source code (1.5.3)
Alexander Alekhin [Thu, 10 May 2018 12:50:35 +0000 (15:50 +0300)]
3rdparty: added libjpeg-turbo source code (1.5.3)

Repo: https://github.com/libjpeg-turbo/libjpeg-turbo.git
Tag: 1.5.3

excluded libjpeg-turbo files:
- bmp.c
- bmp.h
- cderror.h
- cdjpeg.c
- cdjpeg.h
- cjpeg.c
- djpeg.c
- example.c
- jcstest.c
- jdatadst-tj.c
- jdatasrc-tj.c
- jpegtran.c
- rdbmp.c
- rdcolmap.c
- rdgif.c
- rdjpgcom.c
- rdppm.c
- rdrle.c
- rdswitch.c
- rdtarga.c
- tjbench.c
- tjunittest.c
- tjutil.c
- tjutil.h
- transupp.c
- transupp.h
- turbojpeg-jni.c
- turbojpeg.c
- turbojpeg.h
- wrbmp.c
- wrgif.c
- wrjpgcom.c
- wrppm.c
- wrrle.c
- wrtarga.c

6 years agoeliminate 'git diff ---check' false alarms for Markdown files
Alexander Alekhin [Fri, 11 May 2018 11:32:19 +0000 (14:32 +0300)]
eliminate 'git diff ---check' false alarms for Markdown files

6 years agocmake: added check_flake8 target
Alexander Alekhin [Fri, 11 May 2018 10:52:15 +0000 (13:52 +0300)]
cmake: added check_flake8 target

6 years agopython: better Python 3 support
Alexander Alekhin [Fri, 11 May 2018 10:29:28 +0000 (13:29 +0300)]
python: better Python 3 support

6 years agoMerge pull request #11445 from cclauss:file-long-raw_input-xrange
Alexander Alekhin [Fri, 11 May 2018 13:28:52 +0000 (13:28 +0000)]
Merge pull request #11445 from cclauss:file-long-raw_input-xrange

6 years agoMerge pull request #11444 from cclauss:patch-2
Alexander Alekhin [Fri, 11 May 2018 13:28:27 +0000 (13:28 +0000)]
Merge pull request #11444 from cclauss:patch-2

6 years agoMerge pull request #11443 from cclauss:fix-Python-string-format
Alexander Alekhin [Fri, 11 May 2018 13:26:41 +0000 (13:26 +0000)]
Merge pull request #11443 from cclauss:fix-Python-string-format

6 years agoMerge pull request #11442 from cclauss:print-function
Alexander Alekhin [Fri, 11 May 2018 13:26:04 +0000 (13:26 +0000)]
Merge pull request #11442 from cclauss:print-function

6 years agoEAST: An Efficient and Accurate Scene Text Detector (https://arxiv.org/abs/1704.03155v2)
Dmitry Kurtaev [Tue, 24 Apr 2018 15:25:43 +0000 (18:25 +0300)]
EAST: An Efficient and Accurate Scene Text Detector (https://arxiv.org/abs/1704.03155v2)

6 years agoMerge pull request #11502 from berak:fix_knearest
Alexander Alekhin [Fri, 11 May 2018 11:47:13 +0000 (11:47 +0000)]
Merge pull request #11502 from berak:fix_knearest

6 years agoml: fix caching of internal state when changing the impl in KNearest
berak [Fri, 11 May 2018 09:47:02 +0000 (11:47 +0200)]
ml: fix caching of internal state when changing the impl in KNearest

6 years agoMerge pull request #11459 from dkurt:dnn_mobilenet_v2
Alexander Alekhin [Fri, 11 May 2018 09:48:05 +0000 (09:48 +0000)]
Merge pull request #11459 from dkurt:dnn_mobilenet_v2

6 years agoMerge pull request #11461 from dkurt:dnn_reduce_mem_consumption
Alexander Alekhin [Fri, 11 May 2018 09:47:03 +0000 (09:47 +0000)]
Merge pull request #11461 from dkurt:dnn_reduce_mem_consumption

6 years agoMerge pull request #11498 from matech96:camshift_publication_date
Alexander Alekhin [Fri, 11 May 2018 06:47:15 +0000 (06:47 +0000)]
Merge pull request #11498 from matech96:camshift_publication_date

6 years agoUpdate py_meanshift.markdown
matech96 [Thu, 10 May 2018 20:07:50 +0000 (22:07 +0200)]
Update py_meanshift.markdown

Fix publication date of "Computer Vision Face Tracking for Use in a Perceptual User Interface" from 1988 to 1998.

6 years agoFuse multipliers but not convolution layers weights
Dmitry Kurtaev [Fri, 4 May 2018 09:09:06 +0000 (12:09 +0300)]
Fuse multipliers but not convolution layers weights

6 years agoMerge pull request #11418 from K-Shinotsuka:issue42
Vadim Pisarevsky [Thu, 10 May 2018 15:15:04 +0000 (15:15 +0000)]
Merge pull request #11418 from K-Shinotsuka:issue42

6 years agoMerge pull request #11430 from K-Shinotsuka:issue43
Vadim Pisarevsky [Thu, 10 May 2018 15:14:39 +0000 (15:14 +0000)]
Merge pull request #11430 from K-Shinotsuka:issue43

6 years agoMerge pull request #11490 from shengyu7697:tab_to_space
Alexander Alekhin [Thu, 10 May 2018 14:41:07 +0000 (14:41 +0000)]
Merge pull request #11490 from shengyu7697:tab_to_space

6 years agoMerge pull request #11489 from alalek:fix_arm_build
Alexander Alekhin [Thu, 10 May 2018 14:37:51 +0000 (14:37 +0000)]
Merge pull request #11489 from alalek:fix_arm_build

6 years agoMerge pull request #11476 from tomoaki0705:fixCudaSampleBuildError
Alexander Alekhin [Wed, 9 May 2018 20:48:33 +0000 (20:48 +0000)]
Merge pull request #11476 from tomoaki0705:fixCudaSampleBuildError

6 years agoMerge pull request #11483 from nglee:dev_cudaCannyStreamIssue
Namgoo Lee [Wed, 9 May 2018 20:44:34 +0000 (05:44 +0900)]
Merge pull request #11483 from nglee:dev_cudaCannyStreamIssue

cuda_canny : multi stream safety (#11483)

* CUDA_ImgProc/Canny Asynchronous test

* cuda_canny : multi stream safety (1/3)

- Convert global variable canny::counter to class local variable

* cuda_canny : multi stream safety (2/3)

- Use texture objects rather than texture reference for cc >= 3.0,
  since texture reference must be declared as a static global variable
  which results in race condition when ran concurrently

* cuda_canny : multi stream safety (3/3)

- Refrain from using global variable in row_filter and column_filter
  (converts column_filter::c_kernel and row_filter::c_kernel to local
  variables)

* Fixes #11193

6 years agocore: fix ARM intrinsincs
Alexander Alekhin [Sun, 6 May 2018 23:54:10 +0000 (02:54 +0300)]
core: fix ARM intrinsincs

'0' is specific case (make no sence as a standalone operation),
but it can be useful in template-based programming.

reverts commit: a58c9d4d630926ed81beda1a8f7f8ec52165949e

6 years agoMerge pull request #11478 from cabelo:select-device-dnn
Alexander Alekhin [Wed, 9 May 2018 15:04:16 +0000 (15:04 +0000)]
Merge pull request #11478 from cabelo:select-device-dnn

6 years agoselect the device (video capture)
cabelo [Tue, 8 May 2018 04:07:23 +0000 (01:07 -0300)]
select the device (video capture)

6 years agotab to space
shengyu [Wed, 9 May 2018 13:15:51 +0000 (21:15 +0800)]
tab to space

6 years agoMerge pull request #11481 from dapicard:11480-allow_to_force_video_codec_ffmpeg
Alexander Alekhin [Wed, 9 May 2018 10:36:48 +0000 (10:36 +0000)]
Merge pull request #11481 from dapicard:11480-allow_to_force_video_codec_ffmpeg

6 years agocuda: fix build error of sample
Tomoaki Teshima [Tue, 8 May 2018 15:23:49 +0000 (00:23 +0900)]
cuda: fix build error of sample

6 years agoFixes 11480 : allow to force the video codec used to read videos
Damien Picard [Tue, 8 May 2018 13:02:01 +0000 (15:02 +0200)]
Fixes 11480 : allow to force the video codec used to read videos
with the ffmpeg backend

6 years agoMerge pull request #11474 from tomoaki0705:fixNeonRotateLeft
Maksim Shabunin [Tue, 8 May 2018 10:21:17 +0000 (10:21 +0000)]
Merge pull request #11474 from tomoaki0705:fixNeonRotateLeft

6 years agoarm: fix build error of v_rotate_left
Tomoaki Teshima [Mon, 7 May 2018 15:35:18 +0000 (00:35 +0900)]
arm: fix build error of v_rotate_left
  * remove meaningless tests

6 years agoMerge pull request #11470 from seiko2plus:VSXImprovements_2
Alexander Alekhin [Sun, 6 May 2018 19:14:04 +0000 (19:14 +0000)]
Merge pull request #11470 from seiko2plus:VSXImprovements_2

6 years agoMerge pull request #11454 from seiko2plus:issue11433_samples
Alexander Alekhin [Sat, 5 May 2018 18:57:48 +0000 (18:57 +0000)]
Merge pull request #11454 from seiko2plus:issue11433_samples

6 years agoMerge pull request #11327 from cdcseacave:master
Alexander Alekhin [Sat, 5 May 2018 18:56:27 +0000 (18:56 +0000)]
Merge pull request #11327 from cdcseacave:master

6 years agoMerge pull request #11463 from abhi-jha:master
Alexander Alekhin [Sat, 5 May 2018 16:14:35 +0000 (16:14 +0000)]
Merge pull request #11463 from abhi-jha:master

6 years agophoto:ppc fix MergeRobertson test
Sayed Adel [Sat, 5 May 2018 09:38:55 +0000 (09:38 +0000)]
photo:ppc fix MergeRobertson test

6 years agofix bug in Matx::inv()
cDc [Tue, 17 Apr 2018 10:30:56 +0000 (13:30 +0300)]
fix bug in Matx::inv()

6 years agofix spelling error
abhi-jha [Fri, 4 May 2018 19:26:29 +0000 (00:56 +0530)]
fix spelling error

6 years agocore:ppc Several improvements on VSX(2)
Sayed Adel [Fri, 4 May 2018 23:09:38 +0000 (23:09 +0000)]
core:ppc Several improvements on VSX(2)

* add v_float64x2 support to v_rotate_*
* treat float vector in v_check_any, vec_any_lt as int vector
* add test case for v_rotate_left

6 years agoFree Convolution and MatMul weights after TensorFlow layers import
Dmitry Kurtaev [Fri, 4 May 2018 08:20:14 +0000 (11:20 +0300)]
Free Convolution and MatMul weights after TensorFlow layers import

6 years agoReduce memory consumption at Caffe importer
Dmitry Kurtaev [Fri, 4 May 2018 06:23:22 +0000 (09:23 +0300)]
Reduce memory consumption at Caffe importer

6 years agoUpdate script to generate MobileNet-SSD V2 text graph
Dmitry Kurtaev [Fri, 4 May 2018 04:55:18 +0000 (07:55 +0300)]
Update script to generate MobileNet-SSD V2 text graph

6 years agosamples: add C++11 override to virtual methods
Sayed Adel [Thu, 3 May 2018 20:12:24 +0000 (20:12 +0000)]
samples: add C++11 override to virtual methods

6 years agoadd universal intrinsics for RGB2HSV_f
k-shinotsuka [Sat, 28 Apr 2018 12:09:38 +0000 (21:09 +0900)]
add universal intrinsics for RGB2HSV_f

6 years agoadd universal intrinsics for HLS2RGB_f
k-shinotsuka [Mon, 30 Apr 2018 07:38:49 +0000 (16:38 +0900)]
add universal intrinsics for HLS2RGB_f

6 years agoMerge pull request #11436 from seiko2plus:issue11433
Alexander Alekhin [Thu, 3 May 2018 10:37:40 +0000 (10:37 +0000)]
Merge pull request #11436 from seiko2plus:issue11433

6 years agoMerge pull request #11425 from zuoshaobo:relu_negative_slope
zuoshaobo [Thu, 3 May 2018 10:36:49 +0000 (18:36 +0800)]
Merge pull request #11425 from zuoshaobo:relu_negative_slope

* FIX INF_ENGINE RELU ERROR

* set slope to variable

* tab in indentwq

6 years agoDefine execfile, file, long, raw_input, xrange for Python 3
cclauss [Thu, 3 May 2018 07:19:05 +0000 (09:19 +0200)]
Define execfile, file, long, raw_input, xrange for Python 3

6 years agoDon't forget self in table_formatter.py
cclauss [Thu, 3 May 2018 06:24:24 +0000 (08:24 +0200)]
Don't forget self in table_formatter.py

__ridx__ is an _undefined name_ in this context but __self.ridx__ is used three other times in this method and nine times in this class.  Undefined names may raise [NameError](https://docs.python.org/3/library/exceptions.html#NameError) at runtime.

flake8 testing of https://github.com/opencv/opencv

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./modules/ts/misc/table_formatter.py:50:23: F821 undefined name 'ridx'
            self.rows[ridx + 1].props = properties
                      ^
```

6 years agoFix Python string formatting
cclauss [Thu, 3 May 2018 05:47:34 +0000 (07:47 +0200)]
Fix Python string formatting

6 years agoprint() is a function in Python 3
cclauss [Thu, 3 May 2018 05:12:12 +0000 (07:12 +0200)]
print() is a function in Python 3