Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the pyimagesearch example is outdated, do not use that, but opencv's own python sample

then, it's unclear, why you need the copyMakeBorder() code, but the final input has to be a multiple of 32 for W and H