This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <opencv2/opencv.hpp> | |
#include <limits> | |
#include <cmath> | |
#include "normalize_mat.hpp" | |
std::string type2str(int type) { | |
std::string r; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This Action autogenerates PDFs and standalone HTML | |
# out of your Overleaf projects (or any LaTeX-live project). | |
# | |
# PDF generator: pdflatex | |
# HTML generator: htlatex | |
# | |
# Both tools come from LaTeX Live and are executed on | |
# the latest version of Ubuntu. | |
# | |
# Given: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import time | |
import logging | |
def import_or_install(package): | |
try: | |
__import__(package) |