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
67088694
Commit
67088694
authored
Mar 22, 2012
by
Andrey Pavlenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating Java samples to meet Java API changes
parent
c6e9e941
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
FdView.java
...roid/face-detection/src/org/opencv/samples/fd/FdView.java
+1
-1
ImageManipulationsView.java
...cv/samples/imagemanipulations/ImageManipulationsView.java
+1
-1
.classpath
samples/android/tutorial-0-androidcamera/.classpath
+1
-0
.classpath
samples/android/tutorial-3-native/.classpath
+1
-0
No files found.
samples/android/face-detection/src/org/opencv/samples/fd/FdView.java
View file @
67088694
...
...
@@ -83,7 +83,7 @@ class FdView extends SampleCvViewBase {
int
faceSize
=
Math
.
round
(
height
*
FdActivity
.
minFaceSize
);
List
<
Rect
>
faces
=
new
LinkedList
<
Rect
>();
mCascade
.
detectMultiScale
(
mGray
,
faces
,
1.1
,
2
,
2
// TODO: objdetect.CV_HAAR_SCALE_IMAGE
,
new
Size
(
faceSize
,
faceSize
));
,
new
Size
(
faceSize
,
faceSize
)
,
new
Size
()
);
for
(
Rect
r
:
faces
)
Core
.
rectangle
(
mRgba
,
r
.
tl
(),
r
.
br
(),
new
Scalar
(
0
,
255
,
0
,
255
),
3
);
...
...
samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsView.java
View file @
67088694
...
...
@@ -107,7 +107,7 @@ class ImageManipulationsView extends SampleCvViewBase {
CreateAuxiliaryMats
();
Imgproc
.
Sobel
(
mGrayInnerWindow
,
mIntermediateMat
,
CvType
.
CV_8U
,
1
,
1
);
Core
.
convertScaleAbs
(
mIntermediateMat
,
mIntermediateMat
,
10
);
Core
.
convertScaleAbs
(
mIntermediateMat
,
mIntermediateMat
,
10
,
0
);
Imgproc
.
cvtColor
(
mIntermediateMat
,
mRgbaInnerWindow
,
Imgproc
.
COLOR_GRAY2BGRA
,
4
);
break
;
...
...
samples/android/tutorial-0-androidcamera/.classpath
View file @
67088694
...
...
@@ -3,5 +3,6 @@
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"src"
path=
"gen"
/>
<classpathentry
kind=
"con"
path=
"com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"
/>
<classpathentry
exported=
"true"
kind=
"con"
path=
"com.android.ide.eclipse.adt.LIBRARIES"
/>
<classpathentry
kind=
"output"
path=
"bin/classes"
/>
</classpath>
samples/android/tutorial-3-native/.classpath
View file @
67088694
...
...
@@ -3,5 +3,6 @@
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"src"
path=
"gen"
/>
<classpathentry
kind=
"con"
path=
"com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"
/>
<classpathentry
exported=
"true"
kind=
"con"
path=
"com.android.ide.eclipse.adt.LIBRARIES"
/>
<classpathentry
kind=
"output"
path=
"bin/classes"
/>
</classpath>
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