Skip to content

Instantly share code, notes, and snippets.

View zihaomu's full-sized avatar
🎯
Focusing

zihaomu

🎯
Focusing
  • Shenzhen
  • 19:12 (UTC +08:00)
View GitHub Profile
@fengyuentau
fengyuentau / OpenCV_with_TimVX.md
Last active September 29, 2022 02:33 — forked from zihaomu/OpenCV_with_TimVX.md
Compiling OpenCV with TIM-VX

Compiling OpenCV with TIM-VX Backend

We are thrilled to introduce you the TIM-VX backend integrated in OpenCV DNN, which allows OpenCV DNN runs quantized DL models in neural processing units (NPU) on edge devices, such as Khadas VIM3 etc. It achives up to 2X faster than ARM CPU backend for running face detection and recognition model from OpenCV Zoo. More details can be found in OpenCV Zoo Benchmarks.

TIM-VX is provided with x86_64 simulator. So you can try OpenCV with TIM-VX backend on your x86_64 machine following steps below, or if you happen to have a physical board equiped with the A311D chip (like the Khadas VIM3 mentioned above). In this guide, we provide two ways compiling OpenCV with TIM-VX backend:

  • (Recommanded) Compile OpenCV together with TIM-VX.
  • Compile OpenCV with TIM-VX library installed previously.

Requirem

@zihaomu
zihaomu / GSoC21_OpenCV_RGBD_loop_closure_HF_Net.md
Last active August 26, 2023 13:35
Google Summer of Code 2021 with OpenCV: Loop closure algorithm based on HF-Net

Loop closure algorithm based on HF-Net for depth fusion

Student: Zihao Mu

Mentor: Rostislav Vasilikhin

Link to accomplished work:

@mbinna
mbinna / effective_modern_cmake.md
Last active July 5, 2024 10:10
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

关于H264, 通用的5个进阶文档为

  • [H.264_MPEG-4 Part 10 White Paper]
  • [Video coding using the H.264 MPEG-4 AVC compression standard]
  • [H.264 and MPEG-4 video compression]
  • [Overview of the H.264_AVC Video Coding Standard]
  • [Overview and Introduction to the Fidelity Range Extensions]

分三个阶段学习