Does jetson-utils has a function to register mouse clicks?
I also realized jetson.utils is depreciated, I used to draw shapes using jetson.utils but same for mat did not work with jetson-utils.
Does jetson-utils has a function to register mouse clicks?
I also realized jetson.utils is depreciated, I used to draw shapes using jetson.utils but same for mat did not work with jetson-utils.
Hi @jagdpantherx, the underlying C++ API has functions for user input events like mouse position, clicks, and keyboard state:
If you need it from Python, you could add Python bindings for it or use another GUI toolkit from Python.
The Python module name changed from jetson.utils to jetson_utils, but jetson.utils should still work and all functionality should otherwise be the same between the two.
Thank you but I am using python, is there a smilar function on python?
I had a tracking camera working with nano and trying to improve it with the orin nano. I really like the tracker function but when I enable the tracking function I see the parameters being printed on the terminal. Is there anyway to disable them? I want some other results to be printed but cant do it when tracking is enabled.
Sorry, I don’t have Python bindings written for every C++ function in jetson_utils module.
Can you try running it with --log-level=info
? Otherwise, you can comment out the printing of the tracking status in this function:
I believe this is for C how can I do the same for python to edit my own code.
This is a command-line argument that you can run with either the C++ or Python applications that use jetson-inference/jetson-utils. Or if you prefer to set it via the Python API in your own code:
from jetson_utils import Log
Log.SetLevel('info')
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.