工程
darkerJ
图像处理
展开
-
Python 调用 C++ 并传递numpy 数据
文章目录C++ 代码Python 代码PyArg_ParseTuple 的使用C++ 代码Demo.h#pragma oncevoid GeneratorGaussKernel(int ksize, float sigma, float* kernel);void LeftAndRightMirrorImageUInt8(unsigned char* in, unsigned char* out, int width, int height);void LeftAndRightMirrorI原创 2022-03-28 17:13:36 · 1727 阅读 · 0 评论 -
C++ 调用python
#include <Python.h>#include <arrayobject.h>static PyGILState_STATE gstate;int InitPython() { //在使用Python系统前,必须使用Py_Initialize对其 //进行初始化。它会载入Python的内建模块并添加系统路 //径到模块搜索路径中。这个函数没有返回值,检查系统 //是否初始化成功需要使用Py_IsInitialized。 Py_Initiali原创 2021-03-04 15:15:07 · 185 阅读 · 1 评论 -
nvidia-docker 的使用
nvidia-docker run -it --shm-size=10g --runtime=nvidia -e NVIDIA_VISIBLE_DEVICE=0 nvcr.io/nvidia/tensorflow:20.03-tf2-py3nvidia-docker run -it --shm-size=10g --runtime=nvidia -e NVIDIA_VISIBLE_DEVICE=0 nvcr.io/nvidia/tensorflow:20.06-tf2-py3查看docker的na原创 2020-08-18 18:08:07 · 883 阅读 · 0 评论 -
Tensorflow2.3r CPU编译过程记录
编译Tensorflow CPU 版本安装 Anaconda3-2020.02-Windows-x86_64.exe (管理python)安装 Visual Studio 2019 配置VS2019编译环境 (Windows 需要)添加系统变量 BAZEL_VC C:\Program Files (x86)\ Microsoft Visual Studio\2019\Community\VCBAZEL_VS C:\Program Files (x86)\ Microsoft原创 2020-06-09 14:09:00 · 1230 阅读 · 0 评论 -
WebRTC编译
文章目录环境配置编译LinuxAndroidiOS/macOSWindows附录-依赖及镜像列表UWP 工程编译编译前提环境配置一定要把该内容看完,不然会出错运行以下脚本,替换 git 源git config --global user.email "<your email>"git config --global user.name "<your name>"...原创 2019-11-06 15:13:22 · 1151 阅读 · 0 评论 -
VS 生成 DLL
打开VS 创建工程,点击确定。创建DLL工程,应用程序类型选择 DLL, 为了创建交干净的工程,附加选项选择 空项目创建函数文件。#pragma once#ifdef DLL_EXPORTS#define DLL_API __declspec(dllexport)#else#define DLL_API __declspec(dllimport)#endifDLL_A...原创 2019-08-17 16:27:18 · 261 阅读 · 0 评论 -
git 提交到github
https://www.cnblogs.com/flora5/p/7152556.html转载 2019-10-09 17:01:31 · 106 阅读 · 0 评论