Posts

Showing posts from November 13, 2018

cv2.estimateRigidTransform with fullAffine=False

Image
up vote 0 down vote favorite According to documentation cv2.estimateRigidTransform have parameter fullAffine : fullAffine – If true, the function finds an optimal affine transformation with no additional restrictions (6 degrees of freedom). Otherwise, the class of transformations to choose from is limited to combinations of translation, rotation, and uniform scaling (5 degrees of freedom). I don't understand what is meant by 5 degrees of freedom, as I understand translation, rotation, and uniform scaling can be done with 4 variables (some more info here http://nghiaho.com/?p=2208) By uniform scaling they mean that x and y scale will be the same? I have tried print('cv2.__version__', cv2.__version__) m = cv2.estimateRigidTransform(_prev_pts, _curr_pts, fullAffine=False) print('m.shape

Working animal

Image
This article may be expanded with text translated from the corresponding article in Polish . (June 2015) Click [show] for important translation instructions. View a machine-translated version of the Polish article. Machine translation like Deepl or Google Translate is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into the English Wikipedia. Do not translate text that appears unreliable or low-quality. If possible, verify the text with references provided in the foreign-language article. You must provide copyright attribution in the edit summary by providing an interlanguage link to the source of your translation. A model attribution edit summary (using German): Content in this edit is translated from the existing German Wikipedia article at [[:de:Exact name of German article]]; see its history for attribution. You should

How to disable inline CSS source maps

Image
up vote 1 down vote favorite 1 I have recently published my website as server rendered (with transition) and I used https://gtmetrix.com to analyse it, one of the warnings was: "Minify HTML" and then I noticed there was tons of CSS sourcemaps as inline data URLs. I have no idea how to remove them, I already call enableProdMode() in my server.ts angular-universal share | improve this question asked Nov 9 at 10:56 YoukouleleY 2,062 1 7 20 add a comment  |