Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nylocx
nylocx / gist:660d48d6c5fca6d8fd8c
Created January 7, 2016 11:09
Convert OpenCV image type to a QString
QString cvImageTypeToQString(int type) {
QString result;
uchar depth = type & CV_MAT_DEPTH_MASK;
uchar chans = 1 + (type >> CV_CN_SHIFT);
switch ( depth ) {
case CV_8U: result = "8U"; break;
case CV_8S: result = "8S"; break;
case CV_16U: result = "16U"; break;
# Contributor: Mykola Dolhyi <0xb000@gmail.com>
pkgname=ignition-math
pkgver=3.0.0
pkgrel=1
pkgdesc="Math classes and functions for robot applications"
arch=('i686' 'x86_64')
url="http://ignitionrobotics.org/"
license=('Apache')
groups=('development')
depends=()
<?xml version="1.0"?>
<RncProductCatalogChartCatalogs>
<Header>
<title>DE IENC Charts</title>
<date_created>2021-09-04</date_created>
<time_created>01:47:08</time_created>
<date_valid>2021-09-04</date_valid>
<time_valid>01:47:08</time_valid>
<dt_valid>2021-09-04T01:47:08Z</dt_valid>
<ref_spec>Subset of NOAA Rnc Product Catalog Technical Specifications</ref_spec>
@nylocx
nylocx / __init__.py
Created September 29, 2021 11:41
Cyclic imports test
from . import a, b
print("package initialized")
@nylocx
nylocx / pyproject.toml
Last active November 5, 2021 06:19
Poetry Bug Demo
[tool.poetry]
name = "poetry-cython-demo"
description = ""
authors = []
version = "0.1.0"
exclude = ["poetry_cython_demo/compiled", "poetry_cython_demo/*.pyx"]
include = [
{ path = "poetry_cython_demo/compiled/**/*", format = "sdist" },
{ path = "poetry_cython_demo/*.pyx", format = "sdist" }
]