Ask Your Question
0

Load images from assets folder on android, Java?

asked 2014-06-16 15:32:28 -0600

I have a Java program with an ArrayList that consists of a bunch of filenames (e.g. "1.jpg", "2.jpg", etc). How can I loop through the ArrayList and load the image files with these names into an ArrayList of Mat objects? All of the image files are located in the /assets folder.

edit retag flag offensive close merge delete

Comments

Did you find a solution?? i am trying to do the same thing with no results ...

fatmatto gravatar imagefatmatto ( 2014-07-05 06:05:46 -0600 )edit

I am trying too

mahdikianirad gravatar imagemahdikianirad ( 2015-10-27 08:23:58 -0600 )edit

Since I can't add my answer, I do this here.

I found kind of solution (see the link below). Maybe it will be usefull for other people

http://stackoverflow.com/questions/39066334/load-images-with-opencv-from-assets-folder-in-android (http://stackoverflow.com/questions/39...)

Tim A. gravatar imageTim A. ( 2017-04-03 04:59:43 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-04-03 05:01:45 -0600

Tim A. gravatar image

Found kind of solution (see the link below). Maybe it will be usefull for other People: see the link in the comments

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-06-16 15:32:28 -0600

Seen: 1,788 times

Last updated: Jun 16 '14