Socket
Socket
Sign inDemoInstall

ai.natml.vision.yolox

Package Overview
Dependencies
1
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ai.natml.vision.yolox

High performance object detector based on YOLO series for Unity Engine.


Version published
Weekly downloads
345
decreased by-17.27%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

YOLOX

YOLOX high performance general object detection.

Installing YOLOX

Add the following items to your Unity project's Packages/manifest.json:

{
  "scopedRegistries": [
    {
      "name": "NatML",
      "url": "https://registry.npmjs.com",
      "scopes": ["ai.natml", "ai.fxn"]
    }
  ],
  "dependencies": {
    "ai.natml.vision.yolox": "1.0.4"
  }
}

Detecting Objects in an Image

First, create the YOLOX predictor:

// Create the YOLOX predictor
var predictor = await YOLOXPredictor.Create();

Then detect objects in the image:

// Given an image
Texture2D image = ...;
// Detect objects
YOLOXPredictor.Detection[] detections = predictor.Predict(image);

The detection rects are provided in normalized coordinates in range [0.0, 1.0]. The score is also normalized in range [0.0, 1.0].


Requirements

  • Unity 2021.2+

Quick Tips

Thank you very much!

Keywords

FAQs

Last updated on 10 Aug 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc