Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv_createsamples mixed mode

If I read the documentation correctly I can use opencv_createsamples in two distinct modes: either create .vec file from one image applying various distortions (rotations, intensity, etc.) or just convert list of files to .vec file. Is it possible to mix those modes? I mean to give ~15 real annotated samples and apply distortions to all of them to generate eg. 300 samples (20 per input image)? If so, how do I do that? Can I generate separate .vec files for each image and then somehow merge those files? If so, how?