Deploy to Windows Runtime

EyePop.ai Windows Runtime Installation (Developer Preview)

Download

Start Up

After configuration, the EyePop.ai Windows Runtime can be launched in four ways:

  • Start Menu shortcut (if installed)

  • Desktop shortcut (if installed)

  • Using launch_instance.bat, located in the install directory: %LOCALAPPDATA%\Programs\EyePop.ai Edge SDK\ (default)

  • Manually setting environment variables (same as in launch_instance.bat) and executing:

    %LOCALAPPDATA%\Programs\EyePop.ai Edge SDK\root\clangarm64\bin\eyepop-instance.exe

Set Developer Environment for Running EyePop.ai Locally

Powershell

$env:EYEPOP_SECRET_KEY = "<Your API Key>"
$env:EYEPOP_LOCAL_MODE = "True"

OR

Command Prompt

set EYEPOP_SECRET_KEY=<Your API Key>
set EYEPOP_LOCAL_MODE=True

Test Your Environment: Finding a Person in an Image

  1. Setup main.py

  • Create a Python script (main.py) with the following code:

Python main.py

from eyepop import EyePopSdk
from eyepop.worker.worker_types import Pop, InferenceComponent
import json

example_image_path = './example.jpg'

with EyePopSdk.workerEndpoint() as endpoint:
    endpoint.set_pop(Pop(
        components=[InferenceComponent(
            model='eyepop.person:latest'
        )]
    ))

    result = endpoint.upload(example_image_path).predict()
    print(result)
  1. Install Python & Dependencies

    • Ensure Python is installed on your system.

    • If not already done, install dependencies:

      python -m venv .venv
      source .venv/bin/activate
      pip install eyepop
  2. Add an Example Image

  • Place an image file named example.jpg in the same directory as main.py

  1. Run main.py

  • python main.py

Example Output: (json)

{
  "objects": [
    {
      "category": "person",
      "classId": 0,
      "classLabel": "person",
      "confidence": 0.9326,
      "height": 585.182,
      "id": 3,
      "orientation": 0,
      "width": 796.875,
      "x": 3.125,
      "y": 2.316
    }
  ],
  "seconds": 0,
  "source_height": 593,
  "source_id": "e56b9d79-e945-11ef-bf52-86fa66b87b23",
  "source_width": 800,
  "system_timestamp": 1739367188458980000,
  "timestamp": 0
}

Configuration & Logs

  • Configuration files: %LOCALAPPDATA%\EyePop.ai Edge SDK\

  • Log files: %LOCALAPPDATA%\EyePop.ai Edge SDK\log\

Need Help?

For troubleshooting or support, contact us:

Last updated