Skip to content

Instantly share code, notes, and snippets.

View oddwatcher's full-sized avatar

Charlie Li oddwatcher

  • Wuhan,China
View GitHub Profile
@salmanmaq
salmanmaq / export_onnx_with_nms.py
Last active December 10, 2024 16:38
Export YOLO11 to ONNX with NMS
import os
from typing import Literal, Optional
import cv2
import numpy as np
import onnx
import onnxruntime as ort
import onnxslim
import torch
import torchvision
@fnky
fnky / ANSI.md
Last active October 27, 2025 19:47
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27