Ask Your Question

Revision history [back]

This is not a JavaCV QA page. There's a very active mailing list for JavaCV at:

I saw you asked your question there, which is the right place to ask. I know Samuel tries to answer the questions there, but you need to give people some time to answer. After all, did you look into the samples? All you need to do is create a CvArr with a given size and fill it with the labels.

I bet there are samples in the JavCV wiki explaining it:

  • http://code.google.com/p/javacv/w/list

For example:

  • http://code.google.com/p/javacv/wiki/OpenCV2_Cookbook_Examples_Chapter_2

This is not a JavaCV QA page. There's a very active mailing list for JavaCV at:

I saw you asked your question there, which is the right place to ask. I know Samuel tries to answer the questions there, but you need to give people some time to answer. After all, did you look into the samples? All you need to do is create a CvArr with a given size and integer type (CV_32SC1), and then fill it with the labels.

I bet there are samples in the JavCV JavaCV wiki explaining it:

  • http://code.google.com/p/javacv/w/list

For example:

  • http://code.google.com/p/javacv/wiki/OpenCV2_Cookbook_Examples_Chapter_2