Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] {Trigger Action module not found} #1201

Open
Beauxrel opened this issue Sep 2, 2024 · 6 comments
Open

[BUG] {Trigger Action module not found} #1201

Beauxrel opened this issue Sep 2, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Beauxrel
Copy link

Beauxrel commented Sep 2, 2024

I am stumped why the module is not being found. It's being recognized, but no dice. What is going on here?

image

image

@Beauxrel Beauxrel added the bug Something isn't working label Sep 2, 2024
@brmarkus
Copy link

brmarkus commented Sep 2, 2024

How have you installed DepthAI? In which version?
In which environment (SW, HW) are you working in?
Which OS, which version of Python are you using?
Do you use a Python virtual environment (venv), and activated it?
Installed DepthAI in the same venv?

@Beauxrel
Copy link
Author

Beauxrel commented Sep 2, 2024

@brmarkus

Depthai (latest version)

  • don't know
  • POP! Os / Python 3.12
  • Conda environment
  • I did install in conda.... I believe

@brmarkus
Copy link

brmarkus commented Sep 2, 2024

Can you run other examples successfully?

Maybe it's just this sample, maybe just outdated, not supported by Luxonis? I can't remember that I had used an example like trigger_action/custom_trigger.py.

Let's see what Luxonis says about it.

@Beauxrel
Copy link
Author

Beauxrel commented Sep 2, 2024

The simple ones work like Camera_control, but not visualizer

While I am waiting for an answer, if anyone knows of a way to have the depth data control the program flow (an if statement), can you link me to an example or a way to read that data for using somewhere else.

@brmarkus
Copy link

brmarkus commented Sep 2, 2024

(public holiday in the USA today, labor day)

A typical use case is the following:

  • doing an object detection
  • taking the RegionOfInterest ROI (the bounding box) around the detected object)
  • calculate the distance to the object by calculating the average of all pixels of the bounding box
  • using a threshold for the program control flow (object too close, object too far away)

Have a look into examples with different depth cameras, like

Do you see your use-case in these examplee?

@Beauxrel
Copy link
Author

Beauxrel commented Sep 2, 2024

@brmarkus this is the closest thing I could find. Still would love to get the action triggers working though

https://docs-old.luxonis.com/projects/sdk/en/latest/samples/mixed/sdk_collision_avoidance/#source-code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants