Coder Social home page Coder Social logo

onvif-nvt-snapshot-vue-sample's Introduction

onvif-nvt-snapshot-vue-sample

Welcome to the onvif-nvt sample project for snapshots using Vue 2.5 and Quasar 0.14.7

You can find document for the onvif-nvt package here

This is a good project for anyone interested in programming ONVIF-compliant cameras. However, in an unconventional way, the server code was written into the build/script.dev.js because it was quick and dirty. The application uses sockets to communicate ONVIF commands with the client.

This sample application will not do much if you do not have any ONVIF-compliant cameras on your network. If you don't know if you have an ONVIF-compliant camera, you can verify it here. Occassionally, some cameras need a firmware upgrade to support ONVIF (depending on age), in which case, refer to your camera manufacturer's website and support information for your particular camera.

Installation and Running

To install, run npm install. If you have an ONVIF-compliant camera, you can start the app with npm run dev. A web browser at port 8080 will automatically be started.

Operations Supported

  1. Discovery
  2. Device Information
  3. Snapshot
  4. Pan / Tilt / Zoom (PTZ)
  5. GotoHomePosition / SetHomePosition
  6. GotoPreset / SetPreset / RemovePreset

Discovery

Discovery

Cameras

Cameras

Connect

Connect

Snapshot

Snapshot

Device Information

Device Information

Add Preset

Add Preset

Remove Preset

Remove Preset

Goto Preset

Goto Preset

Set Home Position

Set Home Position

onvif-nvt-snapshot-vue-sample's People

Contributors

hawkeye64 avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

onvif-nvt-snapshot-vue-sample's Issues

Fresh git clone, get error

Error on running npm run dev: babel-loader@8 requires Babel 7.x (the package '@babel/core'). If you'd like to use Babel 6.x ('babel-core'), you should install 'babel-loader@7'.

From package.json:

"babel-core": "^6.26.3",
[...]
"babel-loader": "^8.0.6",

Fix: Change babel-loader line to the below, and rerun npm install.

"babel-loader": "^7.0.0",

I then get some other errors, but the fix above resolves the babel-loader error at least. (and I guess this is an example of where checking-in the package-lock.json file might be helpful)

Does not install

after cloning the repo, running npm install:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR!   dev webpack@"^4.31.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^3.1.0" from [email protected]
npm ERR! node_modules/extract-text-webpack-plugin
npm ERR!   dev extract-text-webpack-plugin@"^3.0.2" from the root project

I tried --force, but that just results in a broken install, building or running doesn't work.

I'm running this on a Mac,
npm version: 8.3.0
node version: v17.3.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.