Skip to content

Instantly share code, notes, and snippets.

View viewpointsa's full-sized avatar

viewpointsa

  • ViewPoint
  • Lyon - France
View GitHub Profile
import cv2
import numpy as np
cameraMatrix = np.array([
2117.598861472505,
0.0,
517.602819121056,
0.0,
2117.6945788309686,
647.6170255017,
@viewpointsa
viewpointsa / xsltproc.vbs
Created May 4, 2022 13:54
VBscript XLST process
' https://stackoverflow.com/a/56497728/2137364
Sub XSLTransform( inputXml, inputXsl )
' REFERENCE Microsoct XML, v6.0
Set xmlDoc = CreateObject("Msxml2.DOMDocument.6.0")
Set xslDoc = CreateObject("Msxml2.FreeThreadedDOMDocument.6.0")
Set xslTemp = CreateObject("Msxml2.XSLTemplate.6.0")
Dim xslProc
' LOAD XML AND XSL FILES