dharezlak 
							
						 
					 
					
						
						
							
						
						308b47ce58 
					 
					
						
						
							
							Improved Java wrapper generation  
						
						... 
						
						
						
						While generating Java JNI wrappers package names with an underscore (`_`) character where not properly escaped according to https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/design.html#resolving_native_method_names  (see also: https://github.com/Itseez/opencv_contrib/issues/652 ).
This fix replaces all the occurrences of `_` with `_1` resulting in proper JNI method names. 
						
						
					 
					
						2016-05-23 11:13:18 +02:00 
						 
				 
			
				
					
						
							
							
								Philipp Hasper 
							
						 
					 
					
						
						
							
						
						cc7a1a2ab7 
					 
					
						
						
							
							Deactivated two noisy camera-retrieval log messages in android  
						
						... 
						
						
						
						They were issued for every frame retrieved - even in a release build. 
						
						
					 
					
						2016-04-13 09:17:33 +02:00 
						 
				 
			
				
					
						
							
							
								Jason von Nieda 
							
						 
					 
					
						
						
							
						
						f4b502dd03 
					 
					
						
						
							
							Adds supports for the majority of features2d to the Java wrappers:  
						
						... 
						
						
						
						* Adds the main features2d header to the parse list for the generator.
* Removes the manual definition of drawKeypoints and drawMatches since these are now included in the main header.
* Updates the generator to ignore SimpleBlobDetector, FlannBasedMatcher and DescriptorMatcher as these cause conflicts with the generator. This is okay since these were not previously included in the distribution anyway, so no harm is done. 
						
						
					 
					
						2016-03-07 00:14:53 -08:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						92387b1ef8 
					 
					
						
						
							
							Fix java version++  
						
						
						
						
					 
					
						2015-12-18 18:02:16 +03:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						8d1f5b5490 
					 
					
						
						
							
							Version++ for android  
						
						
						
						
					 
					
						2015-12-18 17:57:07 +03:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						5ebc7f0b72 
					 
					
						
						
							
							Simple Moments class for Java  
						
						
						
						
					 
					
						2015-12-16 10:53:14 +03:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						6e9d0d9a0c 
					 
					
						
						
							
							Visual Studio 2015 warning and test fixes  
						
						
						
						
					 
					
						2015-10-20 12:48:37 +03:00 
						 
				 
			
				
					
						
							
							
								Alexander Alekhin 
							
						 
					 
					
						
						
							
						
						441eeef319 
					 
					
						
						
							
							Merge pull request  #5470  from apavlenko:android_camera_gl_view  
						
						
						
						
					 
					
						2015-10-08 13:31:51 +00:00 
						 
				 
			
				
					
						
							
							
								Andrey Pavlenko 
							
						 
					 
					
						
						
							
						
						23fea91e84 
					 
					
						
						
							
							minor fixes  
						
						
						
						
					 
					
						2015-10-08 12:37:59 +03:00 
						 
				 
			
				
					
						
							
							
								Andrey Pavlenko 
							
						 
					 
					
						
						
							
						
						15db8243ef 
					 
					
						
						
							
							refactored; added Camera2, notify callbacks, front/back maxCamera sizes; disable new stuff if target API < 21  
						
						
						
						
					 
					
						2015-10-07 15:01:32 +03:00 
						 
				 
			
				
					
						
							
							
								Alexander Alekhin 
							
						 
					 
					
						
						
							
						
						33f5ac5c15 
					 
					
						
						
							
							Merge pull request  #5429  from PhilLab:patch-6  
						
						
						
						
					 
					
						2015-10-05 12:50:17 +00:00 
						 
				 
			
				
					
						
							
							
								Philipp Hasper 
							
						 
					 
					
						
						
							
						
						05846438e3 
					 
					
						
						
							
							Typo in CameraBridgeViewBase.java  
						
						... 
						
						
						
						Corrected typo and unused imports 
						
						
					 
					
						2015-10-01 15:09:14 +02:00 
						 
				 
			
				
					
						
							
							
								Alexander Alekhin 
							
						 
					 
					
						
						
							
						
						eb2e061e3f 
					 
					
						
						
							
							fix Android camera datarace (mCameraFrameReady)  
						
						
						
						
					 
					
						2015-09-22 17:03:09 +03:00 
						 
				 
			
				
					
						
							
							
								Andrey Pavlenko 
							
						 
					 
					
						
						
							
						
						8e088d38a5 
					 
					
						
						
							
							draft implementation of alternative CameraBridge via GLES  
						
						... 
						
						
						
						a simple sample will look like:
```java
public class MainActivity extends Activity implements CameraGLSurfaceView.CameraTextureListener {
	CameraGLSurfaceView mView;
	ByteBuffer buf;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FULLSCREEN);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
                WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        mView = new CameraGLSurfaceView(this, null);
        mView.setCameraTextureListener(this);
        setContentView(mView);
        buf = ByteBuffer.allocateDirect(1920*1080*4);
    }
    @Override
    protected void onPause() {
        mView.onPause();
        super.onPause();
    }
    @Override
    protected void onResume() {
        super.onResume();
        mView.onResume();
    }
	@Override
	public void onCameraViewStarted(int width, int height) {
		// TODO Auto-generated method stub
	}
	@Override
	public void onCameraViewStopped() {
		// TODO Auto-generated method stub
	}
	@Override
	public boolean onCameraFrame(int texIn, int texOut, int width, int height) {
		Log.i("MAIN", "onCameraFrame");
		int w=width, h=height;
		/*
		// option 1:
		// just return 'false' to display texIn on screen
		retutn false;
		*/
		/*
		// option 2:
		// fast copy texIn to texOut
		GLES20.glActiveTexture(GLES20.GL_TEXTURE0);
    	GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texOut);
		GLES20.glCopyTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_RGBA, 0, 0, w, h, 0);
		return true;
		*/
		// option 3:
		// read, modify and write back pixels
		GLES20.glReadPixels(0, 0, w, h, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, buf);
		buf.rewind();
		// red line
		for(int i=0; i<h; i++) {
			buf.position(w*4*i+i*4);
			buf.put((byte) -1);
			buf.position(w*4*i+i*4+4);
			buf.put((byte) -1);
		}
		buf.rewind();
		GLES20.glActiveTexture(GLES20.GL_TEXTURE0);
    	GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texOut);
		GLES20.glTexSubImage2D(GLES20.GL_TEXTURE_2D, 0, 0, 0, w, h, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, buf);
		return true;
	}
}
``` 
						
						
					 
					
						2015-09-19 16:18:02 +03:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						31fbe8caeb 
					 
					
						
						
							
							Merge pull request  #5255  from berak:java_videowriter  
						
						
						
						
					 
					
						2015-09-11 11:09:16 +00:00 
						 
				 
			
				
					
						
							
							
								berak 
							
						 
					 
					
						
						
							
						
						a11ff876d4 
					 
					
						
						
							
							enable VideoWriter class for java  
						
						... 
						
						
						
						fixing fourcc 
						
						
					 
					
						2015-08-27 08:04:58 +02:00 
						 
				 
			
				
					
						
							
							
								Alexander Alekhin 
							
						 
					 
					
						
						
							
						
						bbff288447 
					 
					
						
						
							
							fix build with python3 only  
						
						
						
						
					 
					
						2015-08-26 13:08:06 +03:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						83b2621de4 
					 
					
						
						
							
							Android: renamed default library name for static and dynamic fallback load; fixed libz import for 64-bit platforms  
						
						
						
						
					 
					
						2015-06-19 18:53:45 +03:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						33ab9ea188 
					 
					
						
						
							
							AndroidMgr: fixed typos and package name  
						
						
						
						
					 
					
						2015-06-03 11:53:29 +03:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						caffbaafbe 
					 
					
						
						
							
							Updated Manager for Android  
						
						
						
						
					 
					
						2015-06-02 17:33:04 +03:00 
						 
				 
			
				
					
						
							
							
								Andrey Pavlenko 
							
						 
					 
					
						
						
							
						
						c1c03e16f4 
					 
					
						
						
							
							releasing native memory of temp Mat objects in generated Java code  
						
						
						
						
					 
					
						2015-05-26 13:50:56 +03:00 
						 
				 
			
				
					
						
							
							
								Andrey Pavlenko 
							
						 
					 
					
						
						
							
						
						6006790c18 
					 
					
						
						
							
							releasing native memory in Java converters  
						
						
						
						
					 
					
						2015-05-26 13:10:54 +03:00 
						 
				 
			
				
					
						
							
							
								aletheios 
							
						 
					 
					
						
						
							
						
						6a50a51b4e 
					 
					
						
						
							
							Bugfix  #3705 : params.setRecordingHint(true) breaks camera preview on Samsung Galaxy S2  
						
						
						
						
					 
					
						2015-05-23 17:36:41 +02:00 
						 
				 
			
				
					
						
							
							
								Andrey Pavlenko 
							
						 
					 
					
						
						
							
						
						ab8afc3bcc 
					 
					
						
						
							
							Revert of "Merge pull request  #4006  from sgjava:opencv-steve" (reverted from commit  4743184078)  
						
						
						
						
					 
					
						2015-05-19 18:55:57 +03:00 
						 
				 
			
				
					
						
							
							
								Andrey Pavlenko 
							
						 
					 
					
						
						
							
						
						d67d32af48 
					 
					
						
						
							
							Revert of "Merge pull request  #4014  from sgjava:opencv-sgjava" (reverted from commit  52fa55a770)  
						
						
						
						
					 
					
						2015-05-19 13:30:18 +03:00 
						 
				 
			
				
					
						
							
							
								sgjava 
							
						 
					 
					
						
						
							
						
						fe0ce9282a 
					 
					
						
						
							
							Changed delete() modifier to public from protected  
						
						
						
						
					 
					
						2015-05-13 13:44:53 -04:00 
						 
				 
			
				
					
						
							
							
								sgjava 
							
						 
					 
					
						
						
							
						
						0f53526598 
					 
					
						
						
							
							Added VideoWriter and changed finalize to delete  
						
						
						
						
					 
					
						2015-05-12 14:18:39 -04:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						a362aca783 
					 
					
						
						
							
							Rename manager package to OpenCV3 Manager  
						
						
						
						
					 
					
						2015-04-17 16:59:52 +03:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						316d76bdb6 
					 
					
						
						
							
							Rename OpenCV Engine to org.opencv.engine3 for release candidate  
						
						
						
						
					 
					
						2015-04-17 16:00:33 +03:00 
						 
				 
			
				
					
						
							
							
								Vadim Pisarevsky 
							
						 
					 
					
						
						
							
						
						08c84e0c34 
					 
					
						
						
							
							Merge pull request  #3729  from bitstars:AsyncServiceHelper.java-Android-5-hotfix  
						
						
						
						
					 
					
						2015-04-05 17:57:53 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Heinen 
							
						 
					 
					
						
						
							
						
						d2dc7f4c27 
					 
					
						
						
							
							Update android+AsyncServiceHelper.java  
						
						... 
						
						
						
						small formatting fixes 
						
						
					 
					
						2015-04-02 09:05:56 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Heinen 
							
						 
					 
					
						
						
							
						
						0df9dc8fb9 
					 
					
						
						
							
							Update android+AsyncServiceHelper.java  
						
						... 
						
						
						
						changed tabs in last commit to spaces 
						
						
					 
					
						2015-04-02 08:42:19 +02:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						231685133e 
					 
					
						
						
							
							OpenCV Manager: support 3.0.0 library  
						
						
						
						
					 
					
						2015-03-19 15:27:14 +03:00 
						 
				 
			
				
					
						
							
							
								Prof. Dr. Rudolf Haussmann 
							
						 
					 
					
						
						
							
						
						9f1eb70dbc 
					 
					
						
						
							
							Changes to be committed:  
						
						... 
						
						
						
						(use "git reset HEAD <file>..." to unstage)
	modified:   modules/java/generator/gen_java.py
	modified:   modules/videoio/include/opencv2/videoio.hpp
	modified:   modules/videoio/include/opencv2/videoio/videoio_c.h
	modified:   modules/videoio/src/cap_dshow.cpp
	modified:   modules/videoio/src/cap_pvapi.cpp
Following changes have been made:
1. Some minor bugs have been removed.
2. In the PvAPI module the option CAP_PROP_MONOCROME has been removed because
   this option does not make sense and causes an error if a color camera is used.
3. Instead the new option CAP_PROP_PVAPI_PIXELFORMAT has been added which allows
   to activate the different pixel formats (color modes) of an AVT camera.
4. Since there were two identical defines
   CAP_PROP_MONOCROME = 19
   CAP_PROP_MONOCHROME = 19
   which were also used in the other module DSHOW, the first one with an orthographic
   error has been removed in favor of the second one. 
						
						
					 
					
						2015-03-07 12:53:32 +01:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						457123027e 
					 
					
						
						
							
							Modified java wrapping mechanism  
						
						
						
						
					 
					
						2015-03-02 18:12:30 +03:00 
						 
				 
			
				
					
						
							
							
								Alexander Alekhin 
							
						 
					 
					
						
						
							
						
						52effe9e72 
					 
					
						
						
							
							Android: fix JavaCameraView implementation  
						
						... 
						
						
						
						1) Fixed deadlock if camera is started and stopped immediately
2) Invalid pattern usage of Object.wait(). Refer to "spurious wakeup": http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait 
3) Fixed buffer usage:
  a) fix eliminates processing of zero NV12 (green in RGB) first frame
  b) latest ready frame is delivered for processing (not previous) 
						
						
					 
					
						2015-02-24 18:52:54 +03:00 
						 
				 
			
				
					
						
							
							
								Simon Heinen 
							
						 
					 
					
						
						
							
						
						5d97dd0ea5 
					 
					
						
						
							
							Update android+AsyncServiceHelper.java  
						
						
						
						
					 
					
						2015-02-20 12:54:54 +01:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						bebf6c47c6 
					 
					
						
						
							
							Removed Sphinx generation commands from cmake scripts  
						
						
						
						
					 
					
						2014-12-26 19:17:08 +03:00 
						 
				 
			
				
					
						
							
							
								Vadim Pisarevsky 
							
						 
					 
					
						
						
							
						
						4de9605b7b 
					 
					
						
						
							
							Merge pull request  #3344  from mshabunin:java_automation  
						
						
						
						
					 
					
						2014-10-20 06:50:34 +00:00 
						 
				 
			
				
					
						
							
							
								Vadim Pisarevsky 
							
						 
					 
					
						
						
							
						
						d2b9dc5530 
					 
					
						
						
							
							quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)  
						
						
						
						
					 
					
						2014-10-18 20:44:26 +04:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						c5a1650ac0 
					 
					
						
						
							
							Refactoring in gen_java.py script  
						
						
						
						
					 
					
						2014-10-17 19:36:24 +04:00 
						 
				 
			
				
					
						
							
							
								Vadim Pisarevsky 
							
						 
					 
					
						
						
							
						
						1176d4ef84 
					 
					
						
						
							
							fixed some more compile errors and test failures  
						
						
						
						
					 
					
						2014-10-17 15:02:56 +04:00 
						 
				 
			
				
					
						
							
							
								Vadim Pisarevsky 
							
						 
					 
					
						
						
							
						
						9c9ecc22e2 
					 
					
						
						
							
							fixed opencv_java build  
						
						
						
						
					 
					
						2014-10-17 14:56:58 +04:00 
						 
				 
			
				
					
						
							
							
								Matthew Conway 
							
						 
					 
					
						
						
							
						
						92efe4534b 
					 
					
						
						
							
							update gen_javadoc prints to python3 syntax  fixed   #3768  
						
						
						
						
					 
					
						2014-10-04 14:48:03 -04:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						0d7b44db50 
					 
					
						
						
							
							Java wrappers now support nested namespaces and classes  
						
						... 
						
						
						
						- wrapper support python3
- added wrapper log
- generating full name for nested namespaces and classes 
						
						
					 
					
						2014-09-22 11:47:03 +04:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						6337fd0650 
					 
					
						
						
							
							Support of bioinspired contrib module wrapping  
						
						... 
						
						
						
						- added java wrapper
- disabled python wrapper 
						
						
					 
					
						2014-09-22 11:43:29 +04:00 
						 
				 
			
				
					
						
							
							
								Vadim Pisarevsky 
							
						 
					 
					
						
						
							
						
						458bde5e24 
					 
					
						
						
							
							Merge pull request  #3180  from mshabunin:java_ptr_support  
						
						
						
						
					 
					
						2014-09-17 12:07:43 +00:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						39874ef742 
					 
					
						
						
							
							Fixed some failing java tests  
						
						... 
						
						
						
						- fixed lena.png extension
- fixed getTextSize wrapper
- added junit html report generation 
						
						
					 
					
						2014-09-11 11:56:05 +04:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						b3bae170ed 
					 
					
						
						
							
							Fixed java tests build  
						
						... 
						
						
						
						- disabled xfeature2d dependency for java wrappers
- fixed java wrappers build after cmake rerun
- disabled opencv_ml tests temporarily
- fixed Imgproc usage in java tests 
						
						
					 
					
						2014-09-08 18:30:03 +04:00 
						 
				 
			
				
					
						
							
							
								Maksim Shabunin 
							
						 
					 
					
						
						
							
						
						66ed9ddbe3 
					 
					
						
						
							
							Added Ptr<T> support to Java wrappers  
						
						
						
						
					 
					
						2014-09-01 11:24:44 +04:00