opencv4nodejs:Nodejs绑定到OpenCV 3和OpenCV 4

  • Y8_476944
    了解作者
  • 14.4MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-25 08:34
    上传日期
opencv4nodejs opencv4nodejs允许您在nodejs中使用本机OpenCV库。 除了同步API外,该软件包还提供了一个异步API,使您可以构建非阻塞和多线程计算机视觉任务。 opencv4nodejs支持OpenCV 3和OpenCV 4。 该项目的最终目标是提供与OpenCV API和OpenCV-contrib模块的nodejs绑定的全面集合。 要获得当前实现的绑定的概述,请查看此包的。 此外,贡献受到高度赞赏。 如果要添加缺少的绑定,请查看 例子 参见。 人脸检测 使用OpenCV人脸模块进行人脸识别 查看。 使用OpenCV人脸模块的人脸地标 使用 查看。 手势识别 查看进行的。 深度神经网络的目标识别 查看。 Tensorflow起始 具有COCO的单发多盒检测器 机器学习 进行的。 对象追踪 特征匹配 图像直方图 适用于opencv4nodejs,express和websockets组合的锅炉板。 -Boilerplate Express应用程序,用于使用nodejs在opencv上入门,并通过websocket实时直播视频。 通过分类器进行人
opencv4nodejs-master.zip
内容介绍
opencv4nodejs ============= ![opencv4nodejs](https://user-images.githubusercontent.com/31125521/37272906-67187fdc-25d8-11e8-9704-40e9e94c1e80.jpg) [![Build Status](https://travis-ci.org/justadudewhohacks/opencv4nodejs.svg?branch=master)](http://travis-ci.org/justadudewhohacks/opencv4nodejs) [![Build status](https://ci.appveyor.com/api/projects/status/cv3o65nrosh1udbb/branch/master?svg=true)](https://ci.appveyor.com/project/justadudewhohacks/opencv4nodejs/branch/master) [![Coverage](https://codecov.io/github/justadudewhohacks/opencv4nodejs/coverage.svg?branch=master)](https://codecov.io/gh/justadudewhohacks/opencv4nodejs) [![npm download](https://img.shields.io/npm/dm/opencv4nodejs.svg?style=flat)](https://www.npmjs.com/package/opencv4nodejs) [![node version](https://img.shields.io/badge/node.js-%3E=_6-green.svg?style=flat)](http://nodejs.org/download/) [![Slack](https://slack.bri.im/badge.svg)](https://slack.bri.im/) **opencv4nodejs allows you to use the native OpenCV library in nodejs. Besides a synchronous API the package provides an asynchronous API, which allows you to build non-blocking and multithreaded computer vision tasks. opencv4nodejs supports OpenCV 3 and OpenCV 4.** **The ultimate goal of this project is to provide a comprehensive collection of nodejs bindings to the API of OpenCV and the OpenCV-contrib modules. To get an overview of the currently implemented bindings, have a look at the [type declarations](https://github.com/justadudewhohacks/opencv4nodejs/tree/master/lib/typings) of this package. Furthermore, contribution is highly appreciated. If you want to add missing bindings check out the <a href="https://github.com/justadudewhohacks/opencv4nodejs/tree/master/CONTRIBUTING.md" rel='nofollow' onclick='return false;'><b>contribution guide</b>.** * **[Examples](#examples)** * **[How to install](#how-to-install)** * **[Usage with Docker](#usage-with-docker)** * **[Usage with Electron](#usage-with-electron)** * **[Usage with NW.js](#usage-with-nwjs)** * **[Quick Start](#quick-start)** * **[Async API](#async-api)** * **[With TypeScript](#with-typescript)** * **[External Memory Tracking (v4.0.0)](#external-mem-tracking)** <a name="examples" rel='nofollow' onclick='return false;'></a> # Examples See <a href="https://github.com/justadudewhohacks/opencv4nodejs/tree/master/examples" rel='nofollow' onclick='return false;'><b>examples</b></a> for implementation. ### Face Detection ![face0](https://user-images.githubusercontent.com/31125521/29702727-c796acc4-8972-11e7-8043-117dd2761833.jpg) ![face1](https://user-images.githubusercontent.com/31125521/29702730-c79d3904-8972-11e7-8ccb-e8c467244ad8.jpg) ### Face Recognition with the OpenCV face module Check out <a href="https://medium.com/@muehler.v/node-js-opencv-for-face-recognition-37fa7cb860e8" rel='nofollow' onclick='return false;'><b>Node.js + OpenCV for Face Recognition</b></a>. ![facerec](https://user-images.githubusercontent.com/31125521/35453007-eac9d516-02c8-11e8-9c4d-a77c01ae1f77.jpg) ### Face Landmarks with the OpenCV face module ![facelandmarks](https://user-images.githubusercontent.com/31125521/39297394-af14ae26-4943-11e8-845a-a06cbfa28d5a.jpg) ### Face Recognition with <a href="https://github.com/justadudewhohacks/face-recognition.js" rel='nofollow' onclick='return false;'><b>face-recognition.js</b></a> Check out <a href="https://medium.com/@muehler.v/node-js-face-recognition-js-simple-and-robust-face-recognition-using-deep-learning-ea5ba8e852" rel='nofollow' onclick='return false;'><b>Node.js + face-recognition.js : Simple and Robust Face Recognition using Deep Learning</b></a>. [![IMAGE ALT TEXT](https://user-images.githubusercontent.com/31125521/35453884-055f3bde-02cc-11e8-8fa6-945f320652c3.jpg)](https://www.youtube.com/watch?v=ArcFHpX-usQ "Nodejs Face Recognition using face-recognition.js and opencv4nodejs") ### Hand Gesture Recognition Check out <a href="https://medium.com/@muehler.v/simple-hand-gesture-recognition-using-opencv-and-javascript-eb3d6ced28a0" rel='nofollow' onclick='return false;'><b>Simple Hand Gesture Recognition using OpenCV and JavaScript</b></a>. ![gesture-rec_sm](https://user-images.githubusercontent.com/31125521/30052864-41bd5680-9227-11e7-8a62-6205f3d99d5c.gif) ### Object Recognition with Deep Neural Networks Check out <a href="https://medium.com/@muehler.v/node-js-meets-opencvs-deep-neural-networks-fun-with-tensorflow-and-caffe-ff8d52a0f072" rel='nofollow' onclick='return false;'><b>Node.js meets OpenCV’s Deep Neural Networks — Fun with Tensorflow and Caffe</b></a>. #### Tensorflow Inception ![husky](https://user-images.githubusercontent.com/31125521/32703295-f6b0e7ee-c7f3-11e7-8039-b3ada21810a0.jpg) ![car](https://user-images.githubusercontent.com/31125521/32703296-f6cea892-c7f3-11e7-8aaa-9fe48b88fe05.jpeg) ![banana](https://user-images.githubusercontent.com/31125521/32703297-f6e932ca-c7f3-11e7-9a66-bbc826ebf007.jpg) #### Single Shot Multibox Detector with COCO ![dishes-detection](https://user-images.githubusercontent.com/31125521/32703228-eae787d4-c7f2-11e7-8323-ea0265deccb3.jpg) ![car-detection](https://user-images.githubusercontent.com/31125521/32703229-eb081e36-c7f2-11e7-8b26-4d253b4702b4.jpg) ### Machine Learning Check out <a href="https://medium.com/@muehler.v/machine-learning-with-opencv-and-javascript-part-1-recognizing-handwritten-letters-using-hog-and-88719b70efaa" rel='nofollow' onclick='return false;'><b>Machine Learning with OpenCV and JavaScript: Recognizing Handwritten Letters using HOG and SVM</b></a>. ![resulttable](https://user-images.githubusercontent.com/31125521/30635645-5a466ea8-9df3-11e7-8498-527e1293c4fa.png) ### Object Tracking ![trackbgsubtract](https://user-images.githubusercontent.com/31125521/29702733-c7b59864-8972-11e7-996b-d28cb508f3b8.gif) ![trackbycolor](https://user-images.githubusercontent.com/31125521/29702735-c8057686-8972-11e7-9c8d-13e30ab74628.gif) ### Feature Matching ![matchsift](https://user-images.githubusercontent.com/31125521/29702731-c79e3142-8972-11e7-947e-db109d415469.jpg) ### Image Histogram ![plotbgr](https://user-images.githubusercontent.com/31125521/29995016-1b847970-8fdf-11e7-9316-4eb0fd550adc.jpg) ![plotgray](https://user-images.githubusercontent.com/31125521/29995015-1b83e06e-8fdf-11e7-8fa8-5d18326b9cd3.jpg) ### Boiler plate for combination of opencv4nodejs, express and websockets. [opencv4nodejs-express-websockets](https://github.com/Mudassir-23/opencv4nodejs-express-websockets) - Boilerplate express app for getting started on opencv with nodejs and to live stream the video through websockets. ### Automating lights by people detection through classifier Check out <a href="https://medium.com/softway-blog/automating-lights-with-computer-vision-nodejs-fb9b614b75b2" rel='nofollow' onclick='return false;'><b>Automating lights with Computer Vision & NodeJS</b></a>. ![user-presence](https://user-images.githubusercontent.com/34403479/70385871-8d62e680-19b7-11ea-855c-3b2febfdbd72.png) <a name="how-to-install" rel='nofollow' onclick='return false;'></a> # How to install ``` bash npm install --save opencv4nodejs ``` Native node modules are built via node-gyp, which already comes with npm by default. However, node-gyp requires you to have python installed. If you are running into node-gyp specific issues have a look at known issues with [node-gyp](https://github.com/nodejs/node-gyp) first. **Important note:** node-gyp won't handle whitespaces properly, thus make sure, that the path to your project directory does **not contain any whitespaces**. Installing opencv4nodejs under "C:\Program Files\some_dir" or similar will not work and will fail with: "fatal error C1083: Cannot open include file: 'opencv2/core.hpp'"!** On Windows you will furthermore need Windows Build Tools to compile OpenCV and opencv4nodejs. If you don't have Visual Studio or Windows Build Tools installed, you can easily install the VS2015 build tools: ``` bash npm install --global windows-build-tools ``` ## Installing OpenCV Manually Setting up OpenCV on your own will require you to set an environment variable to prevent the auto build script to run: ``` bash # linux and osx: export OPENCV4NODEJS_DISABLE_AUTOBUILD=1 # on windows: set OPENCV4NODEJS_DISABLE_AUTOBUILD=1 ``` ### Windows You can install any of the OpenCV 3 or OpenCV 4 <a href="https://github.com/opencv/opencv/releases/" rel='nofollow' onclick='return false;'><b>releases</b></a> manuall
评论
    相关推荐
    • homebridge-hubitat-makerapi
      v0.1.0-从我的tonesto7版本移植了应用程序,并添加了Websocket频道。 当前不支持返工的设备分类,HSM和模式!!! v0.1.2-修复了一个小时后不更新HomeKit中的图块的错误v0.1.7-修复了与Siri的问题,在日志输出中...
    • ServerR:eek GeekApk RDBMS RESTFul + WebSocket API服务器应用程序
      ServerR GeekApk API ServerR is a small GeekApk HTTP&WebSocket API implementation written in with Rocket, Diesel · · ...GeekApk 里主要使用 4 个模型: 用户、应用、分类、评论 G
    • whispr:赛诺菲IADC创建的开源事件,评论和警报处理中心
      通过严重性类型进行Whisp分类 使用鞭子的任何基本元素进行过滤 鞭打分类标签管理系统 网络挂钩 通过带有Websockets的GraphQL进行订阅(我们的路线图中很快就会出现更多订阅类型) Whispr由以下主要元素组成 Whispr...
    • skyapi:一个简单的Websocket API,位于SkyDNSetcd的前面,并管理服务的活动进程
      skyapi将子域下的条目分类。 默认情况下,此子域是services但可以全局配置,也可以基于每个连接进行配置。 可以发送多个类别,以允许子域为多级。 例如, category=services,production会使该条目位于{service}....
    • 处理WebSocket
      处理WebSocket,里面涉及多个兼容所需的js,而且分类处理
    • TRS:交通报告系统-使用视觉识别来识别交通
      从TFL的卡纸相机中获取图像,然后将图像与IBM watson的视觉分类器进行对比,然后返回结果(已合并/未合并)。 然后,程序使用websockets将结果推送到网页上。 当前每5分钟检查一次,但可以更改以适合要求。 ## ...
    • grapple:波纹分类账提取器
      它查询当前分类帐索引的涟漪,然后向后走,直到到达创世分类帐,记录它找到的每笔交易。 可以从本地或远程涟漪实例收集数据。 如果您有一个本地运行的rippled 实例已经下载了全部或大部分分类帐,我强烈建议您进行...
    • shmilylbelva-laykefu-master.zip
      客服系统,使用thinkphp+websocket开发的得客服系统。可自定义多客服和客服分类,有专门的后台管理系统管理客服。
    • http-kit:http-kit是具有WebSocket和异步支持的极简,事件驱动的高性能Clojure HTTP服务器客户端
      为了帮助我,我将进行基本的问题分类,接受次要/明显的PR等。 非常感谢进行该项目! 欢迎其他贡献者:如果您有兴趣向我伸出援手,请与我联系。 有关原始文档,示例,基准等信息,请参见(未维护,已过时)。 - ...
    • XRPL-Persist-Price-Oracle:坚持XRPL上的XRP-USD价格('oracle')
      使用此命令从XRPL实时获取XRP-USD汇率(需要XRPL WebSocket节点连接,例如,使用xrpl.ws) { " command " : " account_lines " , " account " : " rXUMMaPpZqPutoRszR29jtC8amWq3APkx " } 想要获得更新价格数据...