Questions tagged [javacv]

JavaCV provides wrappers to commonly used computer vision libraries, OpenCV in particular. Note that JavaCV is now superseded by an official OpenCV Java API. Do not use this tag for the official OpenCV Java API, use [opencv] + [java] instead.

JavaCV was originally a Google supported project for interfacing Java to computer vision libraries. However it is now part of Bytedeco.

JavaCV is a wrapper around OpenCV's C API, which has been deprecated in favor of a newer C++ API. There is now an official OpenCV Java API, which is an automatically generated binding for the C++ API, and this probably should be used in preference to JavaCV for new code.

987 questions
-1
votes
1 answer

Take photo and record video of real-time face detection preview

I have used JavaCv (and opencv too) to implement live face detection preview on Android. I work ok. Now I want to take a picture or record a video from live preview which have face detection (I mean when I take a picture, this picture will have a…
CodeMonster
  • 300
  • 5
  • 19
-1
votes
1 answer

Mat <> BufferedImage conversion in OpenCV 3

Apparently it was possible in OpenCV 2.4 with Java bindings to convert a Mat into a BufferedImage: val greyMat = new Mat() opencv_imgproc.cvtColor(mat, greyMat, opencv_imgproc.CV_BGR2GRAY, 1) ImageIO.write(greyMat.getBufferedImage, "jpg", new…
0__
  • 66,707
  • 21
  • 171
  • 266
-1
votes
1 answer

Output speed of video with FrameGrabber JavaCV

I am working on a javaCV project and I need to display and record what the webcam is capturing. The problem is that the output video in my code has a higher speed than the real. I tried changing the frameRate of the FrameGrabber and FrameRecorder…
-1
votes
1 answer

Face Recognition using javaCV and netbeans

Application should be able to save images face_1_01.png , face_1_02.png , face_2_01.png and so on in a folder called training images using a webcam, then application should be able to loop through all the images in that folder and recognize the…
Sheraz Ahmed
  • 405
  • 1
  • 4
  • 20
-1
votes
1 answer

Library and sample used for Face Recognition and Face Crop in android

I need a library for Face detection and Face crop in android. please , Advice if anybody do this
Ankit
  • 89
  • 1
  • 1
  • 8
-1
votes
1 answer

How to compress image and store to specific folder using OpenCV Java

Hi I want to compress and store compressed image to folder. So I have used the below code, import java.io.*; import java.util.*; import java.awt.image.*; import javax.imageio.*; import javax.imageio.stream.ImageOutputStream; public class…
Sangeetha
  • 496
  • 1
  • 7
  • 25
-1
votes
1 answer

Google Maps Nearby Search (Show Selected nearby markers only with autocomplete )

I have this code, which works fine, but there is just one issue which I am getting: When we search nearby places, it appends the new nearby search markers with the old markers, screenshots are attached in these links. Here I have searched the…
-1
votes
1 answer

Finding best match by minMaxLoc returned values OpenCV with a specific level of thershold

I want to find best match by a level of threshold. Here is what i did but the values are staying at 0. cvMatchTemplate(src, tmp, result, CV_TM_CCORR_NORMED); CvPoint minLoc = new CvPoint(); CvPoint maxLoc = new CvPoint(); DoublePointer min_val = new…
David Barishev
  • 534
  • 7
  • 30
-1
votes
1 answer

javacv runnable.jar have error when running it in rasberry pi

i have compile GUI javacv code in windows and it run ok with no problem and when i run the runnable.jar file in raspberry pi it give me this error and doesnt run java.lang.unsatisfiedlinkerror: no jniopencv_core in java.library.path
-1
votes
1 answer

JavaCV Getting current upload bitrate

I am streaming from android camera to server using FFmpegFrameRecorder and I need to get current upload bitrate. Is there an easy way to get it, or I should write my implementation?
geNia
  • 985
  • 9
  • 20
-1
votes
2 answers

Find vertex from a object by using vertex detection

I would like to find all vertex (e.g. return x, y positions) for the black object. I will use Java and JavaCV to implements. Is there any API or algorithm can help? Sorry for not enough reputation to post images. I post the link here. The original…
-1
votes
1 answer

Javacv: eigenface face recognition

hi im new to javacv and as ive searche in the internet i counter this piece of code and i decided to use it but everytime i run the project it always return a java.lang.NumberFormatExcepti error. plesase help me to get through with this, please…
hehe0595
  • 1
  • 3
-1
votes
1 answer

i couldn't understand the types CvMat, mat and IplImage?

I'm new to the Opencv.I have started reading the official documentation, i couldn't understand the types CvMat, mat and IplImage ? thank you for your help.
Eric
  • 19
-1
votes
1 answer

How to cvCopy with background transparent?

Using cvCopy I get the object without background (in webcam stream). I want to make a transparent with removed background, because I need to play another video in the background. How can Ido this?
Suravi
  • 301
  • 1
  • 7
  • 21
-1
votes
3 answers

Feature Detection Opencv/Javacv not working

I am trying to run the feature detection program of javacv to compare the similar features in 2 images however I am getting a runtimeexception. Since I am completely new to javacv I don't know how to resolve this. The exception trace is OpenCV…
Wanderer
  • 366
  • 2
  • 6
  • 18
1 2 3
65
66