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
7dda8e2c
Commit
7dda8e2c
authored
May 07, 2013
by
poiuytrez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to bug tracker replaced by bug description
parent
bef6de90
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Tutorial3View.java
...ntrol/src/org/opencv/samples/tutorial3/Tutorial3View.java
+2
-1
No files found.
samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3View.java
View file @
7dda8e2c
...
...
@@ -57,7 +57,8 @@ public class Tutorial3View extends JavaCameraView implements PictureCallback {
public
void
takePicture
(
final
String
fileName
)
{
Log
.
i
(
TAG
,
"Taking picture"
);
this
.
mPictureFileName
=
fileName
;
// Clear up buffers to avoid bug http://code.opencv.org/issues/2961
// Postview and jpeg are sent in the same buffers if the queue is not empty when performing a capture.
// Clear up buffers to avoid mCamera.takePicture to be stuck because of a memory issue
mCamera
.
setPreviewCallback
(
null
);
// PictureCallback is implemented by the current class
...
...
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