boofcv

BoofCV Android: Detect hand gestures

↘锁芯ラ 提交于 2019-12-25 19:06:10
问题 I want to detect 4 basic hand gestures of user in front of camera. When the user moves his hand in front of camera from left to right, right to left, top to down and down to top. How can I achieve this using BoofCV for android? What are the starting steps? 回答1: This question is a bit high level and is really a generic computer vision question. BoofCV contains the tools so that you could do that using several different techniques. It doesn't contain gesture recognition built in. If the

BoofCV - canny.process() function is taking a lot of time

廉价感情. 提交于 2019-12-24 14:26:24
问题 I am using BoofCV version 0.27 for Android, I am detecting a rectangle in a image. For this, I am using the following as given here public static void fitCannyBinary( GrayF32 input ) { BufferedImage displayImage = new BufferedImage(input.width,input.height,BufferedImage.TYPE_INT_RGB); GrayU8 binary = new GrayU8(input.width,input.height); // Finds edges inside the image CannyEdge<GrayF32,GrayF32> canny = FactoryEdgeDetectors.canny(2, false, true, GrayF32.class, GrayF32.class); canny.process

How to detect robot direction from Image?

偶尔善良 提交于 2019-12-21 15:38:33
问题 I've developing the robot which can run in the corn plant and guided by compass sensors but I want to apply the camera as the eye of robot and use the image processing to detect error angle of movement. This is the image examples. processed image raw image segmented image I use this following step Step 1 : The current technique that I use is convert color value to HSV modified from this code Step 2 : So It will detect selected color which is the brown or dirt color then I collect the most

android boofcv ip camera manipulation using videoview

狂风中的少年 提交于 2019-12-13 00:40:51
问题 I have successfully stream ip camera on an android phone using rtsp using this code: public class MainActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); VideoView video= (VideoView) findViewById(R.id.videoview); String viewSource = "rtsp://192.168.1........."; video.setVideoURI(Uri.parse(viewSource)); video.setMediaController(new

How to detect robot direction from Image?

烂漫一生 提交于 2019-12-04 06:20:34
I've developing the robot which can run in the corn plant and guided by compass sensors but I want to apply the camera as the eye of robot and use the image processing to detect error angle of movement. This is the image examples. processed image raw image segmented image I use this following step Step 1 : The current technique that I use is convert color value to HSV modified from this code Step 2 : So It will detect selected color which is the brown or dirt color then I collect the most left and right of brown or selected color of each image row in two array(a red point). Step 3 : I plot a 2