Questions tagged [boofcv]

BoofCV is an open source Java library for real-time computer vision and robotics applications.

Homepage: http://boofcv.org

BoofCV is an open source Java library for real-time computer vision and robotics applications. Written from scratch for ease of use and high performance, it often outperforms even native libraries. Functionality includes optimized low-level image processing routines, feature tracking, and geometric computer vision. BoofCV has been released under an Apache license for both academic and commercial use.

BoofCV is organized into several packages: image processing, features, geometric vision, calibration, recognition,visualize, and IO. Image processing contains commonly used image processing functions which operate directly on pixels. Features contains feature extraction algorithms for use in higher level operations. Calibration has routines for determining the camera's intrinsic and extrinsic parameters. Recognition is for recognition and tracking complex visual objects. Geometric vision is composed of routines for processing extracted image features using 2D and 3D geometry. Visualize has routines for rendering and displaying extracted features. 'IO stands for input/output and contains common routines for reading in images from various input sources.

64 questions
6
votes
2 answers

How to detect robot direction from Image?

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…
Sarin Suriyakoon
  • 420
  • 1
  • 7
  • 19
5
votes
1 answer

Why does BoofCV constantly rotate the Camera Preview to the left?

I'm trying to use the BoofCV line detection with the given example from the BoofCV Android Demo. For this I copied the classes and set everything up with the Camera API from Android. Although the Demo is using the Landscape Orientation, my Activity…
1resu
  • 514
  • 4
  • 11
4
votes
1 answer

Using Java & BoofCV to detect shapes in an image file

I've not found anything here or on google. I'm looking for a way to identify shapes (circle, square, triangle and various other shapes) from a image file. Some examples: You get the general idea. Not sure if BoofCV is the best choice here but…
jbolt
  • 688
  • 3
  • 16
  • 37
3
votes
0 answers

Extract video frames on Android with ExtractMpegFramesTest and running a computationally intensive function instead of saving as images

On Android, I want to extract all frames of a video and run an object tracking function from boofcv on each frame. Therefore, I am using the ExtractMpegFramesTest example and slightly adjusted it to run the tracking on each frame instead of saving…
3
votes
2 answers

java.lang.NoClassDefFoundError when running on maven

I am running the following commands from here mvn package The package is compiling sucessfullly. But when I am running java -cp target/cloak-1.0-SNAPSHOT.jar com.github.cloak.App It is giving the following error Error: Unable to initialize main…
3
votes
0 answers

Error building boofcv calibration app with gradle

I've followed build instructions from here: https://boofcv.org/index.php?title=Tutorial_Camera_Calibration and get this strange error message: C:\boofcv\applications>gradle applicationsJar Skipping integration/android because ANDROID_HOME has not…
Stepan Yakovenko
  • 8,670
  • 28
  • 113
  • 206
3
votes
1 answer

This project does not use the Gradle build system warning to imported Boofcv into Android Studio

So, Finally I have install BoofCV into Android Studio (Tx to Q&A on this website) and all examples are running perfectly by opening pop up windows (including Template Matching and Webcam Capture): but message in Event Log [says], 'Migrate Project…
3
votes
0 answers

BoofCV Structure from motion (Sfm) by Example

I am playing around with structure from motion (Sfm) and 3D model reconstruction for the first time. The end result is to be able to generate a (fairly accurate) 3D model from a series of images. Being a JVM developer, my natural inclination was to…
smeeb
  • 27,777
  • 57
  • 250
  • 447
3
votes
2 answers

BoofCV gradle building Errors in Android studio

When I integrated BoofCV into Android Studio, the following error happened, com.android.dex.DexException: Multiple dex files define Lorg/xmlpull/v1/XmlPullParser; at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:579) …
Huayu Zhang
  • 207
  • 4
  • 11
3
votes
0 answers

Find similar Image uing matlab or Java

From the below image i want to compare a particular product from the image stored in my DB. Example If i want to compare the Vim soap image and the below image. I need to check whether the vim soap is available in the below image. Can anyone help…
user3686600
  • 121
  • 6
3
votes
1 answer

Write GeoTIFF metadata from one file to other

My task is to take one GeoTIFF, make some image segmentation on in, and save it to new GeoTIFF(with existing coordinates). If I understand correctly, the coordinates are preserved in GeoTIFF metadata. So I grab metadata from the original file: File…
2
votes
1 answer

Error after adding boofcv-core to Android: java.lang.RuntimeException: Duplicate class com.google.protobuf

I`m trying to add boofcv-core library to my Android project. boofcv-android works fine but boofcv-core generates the following error: java.lang.RuntimeException: Duplicate class com.google.protobuf.AbstractMessageLite found in modules…
Sher Mi
  • 548
  • 2
  • 5
  • 14
2
votes
1 answer

BoofCV: Unresolved Compilation Problems

I'm using a Raspberry Pi (4) and hoped I'd be able to implement QR detection through a Rasp Cam. I found BoofCV that could do the job - so I copied the code from the ExampleDetectQrCode repo but its throwing a few errors... var cannot be resolved to…
johnl5124
  • 45
  • 4
2
votes
0 answers

How to get already opened camera to add flashlight in Android?

I'm using a 3-rd party library (boofCV) to work with a camera in Android . And they open the camera without a visible way of holding it: CameraManager manager = (CameraManager) getSystemService(Context.CAMERA_SERVICE); manager.openCamera(cameraId,…
Psijic
  • 743
  • 7
  • 20
2
votes
1 answer

How to generate fiducial markers for BoofCV?

I'm wanting to use BoofCV with Processing, but its recognition of any size of ArUco markers generated by this tool is unstable. Is there a resource or an app where I can get or generate a collection of markers that will be consistently recognized by…
samuset
  • 275
  • 1
  • 2
  • 13
1
2 3 4 5