Open recording in repeat mode
Hello, Is there a way to open a recording in a repeat mode? It could be an argument in the Metavision::Camera::from_file(), but it isn't.
Optical Flow Center-X and Center-Y always 0
I'm running into a strange problem where I am trying to process the optical flow of data and plot their position over time using the center_x and center_y values. For some reason, the center_x and center_y values are all essentially zero with some floating
What would be the best way to videostream over network from my EVK4?
Hello, I want to stream the video of my EVK4 over the network to another PC. What would be the best or most efficient way to do that? Any Ideas welcome.
Concatenating raw files
Hi, just a simple question, is it possible to concatenate 2 raw files to generate a new one whose duration is the sum of the two files taken as input? Thanks, Pedro
set biases while using metavision_simple_viewer.py
I am trying to set biases while using metavision_simple_viewer.py, but I have no idea how to make it in the absence of specific code examples. Sorry, I'm not good at using Python, so this question might seem a bit silly.
Help generating an event rate per allocation period plot
I am running the following code to plot event rates as a function of allocation time. Unfortunately, python crashes without any error when I call histo for the first time. Looking at it as far as I can, it seems the error is occurring on the C side. I
Start/stop recording in same session: Different video lengths
Dear all, I am trying to acquire and store different videos in the same session. I was finally able to do it by using the RawReader class instead of the EventIterator, and with a proper order in the device.get_i_events_stream() function calls. If I run
Extrinsic Calibration Issue- Unable to detect LEDs
Hi I've been trying to use Arduino 2560 to blink 2 LEDs at different frequencies(150&200Hz) - code attached below. However, it seems like LEDs aren't being detected by the Prophesee EVK4 camera - (bias settings are at default (recording attached)) when
Using OpenEB on Raspberry Pi 5
Hello, i'm running into a problem when trying to use the EVK3 on my Raspberry Pi 5. I compiled from source and even used ctest to verify the functionality. But when i try to launch for example metavision_viewer i get the following error: [HAL][ERROR]
Python RAW File decoder
Hello, In this documentation EVT2 RAW File decoder — Metavision SDK Docs 4.6.0 documentation (prophesee.ai) I can see that there is a code to extract the CD events as well as External Trigger Events in two different CSV files from a RAW file. Is there
[Grab HAL Error or Warning message]
Hi, I want to ask is it possible to grab the error message like NonMonotonicTimeHigh with Python API? I plan to detect during my recording/ live view session if I grab this error then I will stop or do something on my code. Thanks
Bypass Bias range check in python
Hi all, Do you know how we can bypass bias range check with the python API please provide some example the documentation has none and I am lost.
Error while compiling metavision_sdk_get_started
Hi, I have an error while trying to compile the file metavision_sdk_get_started. PS C:\Users\ahamm\Documents\MA4\Project_event_camera\Code\PROPHESEE\core> python metavision_sdk_get_started.py Traceback (most recent call last): File "C:\Users\ahamm\Documents\MA4\Project_event_camera\Code\PROPHESEE\core\metavision_sdk_get_started.py",
How to use I_ROI in python I am trying to do some blob detection and then use that to set I_ROI.
Can you help me with this approach and code.
Sample not running in new version
Hello, With the new release Metavision SDK (4.6) I am unable to open samples (ex. metavision_time_surface.py). But with version 4.53 there is no problem. The following error is shown: ImportError: DLL load failed while importing _errors: The specified
Why do the OFF events come first in a moving object?
Hello, In this example the spinner end is spinning from left to right (clockwise). Why are the first events happening OFF events? Because the contour of ON events also do not look round, so I was wondering how the camera records the movement.
Ask for help
Hello, I would like to ask what is the difference between setting bias_diff_off to -20 and 20?
GenericProducerAlgorithm::is_done() does not change status automatically
Hello, I use Metavision::camera for reading from a file or a camera, and GenericProducerAlgorithm to get events (in the same way as in the metavision_player example) Now I want to close the application when all events was read from a file and processed
ColorPalette in metavision_simple_viewer.py
Hi, All! When I change ColorPalette in metavision_simple_viewer.py I get these error: Code lines 55, 56: As the same time ColorPalette with Light, Dark and CoolWarm is working. How can I manage with this error? Best Regards, Rafael.
Reduce resolution of a recording
Hello, I am running some recorded .raw data with 1280*720 resolution and I would like to make some comparisons on how this would work on a 640*480 resolution. I have been searching on how to do this and I have seen the posibility of applying a ROI filter
How to record in stereo?
Hello. I'm connecting 2 event cameras in stereo. I already did the synchronization by using the metavision_sync.py algorithm but I couldn't find out how to start to record with both cameras at the same time. I used the metavision_simple_recorder.py but
OpenEB: metavision_player (.cpp example) doesn't write video in .avi
Hi! I compiled OpenEB on Jetson platform (Ubuntu 20.04) according the manual: https://docs.prophesee.ai/stable/installation/linux_openeb.html#chapter-installation-linux-openeb I need to save recorded video from event camera EVK3 in .avi format: ~/openeb/sdk/modules/core/cpp/samples/metavision_player/
How to improve the writing speed of CSV files?
# Define a thread function to write to the CSV def write_to_csv(event_queue, output_file): with open(output_file, 'w', newline='') as csv_file: csv_writer = csv.writer(csv_file) while True: try: # Get events
Dynamic ROI
Hi guys I am trying to solve the following problem and am stuck: I have detected some regions of interest. In addition to the position, I have recorded the corrosponding timestamp. Now I want to dynamically extract the regions from the existing RAW file
Problem generating Histo or Diff raw files
Hello, I am running "event frame gpu loading sample" by following the exact instructions given: First, compile the sample as described in this tutorial. Then, you can use the metavision_event_frame_generation sample to generate event frame RAW files in
Event Frame GPU Loading Sample using C++
Hello, I am trying to run the Event Frame GPU Loading Sample using C++ and I am getting an unexpected error. I installed CUDA 11.7, and i am running in a Windows OS. I am following the steps as stated here: Event Frame GPU Loading Sample using C++ — Metavision
Duplicate events in the event stream
Hi, I'm using EVK4 HD for event data collection. I find that there are several duplicate cd events (i.e. the same events in pixel location, timestamp and polarity) in the event stream. Are these duplicate events redundant, which I can remove without any
Some routines do not run and cannot find corresponding module
When I tried to run the metavision_sdk_get_started file, I found that some of the files were not found in the set file (see the image for details). My python version is 3.8. I'm using the windows version. Can you tell me what I should do to successfully
No module named 'metavision_sdk_base_paths_internal'
Hi, Prophesee team I want to install Metavision SDK on Ubuntu 22.04 and i installed it following the installation document. But when i trie to run python tutorials, i meet a problem :No module named 'metavision_sdk_base_paths_internal' . My python version
Issue with Converting Recordings to HDF in Metavision Studio
Hello I have encountered an issue while using Metavision Studio to convert a series of video recordings into HDF files. Specifically, when attempting the conversion process, some of the videos fail and prompt an error message related to the chronological
All paths, where OPENEB binary is installed on linux (arm64, Jetpack 5, ubuntu 20.04)
Hello Prophesee Team, I have compiled my CPP application on the development system and now I am trying to understand which binaries are exactly created on my development system by the OPENEB 4.3.0 installation process. This will allow me to copy them
vcpkg installation error
Hello, This might not be related to the application directly, but I am getting stuck at one of the steps in the installation process! I am having trouble installing the vcpkg as it is having trouble downloading 7-zip and manually downloading it and adding
PolarityFilterAlgorithm is not in Pipeline
Hi! How to use Metavision::PolarityFilterAlgorithm() algorithm in metavision_viewer.cpp file without pipeline? Metavision::PolarityFilterAlgorithm() used in 2 examples: metavision_filtering.cpp and metavision_composed_viewer.cpp with pipeline. The part
Sparse Optical Flow in C++ Speed information
For extracting the speed information using the metavision_sparse_optical_flow I changed some code lines as in the website is said with the function void writeCSV. This function gets the flow_output and writes it down in a csv format. I try to run the
Issues of EVT2 RAW File encoder
Hi, when I used metavision_evt2_raw_file_encoder to encode a CSV file into an EVT2 format RAW file, I found that the timestamps of the events in the RAW file were different from that in the original CSV file. There is a difference of tens of microseconds
OPENEB 4.3.0 Pipeline Jetson Xavier Performance
Hello Prophesee Team, I successfully compiled OPENEB 4.3.0 on arm64 Ubuntu 20.04 using the guide provided at https://docs.prophesee.ai/4.3.0/installation/linux_openeb.html Additionally, I managed to compile and run my C++ application, that utilizes the
Error gotten while finding modules in Python samples
I have an issue while trying to convert with the provided "metavision_file_to_csv" one of the samples. This is what i input in the command windor: py metavision_raw_to_csv.py -i spinner.raw. While finding the different functions and modules this calls,
Error when installing extra libraries
I am re installing the whole metavision SDK and i am checking all the extra libraries are installed. When i run this command: python -m pip install "opencv-python==4.5.5.64" "sk-video==1.1.10" "fire==0.4.0" "numpy==1.23.4" "h5py==3.7.0" pandas scipy the
Camera connection error: [SERVER] - stderr - [HAL][ERROR] Unable to open device
I connected an IMX636 to my computer, ran metavision studio (SDK 3.1.2) and clicked "open a camera". However, cmd will display the ERROR message "[SERVER] -stderr - [HAL][ERROR] Unable to open device". This error will be reported for a total of 4 times,
How to read .h5 file format in Metavision 4.4.0
Hello, I am trying to read the dataset DSEC (Download – DSEC (uzh.ch)) with the Metavision 4.4.0. The dataset is supposed to be from Prophesee Gen3, and the file format provided is .h5. From my understanding .h5 and .hdf5 have the same porperties, and
Next Page