Skip to content

Commit

Permalink
regenned pom and simple blob detector
Browse files Browse the repository at this point in the history
  • Loading branch information
GroG committed Jan 25, 2025
1 parent a923daf commit c154ca0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<version>1.5.8</version>
<version>1.5.11</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -1085,14 +1085,14 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacv-platform</artifactId>
<version>1.5.8</version>
<version>1.5.11</version>
<scope>provided</scope>
</dependency>
<!-- Duplicate entry for org.bytedeco-javacpp-1.5.8 skipping -->
<!-- Duplicate entry for org.bytedeco-javacpp-1.5.11 skipping -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.21-1.5.8</version>
<version>0.3.28-1.5.11</version>
<scope>provided</scope>
</dependency>
<!-- Duplicate entry for com.github.sarxos-webcam-capture-driver-v4l4j-0.3.13-SNAPSHOT skipping -->
Expand Down Expand Up @@ -1295,13 +1295,13 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cpython-platform</artifactId>
<version>3.10.8-1.5.8</version>
<version>3.13.0-1.5.11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cpython</artifactId>
<version>3.10.8-1.5.8</version>
<version>3.13.0-1.5.11</version>
<scope>provided</scope>
</dependency>
<!-- Py4j end -->
Expand Down Expand Up @@ -1579,13 +1579,13 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>tesseract</artifactId>
<version>5.2.0-1.5.8</version>
<version>5.5.0-1.5.11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>tesseract-platform</artifactId>
<version>5.2.0-1.5.8</version>
<version>5.5.0-1.5.11</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -1595,7 +1595,7 @@
<scope>provided</scope>
<type>zip</type>
</dependency>
<!-- Duplicate entry for org.bytedeco-openblas-0.3.21-1.5.8 skipping -->
<!-- Duplicate entry for org.bytedeco-openblas-0.3.28-1.5.11 skipping -->
<!-- TesseractOcr end -->

<!-- Test begin -->
Expand Down Expand Up @@ -2127,4 +2127,4 @@
<system>github</system>
<url>https://github.com/MyRobotLab/myrobotlab/issues</url>
</issueManagement>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,18 @@ public OpenCVFilterSimpleBlobDetector(String name) {

@Override
public IplImage process(IplImage image) {

// Set up parameters for SimpleBlobDetector
SimpleBlobDetector.Params params = new SimpleBlobDetector.Params();

// Filter by Area
// params.filterByArea(true);
// params.minArea(100);
// params.maxArea(2000);


// TODO: track an array of blobs , not just one.
SimpleBlobDetector o = new SimpleBlobDetector();
SimpleBlobDetector o = new SimpleBlobDetector(params);

// KeyPoint point = new KeyPoint();
KeyPointVector pv = new KeyPointVector();
Expand Down

0 comments on commit c154ca0

Please sign in to comment.