Ask Your Question

Miorii's profile - activity

2020-06-12 09:11:37 -0500 received badge  Self-Learner (source)
2020-06-12 09:11:29 -0500 marked best answer ORB model conversion from python to java

Hello, I've been working on a python software to classify pictures. The purpose is, we have a book of 180 pages, and we want to know, for a query picture, what page it is. To this end, I extract descriptors from reference pictures using ORB. For a query picture, I extract the descriptors, force match it with my reference descriptors, and assume that the reference picture with the highest number of matches is the same page as our query.

This gets very decent results, and I wanted to make an android application out of it, using therefore a java version of OpenCV. To avoid computation of reference descriptors every time the application starts, I want to compute them on python, using my first software, save them, and load them in java. The reference ORB descriptors database in python is a numpy array of approximately 90,000 descriptors, of length 32, and dtype uint8. I would like to be able to get it in java as a Mat of 90,000 rows, 32 cols and of type CV_8UC1, the uint8 equivalent.

However, I can't find any smooth way to do it. Is there any cross-language format I could use for easy save & load?

Please let me know if I'm unclear, or if you need further informations.

2020-06-12 06:51:33 -0500 answered a question ORB model conversion from python to java

Update, if anyone ever needs it, I chose to encode the descriptors as a picture using PIL, here it what it looks like on

2020-06-09 07:33:48 -0500 received badge  Student (source)
2020-06-09 06:58:44 -0500 asked a question ORB model conversion from python to java

ORB model conversion from python to java Hello, I've been working on a python software to classify pictures. The purpos