Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

augmented

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

augmented

Augmented reality in python made easy

  • 2.4.1
  • PyPI
  • Socket score

Maintainers
1

augmented

Ar python is a cross platform module used to do augmented reality using python

Requirements


  • opencv-contrib-python
  • Numpy
  • requirements may vary on diffrent operating systems

instalation

pip install augmented

Thats it

How to use

Overlaying images

initializing


import augmented
ar = augmented.ar_overlay(capture:int)#capture = camera number
ar.setup(targetImage: str, overlayImage: str, nfeatures: int, debug: bool=True, confidence: int=25, displayName: str="Augmented by sarang")
  • targetImage = Image to overlay on top of

  • overlayImage =Image to overlay

Not required but can tweak the ones below
  • nfeatures = Features to detect on target image the bigger the more accurate and the more resource intensive 1000 recomended

  • debug = debug mode

  • confidence = How many feature matches to confirm

  • displayname = title name```

Overlaying

ar.start(display=bool)
  • display = Enabling display output

Aruco scanning

setup

import augmented
arucoar = augmented.arucoar(cap:int=0)
imgAug = {0: 'assets/unnamed.jpg'}
arucoar.setup(imgAug: dict, markerSize: int = 6, totalMarkers: int = 250, debug: bool = True, cam: int = 0, displayName: str = 'Augmented by Sarang')
  • imgAug = a dict containing the aruco id as value and the image(location) to display when the value is True
not neccessry but still can tweak
  • Markersize, totalMarkers = aruco code properties

  • debug = to use debug mode

  • cam = camera number

  • displayName = tite of the display window


Scanning and overlaying

arucoar.start(display=bool)
  • display = wheather to display the output or not
recomended way of using is to put the code inside a loop

version - 2.1.0Stable

contributions are appreciated and will be credited in the package

Thank you

Happy augmenting

First release

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc