# Revision history [back]

### How do I run opencv_createsamples with multiple positive images?

I know how to run opencv_createsamples with a single example of a positive image. How do I run it with multiple examples of positive images?

I tried creating a text file specifying all the positive images like I did with the background images, but it didn't seem to work.

I thought about running it on each file separately, but then I am left with multiple *.vec files and have no way to combine them!

### How do I run opencv_createsamples with multiple positive images?

I know how to run opencv_createsamples with a single example of a positive image. How do I run it with multiple examples of positive images?images? I want to generate multiple positive images using my few (5) sample images, so simply using an info file will not work (as I will need more than 5 positive images!).

I tried creating a text file specifying all the positive images like I did with the background images, but it didn't seem to work.

I I've thought about running it on each file separately, but then I am left with multiple *.vec files and have no way to combine them!