update

Date

todo

20180317

  1. Opencv

a)         Install opencv+python+ide (http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_setup/py_setup_in_windows/py_setup_in_windows.html)。--> G:\Python35-32 à http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_gui/py_image_display/py_image_display.html#display-imageà http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_core/py_basic_ops/py_basic_ops.html#basic-ops

b)         Opencv python学习http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_template_matching/py_template_matching.html#template-matching http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_template_matching/py_template_matching.html#template-matching

c)         编写程序抓图,找秋千

d)         自己编译

e)         研究Opencv如何编译python和numpy无缝应用?

  1. 研究python hirsch原理
  2. Open source visual programming tool

a)         http://www.zaluum.com/

b)         https://www.postscapes.com/iot-visual-programming-tools/

  1. VS plugin imageview
  2. 如何远程访问家里的本地文件?
  3. Study hdevelop measurement tool

20180319

编译python扩展

1,通过setup.py编译自己的扩展 – 因为python和VS版本不同,失败。俺又不想搞半天版本问题。放弃!

http://intermediate-and-advanced-software-carpentry.readthedocs.io/en/latest/c++-wrapping.html

出错,找不到vsvarsxxx.bat

 

Ans: (https://docs.microsoft.com/en-us/visualstudio/install/modify-visual-studio)

(https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/)

 

Update: Install Visual Studio 2017, select the Python development workload and the Native development tools option.

 

在您的计算机上找到Visual Studio安装程序。

例如,在运行Windows 10周年更新的计算机上,选择“ 开始,然后滚动到字母V,它被列为Visual Studio安装程序

 

2通过VS直接编译扩展—成功!

参考文献:https://docs.python.org/3/extending/extending.html

 

注意:release班和debug班的lib是不同的!

 

学习

https://docs.python.org/3/extending/extending.html
https://docs.python.org/3/extending/building.html

http://intermediate-and-advanced-software-carpentry.readthedocs.io/en/latest/c++-wrapping.html#manual-wrapping

 

 

 

https://stackoverflow.com/questions/48188940/migrate-halcon-code-to-opencv

交互式可视化调试:https//docs.opencv.org/3.3.0/d7/dcf/tutorial_cvv_introduction.html

https://github.com/dov/hirsch

 

有一个新的开源库:TUM.CMS.VPLControl。在这里获取。

https://github.com/jdye64/nifi-opencv

https://www.npmjs.com/package/node-red-contrib-opencv

 

查看Google BlocklyBlockly允许开发人员创建自己的块,翻译(生成器)到几乎所有的编程语言(甚至JSON / XML),并包含一个图形界面以允许最终用户创建自己的程序。

 

研究xod

https://fossbytes.com/xod-programming-language-raspberry-pi-arduino/

https://xod.io/

2018/3/21

目标:

1,  确定先做框架还是使用halcon?

a)         老婆对在家搞这个有意见,所以还是在公司搞框架吧,python+opencv+qt?

b)         具体流程干啥呢?

                         i.              研究pyqt5 实现gui至少要有livevideo,画graphics功能。 http://zetcode.com/gui/pyqt5/

                       ii.              https://erget.wordpress.com/2014/03/13/building-an-interactive-gui-with-opencv/

20180328

Setup VS python tools

https://docs.microsoft.com/zh-cn/visualstudio/python/managing-python-environments-in-visual-studio#manually-identifying-an-existing-environment

 

Use python to impl a simple GUI: learn + Insp

http://www.pyqtgraph.org/documentation/introduction.html

 

import pyqtgraph.examples

pyqtgraph.examples.run()

 

 

20180401

编译opencv python

研究如何让cmakegui显示变量?

研究如何debug cmake变量的值

 

使用set命令指定CACHE参数,例如

set(NAME_INCLUDE "default value" CACHE FILEPATH "description")
set(NAME_LIB "default value" CACHE FILEPATH "description")

GUI中,CMake将用相同的前缀对所有变量进行分组。

请参阅CMake文档进行设置

 

 

使用get_cmake_property函数,以下循环将打印出所有定义的CMake变量及其值:

get_cmake_property(_variableNames VARIABLES)
list (SORT _variableNames)
foreach (_variableName ${_variableNames})
    message(STATUS "${_variableName}=${${_variableName}}")
endforeach()

要打印环境变量,请使用cmake命令模式

execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "environment")

 

研究F:\sw\opencv3.3.1vc14\opencv\sources\cmake\OpenCVDetectPython.cmake

posted on 2018-04-01 01:10  cutepig  阅读(254)  评论(0编辑  收藏  举报

导航