原创 Run demo.py on windows with cpu successfully!

my environment is: windows10 , python3.6 , tensorflow1.3 , vs2015(ps:vs2013 not support python3.6 when compile) step 1:

原创 anaconda 安裝caffe 的編譯過程

Requirements Visual Studio 2013 or 2015 Technically only the VS C/C++ compiler is required (cl.exe) CMake 3.4 or high

原创 opencv去除小區域的連通區域

#include "opencv.hpp" #include "iostream" using namespace std; using namespace cv;   int main() { Mat srcI

原创 vtk 功能處理列表

VTK的範例程序網址: http://www.vtk.org/Wiki/VTK/Examples/Cxx 上面用提供了C++/TCL還有Java的大量的關於VTK的範例程序,詳盡的描述了VTK到底能做哪些事情,涵蓋 了VTK大部分強大的功

原创 NGINX 後臺配置 ( rtmp-http-flv-moudle) CSRF

#user  nobody; worker_processes  1; #error_log  logs/error.log; #error_log  logs/error.log  notice; #error_log  logs/e

原创 django admin創建的時候的admin.py 中書寫的案例

@admin.register(Employe) class EmployeAdmin(ImportExportActionModelAdmin):     resource_class = ProxyResource     list_

原创 ubuntu 基於ffmpeg和Visual GDB 實現本地推流功能

ubuntu 上下載ffmpeg的相關組件  並且安裝安裝如下 1   ./configure --prefix=/usr/local/ffmpeg2 --enable-shared --enable-libmp3lame --enabl

原创 ubuntu下庫文件的設置 (/usr/bin/ld: cannot find -lxxx 的解決辦法)

Linux下庫文件的設置 (/usr/bin/ld: cannot find -lxxx 的解決辦法) 在軟件編譯過程中,經常會碰到類似這樣的編譯錯誤: /usr/bin/ld: cannot find -lhdf5 這表示找不到庫文件

原创 MFC新建工程

1. File -》new-》Project    彈出new project的對話框 ,可以選擇工程類型。 vs2010第一啓動時已經設置爲VC++,則Installed Templates->Visual C++項會默認展開,而如果沒

原创 python錯誤 IndentationError: unindent does not match any outer indentation level

全選代碼 ,可以看到 有的地方使用了4個空格,有的地方使用了tab鍵。python有嚴格的格式要求所以要改改才能編譯通過,代碼區直接全選就會看到有的地方是四個點有個地方是一個橫線,改一致了就好了。