Add codes handling exception thrown by OpenCV 89/188989/1 accepted/tizen/5.0/unified/20181102.013603 accepted/tizen/unified/20180913.063950 accepted/tizen/unified/20180913.064039 submit/tizen/20180912.094346 submit/tizen/20180913.015906 submit/tizen_5.0/20181101.000002
authorTae-Young Chung <ty83.chung@samsung.com>
Wed, 12 Sep 2018 09:01:03 +0000 (18:01 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Wed, 12 Sep 2018 09:01:09 +0000 (18:01 +0900)
commitab7be7309241c6eef537bc2218efd4d67557de0b
tree8a7223a7611534ad0b8fe5ddfd8124a907ecdd86
parent60365c37832cf624bfc7374d4fe374006a73880d
Add codes handling exception thrown by OpenCV

In the worst case, the memory size over the limitation is required
and then OutOfMemory exception is thrown, resulting crash.
This patch handles the exception and prevents crash.

Change-Id: Ie9bb0346cf53bc59d8a9da7e4758c2011cda9f1e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
mv_face/face/src/FaceDetector.cpp
mv_face/face/src/mv_face_open.cpp
packaging/capi-media-vision.spec