Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Fix #110: Intrinsics and extrinsics (#144)
Browse files Browse the repository at this point in the history
principal, distortion coefficients, depth to video.
Formulas for deprojection, transform and projection.

Fix #110: Accessing Camera Calibrations
  • Loading branch information
astojilj authored and anssiko committed Mar 6, 2017
1 parent 9079d6a commit 215dc5e
Show file tree
Hide file tree
Showing 3 changed files with 1,627 additions and 509 deletions.
9 changes: 4 additions & 5 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,14 @@ mjAPI.typeset({
var re2 = /.mjx-span {display: span}\n/gi;

// remove the MathJax.js <script>
var re3 = /\<script src="https:\/\/cdn.mathjax.org\/mathjax\/latest\/MathJax.js\?config=AM_CHTML"\>/gi;

// remove the MathJax @font-face CSS at-rules
// var re4 = /@font-face {font-family: MJX(.*?)}\n/gi;
var re3 = /\<script src="https:\/\/cdn.mathjax.org\/mathjax\/latest\/MathJax.js\?config=AM_CHTML"\>\n<\/script>/gi;

var HTML = HTML.replace(re1, "").replace(re2, "").replace(re3, "");

// tidy the generated output and write to index.html
var HTML = tidy(HTML, tidyConfig);
// Breaks (mostly indention) complex MathJax formulas. Disabled for now.
// var HTML = tidy(HTML, tidyConfig);

fs.writeFileSync('index.html', HTML, 'utf8');

process.exit();
Expand Down
Loading

0 comments on commit 215dc5e

Please sign in to comment.