<p>Anyone have any ground-up tutorials on using opencv in go? I'd like to learn some computer-vision things and I really enjoy using go.</p>
<p><a href="https://github.com/hybridgroup/gocv" rel="nofollow">https://github.com/hybridgroup/gocv</a> sort of worked, I could get an example to run with go run but not build. I got linker errors that I don't understand, but only when building. I'm guessing I don't have something set up correctly so I'd like something that starts with fundamental environment set up.</p>
<hr/>**评论:**<br/><br/>rafalbromirski: <pre><p>Unfortunately not many tutorials have been written for Go & OpenCV.</p>
<p>You can always try to port official tutorials (it should be relatively easy):</p>
<ul>
<li><a href="https://docs.opencv.org/master/d9/df8/tutorial_root.html" rel="nofollow">https://docs.opencv.org/master/d9/df8/tutorial_root.html</a></li>
</ul>
<p>Recently new book has been published:</p>
<ul>
<li><a href="https://www.packtpub.com/big-data-and-business-intelligence/machine-learning-go" rel="nofollow">https://www.packtpub.com/big-data-and-business-intelligence/machine-learning-go</a></li>
</ul>
<p>It might give you great input about Machine Learning, Deep Learning and more.</p>
<p>In general if you want to learn more about Computer Vision take a look here:</p>
<ul>
<li><a href="https://github.com/jbhuang0604/awesome-computer-vision" rel="nofollow">https://github.com/jbhuang0604/awesome-computer-vision</a></li>
</ul></pre>mattgen88: <pre><p>Turns out I was being dumb and didn't execute the env.sh that sets up the appropriate environment variables needed. I was able to get a build with that.</p>
<p>I'm still interested in some machine learning with computer vision if anyone has any suggestions.</p></pre>tv64738: <pre><blockquote>
<p>I could get an example to run with go run but not build</p>
</blockquote>
<p>This mystifies me greatly. Care to expand?</p></pre>mattgen88: <pre><p>The example would run with go run, but doing a go build resulted in linker errors. I'm also mystified as to how it could work one way but not another. There are environment variables for the opencv library that are needed that point to the source libs.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传