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 ============= ![opencv4nodejs]( [![Build Status](]( [![Build status](]( [![Coverage](]( [![npm download](]( [![node version](]( [![Slack](]( **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]( of this package. Furthermore, contribution is highly appreciated. If you want to add missing bindings check out the <a href="" 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="" rel='nofollow' onclick='return false;'><b>examples</b></a> for implementation. ### Face Detection ![face0]( ![face1]( ### Face Recognition with the OpenCV face module Check out <a href="" rel='nofollow' onclick='return false;'><b>Node.js + OpenCV for Face Recognition</b></a>. ![facerec]( ### Face Landmarks with the OpenCV face module ![facelandmarks]( ### Face Recognition with <a href="" rel='nofollow' onclick='return false;'><b>face-recognition.js</b></a> Check out <a href="" rel='nofollow' onclick='return false;'><b>Node.js + face-recognition.js : Simple and Robust Face Recognition using Deep Learning</b></a>. [![IMAGE ALT TEXT](]( "Nodejs Face Recognition using face-recognition.js and opencv4nodejs") ### Hand Gesture Recognition Check out <a href="" rel='nofollow' onclick='return false;'><b>Simple Hand Gesture Recognition using OpenCV and JavaScript</b></a>. ![gesture-rec_sm]( ### Object Recognition with Deep Neural Networks Check out <a href="" rel='nofollow' onclick='return false;'><b>Node.js meets OpenCV’s Deep Neural Networks — Fun with Tensorflow and Caffe</b></a>. #### Tensorflow Inception ![husky]( ![car]( ![banana]( #### Single Shot Multibox Detector with COCO ![dishes-detection]( ![car-detection]( ### Machine Learning Check out <a href="" rel='nofollow' onclick='return false;'><b>Machine Learning with OpenCV and JavaScript: Recognizing Handwritten Letters using HOG and SVM</b></a>. ![resulttable]( ### Object Tracking ![trackbgsubtract]( ![trackbycolor]( ### Feature Matching ![matchsift]( ### Image Histogram ![plotbgr]( ![plotgray]( ### Boiler plate for combination of opencv4nodejs, express and websockets. [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="" rel='nofollow' onclick='return false;'><b>Automating lights with Computer Vision & NodeJS</b></a>. ![user-presence]( <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]( 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="" 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
    • TRS:交通报告系统-使用视觉识别来识别交通
      从TFL的卡纸相机中获取图像,然后将图像与IBM watson的视觉分类器进行对比,然后返回结果(已合并/未合并)。 然后,程序使用websockets将结果推送到网页上。 当前每5分钟检查一次,但可以更改以适合要求。 ## ...
    • grapple:波纹分类账提取器
      它查询当前分类帐索引的涟漪,然后向后走,直到到达创世分类帐,记录它找到的每笔交易。 可以从本地或远程涟漪实例收集数据。 如果您有一个本地运行的rippled 实例已经下载了全部或大部分分类帐,我强烈建议您进行...
    • http-kit:http-kit是具有WebSocket和异步支持的极简,事件驱动的高性能Clojure HTTP服务器客户端
      为了帮助我,我将进行基本的问题分类,接受次要/明显的PR等。 非常感谢进行该项目! 欢迎其他贡献者:如果您有兴趣向我伸出援手,请与我联系。 有关原始文档,示例,基准等信息,请参见(未维护,已过时)。 - ...
    • XRPL-Persist-Price-Oracle:坚持XRPL上的XRP-USD价格('oracle')
      使用此命令从XRPL实时获取XRP-USD汇率(需要XRPL WebSocket节点连接,例如,使用 { " command " : " account_lines " , " account " : " rXUMMaPpZqPutoRszR29jtC8amWq3APkx " } 想要获得更新价格数据...