Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
efeadc1f
Commit
efeadc1f
authored
Oct 08, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Oct 08, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1578 from asmorkalov:android_fd_cp_fix
parents
801054d6
fdc1a063
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
DetectionBasedTracker_jni.cpp
.../android/face-detection/jni/DetectionBasedTracker_jni.cpp
+6
-6
No files found.
samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp
View file @
efeadc1f
...
...
@@ -45,7 +45,7 @@ JNIEXPORT jlong JNICALL Java_org_opencv_samples_facedetect_DetectionBasedTracker
{
LOGD
(
"nativeCreateObject caught unknown exception"
);
jclass
je
=
jenv
->
FindClass
(
"java/lang/Exception"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
{highgui::VideoCapture_n_1VideoCapture__()}
"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
of DetectionBasedTracker.nativeCreateObject()
"
);
return
0
;
}
...
...
@@ -77,7 +77,7 @@ JNIEXPORT void JNICALL Java_org_opencv_samples_facedetect_DetectionBasedTracker_
{
LOGD
(
"nativeDestroyObject caught unknown exception"
);
jclass
je
=
jenv
->
FindClass
(
"java/lang/Exception"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
{highgui::VideoCapture_n_1VideoCapture__()}
"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
of DetectionBasedTracker.nativeDestroyObject()
"
);
}
LOGD
(
"Java_org_opencv_samples_facedetect_DetectionBasedTracker_nativeDestroyObject exit"
);
}
...
...
@@ -102,7 +102,7 @@ JNIEXPORT void JNICALL Java_org_opencv_samples_facedetect_DetectionBasedTracker_
{
LOGD
(
"nativeStart caught unknown exception"
);
jclass
je
=
jenv
->
FindClass
(
"java/lang/Exception"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
{highgui::VideoCapture_n_1VideoCapture__()}
"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
of DetectionBasedTracker.nativeStart()
"
);
}
LOGD
(
"Java_org_opencv_samples_facedetect_DetectionBasedTracker_nativeStart exit"
);
}
...
...
@@ -127,7 +127,7 @@ JNIEXPORT void JNICALL Java_org_opencv_samples_facedetect_DetectionBasedTracker_
{
LOGD
(
"nativeStop caught unknown exception"
);
jclass
je
=
jenv
->
FindClass
(
"java/lang/Exception"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
{highgui::VideoCapture_n_1VideoCapture__()}
"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
of DetectionBasedTracker.nativeStop()
"
);
}
LOGD
(
"Java_org_opencv_samples_facedetect_DetectionBasedTracker_nativeStop exit"
);
}
...
...
@@ -158,7 +158,7 @@ JNIEXPORT void JNICALL Java_org_opencv_samples_facedetect_DetectionBasedTracker_
{
LOGD
(
"nativeSetFaceSize caught unknown exception"
);
jclass
je
=
jenv
->
FindClass
(
"java/lang/Exception"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
{highgui::VideoCapture_n_1VideoCapture__()}
"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
of DetectionBasedTracker.nativeSetFaceSize()
"
);
}
LOGD
(
"Java_org_opencv_samples_facedetect_DetectionBasedTracker_nativeSetFaceSize exit"
);
}
...
...
@@ -187,7 +187,7 @@ JNIEXPORT void JNICALL Java_org_opencv_samples_facedetect_DetectionBasedTracker_
{
LOGD
(
"nativeDetect caught unknown exception"
);
jclass
je
=
jenv
->
FindClass
(
"java/lang/Exception"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
{highgui::VideoCapture_n_1VideoCapture__()}
"
);
jenv
->
ThrowNew
(
je
,
"Unknown exception in JNI code
DetectionBasedTracker.nativeDetect()
"
);
}
LOGD
(
"Java_org_opencv_samples_facedetect_DetectionBasedTracker_nativeDetect exit"
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment