Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

findCircles #76

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ lib/
.DS_Store
*.DS_Store
/bin
*.ctxt
*.class
29 changes: 29 additions & 0 deletions examples/FindCircles/FindCircles.pde
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import gab.opencv.*;

OpenCV opencv;

void setup() {
size(300*2, 400);
ellipseMode(RADIUS);

opencv = new OpenCV(this, 300, 400);

}

void draw() {
opencv.loadImage("sample.jpg");
image(opencv.getSnapshot(),0,0);
image(loadImage("sample.jpg"),300,0);

ArrayList< ArrayList< Integer> > arr = opencv.findCircles();

for (ArrayList<Integer> zx : arr)
{
ellipse(zx.get(0),zx.get(1),zx.get(2),zx.get(2)); //x, y, radius, radius (of the circle)
}

noFill();
stroke(0, 255, 0);
strokeWeight(3);

}
Binary file added examples/FindCircles/sample.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed lib/.DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion lib/arm7/libopencv_calib3d.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_calib3d.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_contrib.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_contrib.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_core.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_core.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_features2d.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_features2d.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_flann.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_flann.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_gpu.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_gpu.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_highgui.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_highgui.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_imgproc.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_imgproc.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_legacy.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_legacy.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_ml.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_ml.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_nonfree.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_nonfree.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_objdetect.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_objdetect.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_photo.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_photo.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_stitching.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_stitching.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_superres.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_superres.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_ts.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_ts.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_video.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_video.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_videostab.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/arm7/libopencv_videostab.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_calib3d.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_calib3d.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_contrib.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_contrib.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_core.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_core.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_features2d.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_features2d.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_flann.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_flann.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_gpu.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_gpu.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_highgui.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_highgui.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_imgproc.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_imgproc.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_legacy.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_legacy.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_ml.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_ml.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_nonfree.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_nonfree.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_objdetect.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_objdetect.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_photo.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_photo.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_superres.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_superres.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_ts.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_ts.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_video.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_video.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_videostab.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux32/libopencv_videostab.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_calib3d.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_calib3d.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_contrib.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_contrib.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_core.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_core.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_features2d.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_features2d.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_flann.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_flann.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_gpu.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_gpu.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_highgui.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_highgui.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_imgproc.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_imgproc.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_legacy.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_legacy.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_ml.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_ml.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_nonfree.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_nonfree.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_objdetect.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_objdetect.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_photo.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_photo.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_stitching.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_stitching.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_superres.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_superres.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_ts.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_ts.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_video.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_video.so.2.4

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_videostab.so

This file was deleted.

1 change: 0 additions & 1 deletion lib/linux64/libopencv_videostab.so.2.4

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions library/arm7/libopencv_calib3d.so
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_calib3d.so.2.4
1 change: 1 addition & 0 deletions library/arm7/libopencv_calib3d.so.2.4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_calib3d.so.2.4.5
File renamed without changes.
1 change: 1 addition & 0 deletions library/arm7/libopencv_contrib.so
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_contrib.so.2.4
1 change: 1 addition & 0 deletions library/arm7/libopencv_contrib.so.2.4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_contrib.so.2.4.5
File renamed without changes.
1 change: 1 addition & 0 deletions library/arm7/libopencv_core.so
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_core.so.2.4
1 change: 1 addition & 0 deletions library/arm7/libopencv_core.so.2.4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_core.so.2.4.5
File renamed without changes.
1 change: 1 addition & 0 deletions library/arm7/libopencv_features2d.so
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_features2d.so.2.4
1 change: 1 addition & 0 deletions library/arm7/libopencv_features2d.so.2.4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_features2d.so.2.4.5
File renamed without changes.
1 change: 1 addition & 0 deletions library/arm7/libopencv_flann.so
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_flann.so.2.4
1 change: 1 addition & 0 deletions library/arm7/libopencv_flann.so.2.4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_flann.so.2.4.5
File renamed without changes.
1 change: 1 addition & 0 deletions library/arm7/libopencv_gpu.so
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_gpu.so.2.4
1 change: 1 addition & 0 deletions library/arm7/libopencv_gpu.so.2.4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_gpu.so.2.4.5
File renamed without changes.
1 change: 1 addition & 0 deletions library/arm7/libopencv_highgui.so
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_highgui.so.2.4
1 change: 1 addition & 0 deletions library/arm7/libopencv_highgui.so.2.4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_highgui.so.2.4.5
File renamed without changes.
1 change: 1 addition & 0 deletions library/arm7/libopencv_imgproc.so
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libopencv_imgproc.so.2.4
Loading