Alexander Alekhin
7d8f1dde26
core(persistence): disable checks for base64 streams
2018-03-27 17:02:04 +03:00
codingforfun
24e2e0d3f9
#11143 [FIX] Normalize node risk with sample weight sum
...
In case of regression trees, node risk is computed as sum of squared
error. To get a meaningfull value to compare with it needs to be
normalized to the number of samples in the node (or more generally to
the sum of sample weights in this node). Otherwise the sum of squared
error is highly dependend on the number of samples in the node and
comparision with `regressionAccuracy` parameter is not very meaningful.
After normalization `node_risk` means in fact sample variance for all
samples in the node, which makes much more sence and seams to be what
was originaly intended by the code given that node risk is later used as
a split termination criteria by
```
sqrt(node.node_risk) < params.getRegressionAccuracy()
```
2018-03-27 15:39:36 +02:00
Alexander Alekhin
017c217bb0
Merge pull request #11162 from kinchungwong:master
2018-03-27 13:27:43 +00:00
Alexander Alekhin
f4c4b01455
core: added checks and "fixit" items for persistence parsers
...
To raise errors with proper messages of the problems.
2018-03-27 16:19:43 +03:00
Alexander Alekhin
08941b7890
cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars
...
- Recommended compiler checks:
- GCC: CV_GCC
- Clang: CV_CLANG
- fixed problem with CMAKE_CXX_COMPILER_ID=Clang/AppleClang mess on MacOSX
Details: cmake --help-policy CMP0025
- do not declare Clang as GCC compiler
2018-03-27 16:16:59 +03:00
Alexander Alekhin
7ee217285b
Merge pull request #11089 from terfendail:stereocalibrate_f32
2018-03-27 13:08:06 +00:00
Alexander Alekhin
9e0dee1259
Merge pull request #11112 from alalek:cmake_src_include_fix
2018-03-27 13:06:48 +00:00
Alexander Alekhin
d1311518a3
core: test-sample for FIXED_TYPE demonstration
...
with implementation of functions with multiple output formats
2018-03-27 15:41:41 +03:00
Vadim Pisarevsky
6e13ffe162
Merge pull request #11159 from alalek:samples_avoid_legacy_api
2018-03-27 10:05:35 +00:00
Vadim Pisarevsky
00fff3a85d
Merge pull request #11164 from corleypc:master
2018-03-27 10:04:20 +00:00
corley
f441515357
Fixed a couple of memory leaks in videoInput::getDevice() when multiple devices are present in the system
2018-03-27 00:54:48 +03:00
kinchungwong
333e53eee8
Minor improvement to SSE code in HOGDescriptor::computeGradient, replace emulation of _mm_mullo_epi32 with constant multiplicand 3 with two _mm_add_epi32. OpenCV issue #11161
2018-03-26 09:24:03 -07:00
Alexander Alekhin
7f9253ea0a
samples: avoid using of legacy C-like API
...
- CV_RGB() macro is moved into opencv2/imgproc.hpp from imgproc_c.h
- samples/cpp/filestorage_base64.cpp is dropped
2018-03-26 13:42:35 +03:00
Alexander Alekhin
24acbecd33
Merge pull request #11151 from AndreiCostinescu:patch-1
2018-03-26 10:22:38 +00:00
Alexander Alekhin
70607ce311
Merge pull request #11155 from nglee:dev_docGpuMatDownloadUpload
2018-03-26 10:21:05 +00:00
Dmitry Kurtaev
7972f47ed4
Load networks from intermediate representation of Intel's Deep learning deployment toolkit.
2018-03-26 07:24:21 +03:00
Namgoo Lee
a8f86af633
Update GpuMat, GpuMat::download, GpuMat::upload documentation
2018-03-26 10:59:05 +09:00
Andrei Costinescu
38d73123c1
#include <math.h> in cv2.cpp
...
My build fails with the error:
"C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/7.2.0/include/c++/cmath:1136:11: error: '::hypot' has not been declared".
I have tried to fix it by adding "#include <cmath>" before the line "#include <Python.h>" but then the build has failed with the error:
"C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/7.2.0/include/c++/math.h:91:12:: error: 'std::_hypot' has not been declared".
Adding "#include <math.h>" allowed me to build opencv.
2018-03-25 20:39:29 +02:00
Alexander Alekhin
e06d1e8083
Merge pull request #11141 from dkurt:dnn_no_aspect_ratios
2018-03-24 20:38:55 +00:00
Alexander Alekhin
300797d4a3
Merge pull request #11146 from anthonytw:master
2018-03-24 06:35:21 +00:00
Anthony Wertz
c6cf7f8080
Sets a higher limit on videoio's AVI container's maximum chunk size, and adds an explanation of the assertion. Closes #11126
2018-03-23 12:03:46 -04:00
Alexander Alekhin
cd4b748b44
Merge pull request #11064 from tomoaki0705:fixCudaStreamAsync
2018-03-23 13:04:18 +00:00
Alexander Alekhin
fdd83e5027
Merge pull request #11113 from tomoaki0705:fixTinkerBoardOpenCL
2018-03-23 10:57:59 +00:00
Alexander Alekhin
d9f720a679
Merge pull request #11134 from not522:fix-rotation-center
2018-03-23 09:37:45 +00:00
Dmitry Kurtaev
e8fe6ee4e3
Fix prior box generation in case of squared proposals.
...
Fix batch norm in training phase.
2018-03-23 09:44:59 +03:00
Naoto Mizuno
ddf6bc86a7
Update rotated image
2018-03-22 22:09:19 +09:00
Alexander Alekhin
4378e8fcc0
core: fix cv::Mat constructor
2018-03-22 15:35:54 +03:00
Tomoaki Teshima
06babf90a5
let the test OCL_ImgprocWarp/Resize.Mat pass on ARM/Aarch64
...
* disable carotenete when calling resize on ARM/Aarch64
* loosen eps on Aarch64
2018-03-22 21:35:34 +09:00
Tomoaki Teshima
f4e5d777e8
follow histogram
2018-03-22 21:33:51 +09:00
Tomoaki Teshima
6c25351049
make the asynchronous call to NPP safe
...
* Stop calling nppSetStream
2018-03-22 21:33:51 +09:00
Naoto Mizuno
e1b66ffd01
Fix center of rotation
2018-03-22 19:38:39 +09:00
Alexander Alekhin
2dff9f4c6d
Merge pull request #11136 from tomoaki0705:fixCalib3dClang
2018-03-22 10:24:36 +00:00
Alexander Alekhin
b390e86b12
Merge pull request #11124 from terfendail:minenctriangle_fix
2018-03-22 10:23:10 +00:00
Tomoaki Teshima
08e0c69dbf
apply the workaround to correct range
2018-03-22 18:28:47 +09:00
Vitaly Tuzov
91c35a7d01
Updated handling of collinear edges while searching for intersection.
2018-03-21 19:15:34 +03:00
Alexander Alekhin
0366c1b093
Merge pull request #11105 from dkurt:issue_11102
2018-03-21 09:18:14 +00:00
Alexander Alekhin
fed22f2f5c
Merge pull request #11074 from alalek:android_log_messages
2018-03-20 20:40:54 +00:00
Alexander Alekhin
9fd32ca5ac
Merge pull request #11110 from nglee:dev_addSyncAfterAsyncCopyTestBufferPool
2018-03-19 19:51:37 +00:00
Alexander Alekhin
176fe6e50e
Merge pull request #11095 from jmartens:patch-2
2018-03-19 14:33:34 +00:00
Alexander Alekhin
6c051a55e5
cmake: don't add include <module>/src directory to avoid conflicts
...
during opencv_world builds
2018-03-19 11:14:15 +03:00
Namgoo Lee
90e1e41f5a
test_buffer_pool: synchronize after async copy
2018-03-19 09:30:06 +09:00
Aleksandr Tischenko
22ecdd16ef
Merge pull request #11101 from lamantine:fix_11100
...
* fixed bug #11100 Integer overflow in kmeans
* fixed integer overflow in other divUp-s in kmeans code
fixed warning about size_t to double conversion
2018-03-18 15:11:42 +03:00
Alexander Alekhin
2dac35a97d
Merge pull request #11091 from berak:openpose_sample
2018-03-18 09:18:40 +00:00
Dmitry Kurtaev
069f9add80
Fix an issue https://github.com/opencv/opencv/issues/11102
2018-03-18 10:49:12 +03:00
Alexander Alekhin
74c2f8cecf
Merge pull request #11046 from catree:update_calibration_images
2018-03-16 19:33:48 +00:00
Alexander Alekhin
70b6c1f29e
Merge pull request #11069 from berak:fix_samples_beta
2018-03-16 19:30:20 +00:00
Alexander Alekhin
b6d3657f82
Merge pull request #11078 from atinfinity:pullreq/180315-fixed-openpose-sample
2018-03-16 19:29:57 +00:00
Jonathan Martens
1949412979
Update URL to Timing and Profiling in IPython
...
Apparently the blog has been updated and the URL has changed, it is still there though.
2018-03-16 19:37:08 +01:00
berak
4f597f6c06
dnn: add an openpose.cpp sample
2018-03-16 19:36:45 +01:00
Alexander Alekhin
47dea29e4e
Merge pull request #11081 from alalek:cmake_fix_android_examples_dependencies
2018-03-16 16:32:49 +00:00