Switched insertion of connected components in filterSpecklesImpl
Merge branch '2.4' of https://github.com/Itseez/opencv into Itseez-2.4
Merge branch 'Itseez-2.4' into Feature_3692_2.4
Bugfix #3705: params.setRecordingHint(true) breaks camera preview on Samsung Galaxy S2
Fixed typos in comments
Fixes resizeWindow() on OS X (Bug #3200)
Fixes build failure on Mac OS X 10.10 Yosemite Beta due to highgui/src/window_cocoa.mm (Bug #3737)
Revert "Fixes build failure on Mac OS X 10.10 Yosemite Beta due to highgui/src/window_cocoa.mm (Bug #3737)"

This reverts commit 56683e6d112a808fbd51c74917f0c4d9d752f502.
fixed two models, adding xml identifier to correct position
Double precision for solvePnPRansac()

solvePnPRansac() and pnpTask() now accept object or image points with double precision.
Added cast and removed formatting error
Fixed C++11 compatibility warning
cap_libv4l.cpp depends on both libv4l 1 and 2, so search for both

How this worked before, I do not know.
bug fix 3696
Update facedetect.cpp

Somebody forgot to add curly brackets
Added publication reference
added extra warning about the automatic parameter loading for traincascade application when the param.xml file already exists
Fixed bug in cv::detail::waveCorrect

The function makes wave correction of a stitched panorama.
Earlier it gave wrong results for panorama made from 1 frame.
Merge pull request #2903 from mmaraya:2.4
improving face-rec sample:
* CSV can contain dir-s and wildcards
* save trained model