npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mirada

v0.0.15

Published

Node.js and Browser high level OpenCv API. Based on OpenCv.js and distributed as npm package with support for TypeScript and easy APIs for server and browser.

Downloads

140,220

Readme

OpenCv JavaScript/TypeScript API for Node.js and Browser on top of OpenCv.js, adding support for npm, TypeScript and utilities related to asynchronicity, DOM, etc.

Contents

Summary

  • TypeScript editor playground. Experience TypeScript code editor with opencv.js TypeScript online with autocomplete, type-checking, online docs, etc.
  • Video filter demo. Filter camera output with many opencv operations real time. Multiple operations can be applied together and their order and parameters can be configured.
  • Type declarations are generated by Project doxygen2typescript automatically from opencv doxygen XML documentation output.

Install

npm i mirada

Usage

Sorry I don't have docs yet, please take a look to tests. (Working on it)

Reference API

Extra APIs: project ojos

This project focus on providing type declarations for opencv.js, node.js support, a thin facade for registering image codecs, a thin facade around Mat for easy loading / writing / render from different mediums in node.js and browser.

But little more. Besides mentioned facades, this project limits to support existing opencv APIs, and test both types and implementation works. It doesn't contain high level APIs or features to keep it simple.

Then, the project ojos provides high level APIs, features and utilities, on top of this project. These are my creation and not present in openCV APIs, some of them just wrappers to existing opencv APIs with defensive checks or defaults, other more elaborated transformations involving several opencv operations. For example, Video filter demo is based on ojos

Command line

See mirada-cli project page.

TODO

  • [ ] docs - usage- - tuts - getting starterd
  • [ ] integrate the new videoCapturer and replace/remove the old one src/browser/videoCapture.ts
  • [x] browser tests
  • [x] canvas codec loaded in browser bu default
  • [x] canvas codec support svg image input
  • [x] move tool and commands to another project
  • [x] the morphing with slide effect but against two different videos ? (like obama and trump speeches and come from one to the other and back again with the slider) - see http://overengineer.net/enabling-cors-for-html5-video-element-screenshots
  • [x] camera helpers ../mirada-ts-playground/src/examples/toPack/faceDetectionCamera.ts
  • [x] ensureDataFile()
  • [ ] learnopencv.com/non-photorealistic-rendering-using-opencv-python-c/
  • [x] don't waste more time manually porting docs. build the doxygen2typescript thing