About 22,400 results
Open links in new tab
  1. java - How do I check if the user is pressing a key? - Stack Overflow

    Dec 21, 2022 · In java you don't check if a key is pressed, instead you listen to KeyEvent s. The right way to achieve your goal is to register a KeyEventDispatcher, and implement it to …

  2. Java - Motion / Object detection (Human detection) using OpenCV

    May 23, 2015 · I got the video stream from cctv camera using opencv. Now I want to detect a simple motion / object from this video stream. For example, if any person come in any selected …

  3. java - OpenCV Object detection with Feature Detection and …

    Jun 5, 2021 · I am using feature detection (SURF) and homography because template matching is not scale invariant. Sadly all the keypoints, except a few, are all in the wrong positions.

  4. How to find a Java Memory Leak - Stack Overflow

    How do you find a memory leak in Java (using, for example, JHat)? I have tried to load the heap dump up in JHat to take a basic look. However, I do not understand how I am supposed to be …

  5. java - Object Recognition/Detection? - Stack Overflow

    Feb 2, 2012 · If you are using Java, I would consider using a fully portable solution, such as ImageJ. There are already some object detection toolboxes available ;) See this SO post for …

  6. Collision Detection between two images in Java - Stack Overflow

    Dec 2, 2008 · Since Java doesn't have an intersect function (really!?) you can do collision detection by simply comparying the X and Y, Width and Height values of the bounding boxes …

  7. Java collision detection between two Shape objects?

    Mar 28, 2013 · I would like to know the best way to tell if a Shape object intersects another shape. Currently I have collision detection in my game sorted out as long as it involves a Shape …

  8. java - how to detect shapes in an image? - Stack Overflow

    Apr 3, 2011 · I want to detect a circle, rectangle shaped object in an image and read the information from that object. Is there any api in java which will be helpful to me? Ex: Detect a …

  9. java - What is the most accurate encoding detector? - Stack …

    Sep 21, 2010 · After certain survey, I come to discover that there are a few encoding detection project in java world, if the getEncoding in InputStreamReader does not work: …

  10. Programmatic deadlock detection in java - Stack Overflow

    How can I programmatically detect that a deadlock has occurred in a Java program?