Socket
Socket
Sign inDemoInstall

com.github.asus4.texture-source

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "com.github.asus4.texture-source",
"version": "0.2.0",
"version": "0.2.1",
"displayName": "TextureSource",

@@ -5,0 +5,0 @@ "description": "Simplify WebCamera and test video handling for using Computer Vision in Unity",

# Texture Source
TextureSource is a utility for using CV in Unity. It enables you to choose multiple input sources in Editor.
TextureSource is a utility that provides a consistent API to get the texture from various sources.

@@ -21,3 +21,3 @@ ## Install via UPM

"dependencies": {
"com.github.asus4.texture-source": "0.1.3",
"com.github.asus4.texture-source": "0.2.1",
...// other dependencies

@@ -28,4 +28,38 @@ }

## How To Use
After installing the library, attach `VirtualTextureSource` to the GameObject.
![virtual-texture](https://github.com/asus4/TextureSource/assets/357497/e52f80d2-b1be-4cfa-81f7-76cdafe271bc)
Then, right-click on the project panel and create the TexureSource scriptable object that you want to use. You can set different sources for the Editor and Runtime.
![scriptable-object](https://github.com/asus4/TextureSource/assets/357497/6c4862e2-5298-4f4e-8cd5-076d54d46db8)
Currently provides the following sources:
#### WebCam Texture Source
Includes collecting device rotation.
![webcam-texture-source](https://github.com/asus4/TextureSource/assets/357497/407f7372-b214-4ba9-9093-2b39755b905b)
#### Video Texture Source
Useful when using test videos only in the Editor.
![video-texture-source](https://github.com/asus4/TextureSource/assets/357497/8e38ed1a-d2d8-4e16-9fc4-e5d4c6d0a888)
#### AR Foundation Texture Source
Provides AR camera texture access. It supports both ARCore/ARKit.
![ar-faoundation-texture-source](https://github.com/asus4/TextureSource/assets/357497/5ac82a8a-0554-41a2-b9ef-c03ebd60c6ff)
## Acknowledgement
Inspired from [TestTools](https://github.com/keijiro/TestTools)
## License
[MIT](https://github.com/asus4/TextureSource/blob/main/Packages/com.github.asus4.texture-source/LICENSE)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc