How to send simulink video viewer live footage to python script and send output of python script back to simulink?

조회 수: 7 (최근 30일)
Im doing a project on human detection, so for that is there any way to send live video of simulink simulation (from video viewer) to python scripts which uses deep learning models to identify humans and send python output to simulink in real time?
tried using udp send recieve blocks, but there's no output from udp recieve block.(using 2024b)

답변 (1개)

Manikanta Aditya
Manikanta Aditya 2024년 10월 8일
Hi Sashank,
I found a relevant MATLAB Answer query to your question.
Refer to the following MATLAB Answer and see if this gives you any heads up to start with.
Hope it helps!
  댓글 수: 1
Sashank
Sashank 2024년 10월 10일
Thank you for the reply @Manikanta Aditya,
I have already tried this method (i.e, converting MPEG to data packets),
In this I faced two issues one conversion of MPEG format to data packets, I couldnt find the Video converter block which was mentioned in that query.
So i made a custom matlab function block , but it didnt work out......

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by