Load images in android

76 vues
Accéder directement au premier message non lu

Daniel Hernández

non lue,
26 mai 2022, 06:06:1026/05/2022
à BoofCV

Hi, I want modify this class “https://github.com/lessthanoptimal/BoofAndroidDemo/blob/SNAPSHOT/app/src/main/java/org/boofcv/android/sfm/MultiViewStereoActivity.java”, to insert the images from a directory instead of using the camera images.

Any solution? thank you!

Peter A

non lue,
31 mai 2022, 12:02:3631/05/2022
à boofcv
Hi Daniel,

I don't have any ready to go examples for that exactly. It might be easier to look up Android examples for scanning a directory for images, then combine that with the example code here. One bit of advice, shrink the images to something around 800x600 first. It doesn't scale well to 12MP or high images yet.

Cheers,
- Peter

On Thu, May 26, 2022 at 3:06 AM Daniel Hernández <dh35...@gmail.com> wrote:

Hi, I want modify this class “https://github.com/lessthanoptimal/BoofAndroidDemo/blob/SNAPSHOT/app/src/main/java/org/boofcv/android/sfm/MultiViewStereoActivity.java”, to insert the images from a directory instead of using the camera images.

Any solution? thank you!

--
You received this message because you are subscribed to the Google Groups "BoofCV" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boofcv+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/boofcv/150a0865-7e84-4217-a3c2-8fdfe6f1bec2n%40googlegroups.com.


--
"Now, now my good man, this is no time for making enemies."    — Voltaire (1694-1778), on his deathbed in response to a priest asking that he renounce Satan.

Daniel Hernández

non lue,
13 juin 2022, 06:23:4013/06/2022
à BoofCV

Hi Peter, first of all, thank you for your response.

But there's a problem, for example, in the method where the image is loaded "UtilImageIO.loadImage" uses a "BufferedImage" that is not available in android.

Any solution to this problem?

Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message