If the pretrained CLRNet has the process ROIgather

3 visualizaciones (últimos 30 días)
Xinyu
Xinyu el 5 de Mzo. de 2025
Respondida: praguna manvi el 10 de Mzo. de 2025
Hello everyone,
I'm using https://de.mathworks.com/help/driving/ug/extract-lane-information-from-recorded-camera-data-for-scene-generation.html this example to extract the lane information. Could anyone please tell me if the ROI Gather be used in pretrained CLRNet-Modell?
Best regards,
Xinyu

Respuestas (1)

praguna manvi
praguna manvi el 10 de Mzo. de 2025
Hi @Xinyu,
The "laneBoundaryDetector" that loads the pretrained "CLRNet" by default already applies ROI using the "detect" function as follows, which is also seen in the example you referenced above:
detector = laneBoundaryDetector;
lanes = detect(detector,I,ROI=120,ExecutionEnvironment="cpu");
The "ROI" parameter either crops the top 120 rows of the image in this snippet, or the function crops the image using the position and size of the crop rectangle specified as "[x y width height]". For more information, refer to this documentation for the "detect" function:
Hope this helps!

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by