Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, you are right. I didn't realize that i need to convert it to float32/float64. I just used object = np.transpose(np.nonzero(Mask))..astype(float) mean, eigvec = cv2.PCACompute(object, None)

Yes, you are right. I didn't realize that i need to convert it to float32/float64. I just used

object = np.transpose(np.nonzero(Mask))..astype(float)
np.transpose(np.nonzero(Mask)).astype(float)
mean, eigvec = cv2.PCACompute(object, None)

None)