Cutting the RAW videos
Hello, I want to cut the raw videos into shorter samples. How can I do it using Python? I could find this link https://docs.prophesee.ai/stable/samples/modules/hal/hal_raw_cutter.html but it is working in C++. Is there any Python code that does the same?
Generate Event Frame with sliding moving window
Hi, Is there a function that can create a sliding window for event generation? I understand that using OnDemandFrameGenerator only allows for a fixed time window, which cannot be set to overlap. Is there another way to achieve this? Thanks!
Using the IMX636 + MIPI CSI-2 with Jetson Orin instead of AMD Kria
Does anyone have experience making this work? - Device tree looks like it's available here: https://github.com/prophesee-ai/linux-sensor-drivers - I'm curious if there's a driver available for the Jetson, and if not, if anybody has tips to write one for
Extrinsic Calibration of the Camera
Hello, I need to convert the units of measurements from pixel to meter and from pixel/sec to m/s that are the output of this code https://docs.prophesee.ai/stable/samples/modules/cv/sparse_flow_py.html?highlight=sparse For doing that, I need to calibrate
metavision_time_surface The delay problem is about 3 seconds. As time increases, the delay increases.
The delay problem is about 3 seconds. As time increases, the delay increases. https://github.com/prophesee-ai/openeb/blob/main/sdk/modules/core/python/samples/metavision_time_surface/metavision_time_surface.py There is a huge delay in capturing images.
Problems using SilkyEvCam VGA on ARM RK3588 development board.
Currently using camera model: SilkyEvCam VGA Software: Openeb 4.6.0 Plug-in: SilkyEvCam_Plugin_Installer_for_ubuntu 4.6.0 Currently, openeb is compiled and the SilkyEvCam_Plugin_Installer_for_ubuntu plug-in is installed. Using the lsusb command, the device
How to synchronize the event-based camera and the frame-based camera
I am using the IMX646 sensor. And how can I synchronize the event camera and the grayscale camera? Looking forward to your reply.
How to calculate the threshold
Hello, I have a few questions that are a bit confusing. ● What does the "factory default" in the figure mean? Is the calculation of the positive threshold: factory default + bias_diff_on (%)? ● If not, How can I get the specific positive and negative
Max speed for tracker
Hello Prophesee Team/broader community, I am looking to accelerate a real-time tracking application of the SilkyEvCamVGA. Starting from the generic_tracking.cpp and spatter_tracking.cpp examples, it seems that I reach a hard bound at around 50fps. Beyond
HDF5 & Raw file play time differnece
If I "simply" convert the Raw file into an HDF5 file without any cutting and turn these two on with the metavision player, I could see that the "total playtime" changes, and the "position of objects in both files at the same time zone" changes as in the
Issues in Software Development Based on SDK
Hello, I have developed a software application based on the Metavision SDK. It runs correctly on my development machine, but on another computer without the SDK installed, camera-related functions do not work despite copying the necessary DLLs. When I
Metavision studio video cutting time
I'm trying to cut the raw file to the length I want using Metavision Studio, but the problem arises here. When I specify the length I want (for example, 2s), most of the time it gives me a value that doesn't match, like 2.003s or 1.973s. I guess this
Metavision Studio installation
I recently installed Metavision Studio on my Windows system, but I'm encountering two errors when trying to run the application: The first error states: "Windows doesn't find \share\metavision\apps\metavision_studio\internal\client\Metavision studio."
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
Establishing a time reference
Hello Prophesee Team, Is it possible to establish a time reference with the API (ideally Python)? For example, if one were to exploit the do_time_shifting functionality, could a timestamp simply be taken as the EventsIterator is called? Or is this too
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
Next Page