Laumont

Newcomers
  • Content Count

    16
  • Joined

  • Last visited

Everything posted by Laumont

  1. Hi! I'm using a PCAM5C with Zybo Z720 revision platform on SDSoC. Right now I'm using filter2D for PCam5C and I've seen that the default format is a multi-planar, two-plane version of the YUV 4:2:2 format, and when they apply the filter2d they just use the Y plane. I wanted to know if anyone could help me with changing this format into RGB because I want to use in the filter2d.cpp the cvtColor to transform the RGB 3channels into 1 grayscale. Or if maybe there's a conversion between YUV4:2:2 and RGB by using the two planes? Thanks so much!!
  2. Hi @BogdanVanca should I follow the same steps as in https://github.com/Digilent/Zybo-Z7-20-pcam-5c?_ga=2.47578663.1452388211.1590932373-2114177312.1538468879 to try it? I'm on it. Thanks so much!! I'll tell you as soon as I finish.
  3. Hi @BogdanVanca, Thanks so much thats perfect! I will be attentive to your answer and I'll try it for you. Thanks so much, Laura.
  4. Hi @BogdanVanca I'm sorry if I'm tiresome, but will you be able to assist me in this procedure? Thanks! Regards, Laura.
  5. Hi @BogdanVanca don't worry I'm glad you answered! I'm using your github Zybo Z7-20 reVISION platform that has the filter2d demo for PCAM (https://github.com/Digilent/reVISION-Zybo-Z7-20 ) . Could we use that one instead? That is because the git you sent me it's for Vivado 2018.2 and I'm using SDx 2017.4, (if not I've seen that there's a 2017.4 release for the link you shared ) but of course I'm ok with this and with your assistance, I'm so thankful!
  6. Hi @BogdanVanca ! Thanks for replying it’s not too late, I have an algorithm that process a video from the sd card in the Zybo, and what I want to do is: instead of saving the processed frames again on the sd card, I want to see them through the hdmi on the screem. So i can see real time the fps I can achieve accelerating the algorithm and how the algorithm works. thanks so so much!
  7. Hi @Ana-Maria Balas I've been trying to achieve an answer on Xilinx forum but no one answered. Vivado HLS works as well because I think I can incorporate the project into SDSoC afterwards, so please I'd be very thankful if you'd ask someone for help! ☺️ Thanks!
  8. Hi! I'm a software developer not used to working with FPGA's and I have a video application algorithm on SDSoC 2017.4 for my Zybo Z7_20 reVISION platform. In this video app I read a video from the sd_card data and process it, then write into the sd_card the images of each frame proccessed. I wanted to stream out the processed frames through HDMI but I don't know how. I've been looking a Filter2demo to see how the video stream is displayed on the screem throught hdmi, but I don't really understand because it uses a drm controller and buffers and I don't know how to change it to make it read my video frames instead of reading the hdmi input and then displaying them. Can anybody help me? I attach the project I'm trying to change. Thanks!!! pca_stream.zip
  9. Hi! I've been trying to execute a simple matrix multiplication (with large dimension) on SDx 2017.4 on a Zybo Z720 board. I used the reVISION repository on GITHUB (https://github.com/Digilent/reVISION-Zybo-Z7-20 ) to create the platfom and to export it to my Windows Host. When debugging and releasing the app without any function into HW it works perfectly fine, no errors no warnings. But I've tried to toggle the function that computes the matrix multiplication into HW and the next error appears: "C:/zybo_z7_20/export/zybo_z7_20/sw/sysroot/usr/include\malloc.h:38:14: error: declaration conflicts with target of using declaration already in scope. extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; ^ ERROR: [SdsCompiler 83-5031] Problem detected in Vivado HLS run - unable to find solution implementation directory for calculo_mat_transformacion C:/pca/mult_matptueba/Debug/_sds/vhls/calculo_mat_transformacion/solution/impl/ip. For possible causes, review C:/pca/mult_matptueba/Debug/_sds/vhls/calculo_mat_transformacion/solution/solution.log or C:/pca/mult_matptueba/Debug/_sds/vhls/calculo_mat_transformacion_vivado_hls.log. C:/pca/mult_matptueba/Debug/_sds/vhls/calculo_mat_transformacion_vivado_hls.log (last 20 lines): C:/zybo_z7_20/export/zybo_z7_20/sw/sysroot/usr/include\wctype.h:52:27: error: typedef redefinition with different types ('unsigned long' vs 'unsigned short') typedef unsigned long int wctype_t; ^ C:/Xilinx/Vivado/2017.4/win64/tools/clang/bin/../lib/clang/3.1/../../../x86_64-w64-mingw32/include\_mingw.h:437:24: note: previous definition is here typedef unsigned short wctype_t; ^ Failed checking during preprocessing. while executing "source C:/pca/mult_matptueba/Debug/_sds/vhls/calculo_mat_transformacion_run.tcl" invoked from within "hls::main C:/pca/mult_matptueba/Debug/_sds/vhls/calculo_mat_transformacion_run.tcl -l calculo_mat_transformacion_vivado_hls.log" ("uplevel" body line 1) invoked from within "uplevel 1 hls::main {*}$args" (procedure "hls_proc" line 5) invoked from within "hls_proc $argv" INFO: [Common 17-206] Exiting vivado_hls at Fri May 15 16:13:36 2020... sds++ log file saved as C:/pca/mult_matptueba/Debug/_sds/reports/sds_mult_mat.log ERROR: [SdsCompiler 83-5004] Build failed make: *** [src/mult_mat.o] Error 1" Can anybody help me understand? I don't know if its something related to the board or if I need to do something else before toggleling any function to HW. I attach the sds.log that the error says to review. Thanks in advance!! calculo_mat_transformacion_vivado_hls.log solution.log
  10. Solved!!! I passed the video as an argument from the terminal, and in the TCF Debugger options in the argument tab I added "/mnt/video". And it worked!
  11. Hi! I'm trying to debug a Zybo Z720 video aplication on the Xilinx System Debugger (HW Applicationt) with TCFAgent. The debug stars correctly but my application requires opening a video and the TCF seems not to know how to handle the opening, can anybody tell me how can I pass him the video? I've written: v.open("IMG_4653.MOV"); if (!v.isOpened()) { cout << "The file could not be open\n" << endl; return -1; } And the debugger is always returning me "The file could not be open". But when I do the release, It works perfectly. It can open the video. So I'm guessing it has something to do with the TCF Agent. Any help please? Thanks!
  12. Hi, I've trying to include OpenCV libraries into my SDx Application Project about detecting objects. I used the custom platform Digilint ZyboZ720 from github, by just adding the platform to the project as indicated in the SDSoC Readme.txt (https://github.com/Digilent/SDSoC-Zybo-Z7-20 (I didn't use petalinux nor Vivado). Then the process was: - New App Project - Custom Platform: Zybo Z720 -Empty App - Inserting source files - On SDS++ Compiler on directories I added the includes on the picture below, and also the libraries on the SDS++ Linker (adding also the path). My problem is Ican't stop having this error refered to some libs he can't find, any solution? c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libjpeg.so.62, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libwebp.so.6, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libpng16.so.16, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libtiff.so.5, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgobject-2.0.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libglib-2.0.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgstreamer-1.0.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgstapp-1.0.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgstriff-1.0.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgstpbutils-1.0.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libv4l1.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libv4l2.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libavcodec.so.57, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libavformat.so.57, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libavutil.so.55, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libswscale.so.4, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgphoto2.so.6, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgphoto2_port.so.12, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgtk-3.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgdk-3.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libcairo.so.2, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link) c:/xilinx/sdk/2017.4/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libgdk_pixbuf-2.0.so.0, needed by C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link) C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so: undefined reference to `gst_structure_get_fraction' C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_imgcodecs.so: undefined reference to `[email protected]_0' C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so: undefined reference to `[email protected]_57' C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so: undefined reference to `gst_app_src_set_caps' C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_imgcodecs.so: undefined reference to `[email protected]_0' C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_imgcodecs.so: undefined reference to `[email protected]_0' C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_highgui.so: undefined reference to `g_time_val_add' C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so: undefined reference to `[email protected]_4' collect2.exe: error: ld returned 1 exit status ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling 'arm-linux-gnueabihf-g++ C:/workspace_sdsoc/pca_prueba/Debug/src/declaracion_funciones.o C:/workspace_sdsoc/pca_prueba/Debug/src/map_error.o C:/workspace_sdsoc/pca_prueba/Debug/src/mult_mat.o C:/workspace_sdsoc/pca_prueba/Debug/src/pca_en_c.o C:/workspace_sdsoc/pca_prueba/Debug/src/svd.o C:/workspace_sdsoc/pca_prueba/Debug/_sds/swstubs/portinfo.o {-LC:\workspace_sdsoc\opencv\aarch32\lib} {-LC:\Xilinx\SDK\2017.4\lib} {-LC:\Xilinx\SDK\2017.4\gnu\aarch32\nt\gcc-arm-linux-gnueabi\arm-linux-gnueabihf\lib} {-LC:\Xilinx\SDK\2017.4\gnu\aarch32\nt\gcc-arm-linux-gnueabi\arm-linux-gnueabihf\libc\lib} {-Wl,-rpath-link=C:\Xilinx\SDK\2017.4\gnu\aarch32\nt\gcc-arm-linux-gnueabi\arm-linux-gnueabihf\lib,-rpath-link=C:\Xilinx\SDK\2017.4\gnu\aarch32\nt\gcc-arm-linux-gnueabi\arm-linux-gnueabihf\libc\lib,-rpath-link=C:\workspace_sdsoc\opencv\aarch32\lib,-rpath-link=C:\workspace_sdsoc\opencv\aarch32\lib\libopencv_imgcodecs.so,-rpath-link=C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_videoio.so,-rpath-link=C:\workspace_sdsoc\opencv\aarch32\lib/libopencv_highgui.so,-rpath-link=C:\Xilinx\SDK\2017.4\lib} -lopencv_imgcodecs -ldl -lrt -lopencv_features2d -lopencv_calib3d -lopencv_flann -lopencv_imgproc -lopencv_core -lopencv_videoio -lopencv_highgui -L C:/Xilinx/SDx/2017.4/target/aarch32-linux/lib -LC:/workspace_sdsoc/pca_prueba/Debug/_sds/swstubs -Wl,--start-group -Wl,--end-group -Wl,--start-group -lpthread -lsds_lib -lxlnk_stub -Wl,--end-group -o C:/workspace_sdsoc/pca_prueba/Debug/_sds/swstubs/pca_prueba.elf' sds++ log file saved as C:/workspace_sdsoc/pca_prueba/Debug/_sds/reports/sds.log ERROR: [SdsCompiler 83-5004] Build failed make: *** [pca_prueba.elf] Error 1 Please help, this is destroying me:(
  13. I don't intend on using petalinux but sdsoc
  14. Hi! I'm struggling with the same problem right now, did you find the answer?? Or you just downloaded the 2017.4 version of SdSoc?
  15. Hi! I'm a newbie in this world and i just purchased a Zybo Z7-20 board. I'm trying to use it with Xilinx SW SDx for Windows to implement a video processing application running on Linux OS instade of standalone. My problem is than SDx 2018.3 does not have the Zybo Z7-20 platform available and I think I might need to customize it. Does anyone know how to do this with the correct hardware description(dsa) and software components (petalinux build)? I saw that there was a Zybo Z7-20 platform for Vivado 2017.4 but I'm always getting: "Exiting sds++ : Error when calling 'arm-linux-gnueabihf-g++" and I think it's because of the platform not having the correct SW for petalinux build. Help please! Thanks.