Vision_Toolbox_Quick_Start.pdf

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Vision_Toolbox_Quick_Start.pdf

Vision_Toolbox_Quick_Start.pdf

Labels (1)
Attachments
Comments

Hi, deniel. I have a problem about the nxpt_codegen() here.

I configured my envirement step by step following this attached instrument, and I did complete the there vision applications of 3.2.

But when I went to Chapter3 -- Face Detection on S32V234 Vision Processor, after I invoked run_face_detection_camera_main.m in MATLAB console, errors were reported as follows. I couldn't find the cause nor solution of this probelm, is there something wrong of my GNU/APU? I hope you can give some advice. Thank you very much.

run_face_detection_camera_main
FFmpeg library already installed
### Using toolchain: S32DS Vision GCC
### Creating 'C:\Users\Echo\Documents\MATLAB\Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\code\examples\apps\face_detection\codegen\exe\face_detection_camera_main\face_detection_camera_main_rtw.mk' ...
Warning: coder.wref() is treated as coder.ref() when applied on a variable-sized array or a structure with variable-sized fields.
Warning in ==> UMat_int32 Line: 97 Column: 75
Code generation successful (with warnings): View report
No function or variable is defined 'FileName'。
Error nxpvt_build
Error nxpvt_make
Error nxpvt_codegen
Error run_face_detection_camera_main (line 31)
nxpvt_codegen('face_detection_camera_main.m', config);
clipboard.png

Hi echo.chen@calmcar.com‌,


Can you try to apply HotFix_1  and and try again?


Also I want to know which Matlab version are you using?

Hi, Paul,

I'm using Matlab 2018a.

And I've tried the new nxpvt_build.p  you provided, but it doesn't work either. But the errors seems a little bit different from before.

微信截图_20190524100042.png

微信截图_20190524100106.png

Hi echo.chen@calmcar.com‌,

Can you copy the entire output from Matlab console window and paste it here?

%3CLINGO-SUB%20id%3D%22lingo-sub-1100170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EVision_Toolbox_Quick_Start.pdf%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1100170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1100170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EHotFix%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100174%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Vision_Toolbox_Quick_Start.pdf%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100174%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20class%3D%22jx-jive-macro-user%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fpeople%2Fecho.chen%40calmcar.com%22%20target%3D%22_blank%22%3Eecho.chen%40calmcar.com%3C%2FA%3E%E2%80%8C%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ECan%20you%20copy%20the%20entire%20output%20from%20Matlab%20console%20window%20and%20paste%20it%20here%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100173%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Vision_Toolbox_Quick_Start.pdf%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100173%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20Paul%2C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20transparent%3B%20color%3A%20%233d3d3d%3B%20font-family%3A%20Helvetica%20Neue%2CHelvetica%2CArial%2CLucida%20Grande%2Csans-serif%3B%20font-size%3A%2015px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20word-wrap%3A%20break-word%3B%22%3EI'm%20using%20Matlab%202018a.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAnd%20I've%20tried%20the%20new%26nbsp%3B%3CA%20_jive_internal%3D%22true%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fservlet%2FJiveServlet%2Fdownload%2F503614-1-447709%2Fnxpvt_build.p.zip%22%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%233d9ce7%3B%20display%3A%20inline%3B%20fill%3A%20%233d9ce7%3B%20font-family%3A%20arial%2Chelvetica%2C%26quot%3B%20helvetica%20neue%26quot%3B%2Cverdana%2Csans-serif%3B%20font-size%3A%2012px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20600%3B%20letter-spacing%3A%20normal%3B%20max-width%3A%20240px%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20underline%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20transition-delay%3A%200s%3B%20transition-duration%3A%200.1s%3B%20transition-property%3A%20color%3B%20transition-timing-function%3A%20cubic-bezier(0%2C%200%2C%201%2C%201)%3B%20vertical-align%3A%20baseline%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20word-wrap%3A%20break-word%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20%233d9ce7%3B%22%20target%3D%22_blank%22%3E%3CSTRONG%20style%3D%22text-decoration%3A%20underline%3B%22%3Enxpvt_build.p%26nbsp%3B%3C%2FSTRONG%3E%3C%2FA%3E%20you%20provided%2C%20but%20it%20doesn't%20work%20either.%20But%20the%20errors%20seems%20a%20little%20bit%20different%20from%20before.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190524100042.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190524100042.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83787i7F3DA0614DA1EE70%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190524100042.png%22%20alt%3D%22%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190524100042.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190524100106.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190524100106.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83829iF2A2810E5075C0BE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190524100106.png%22%20alt%3D%22%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190524100106.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100172%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Vision_Toolbox_Quick_Start.pdf%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100172%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20class%3D%22jx-jive-macro-user%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fpeople%2Fecho.chen%40calmcar.com%22%20target%3D%22_blank%22%3Eecho.chen%40calmcar.com%3C%2FA%3E%E2%80%8C%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ECan%20you%20try%20to%20apply%26nbsp%3B%3CA%20_jive_internal%3D%22true%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fthread%2F503614%22%20target%3D%22_blank%22%3EHotFix_1%3C%2FA%3E%26nbsp%3B%20and%20and%20try%20again%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAlso%20I%20want%20to%20know%20which%20Matlab%20version%20are%20you%20using%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100171%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Vision_Toolbox_Quick_Start.pdf%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100171%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20deniel.%20I%20have%20a%20problem%20about%20the%20nxpt_codegen()%20here.%3C%2FP%3E%3CP%3EI%20configured%20my%20envirement%20step%20by%20step%20following%20this%20attached%20instrument%2C%20and%20I%20did%20complete%20the%20there%20vision%20applications%20of%203.2.%3C%2FP%3E%3CP%3EBut%20when%20I%20went%20to%20%3CSPAN%20style%3D%22font-size%3A%2015px%3B%20font-family%3A%20Arial%3B%20color%3A%20%233d3d3d%3B%20font-style%3A%20italic%3B%22%3EChapter3%20--%20Face%20Detection%20on%20S32V234%20Vision%20Processor%2C%26nbsp%3B%3C%2FSPAN%3Eafter%20I%20invoked%20%3CSPAN%20style%3D%22font-size%3A%2015px%3B%20font-family%3A%20Arial%3B%20color%3A%20%233d3d3d%3B%20font-style%3A%20italic%3B%22%3Erun_face_detection_camera_main.m%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22font-size%3A%2015px%3B%20font-family%3A%20Arial%3B%20color%3A%20%233d3d3d%3B%22%3Ein%20MATLAB%20console%2C%20errors%20were%20reported%20as%20follows.%20I%20couldn't%20find%20the%20cause%20nor%20solution%20of%20this%20probelm%2C%20is%20there%20something%20wrong%20of%20my%20GNU%2FAPU%3F%20%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20transparent%3B%20color%3A%20%233d3d3d%3B%20font-family%3A%20Arial%3B%20font-size%3A%2015px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3EI%20hope%20you%20can%20give%20some%20advice.%20Thank%20you%20very%20much.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%20%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3Erun_face_detection_camera_main%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3EFFmpeg%20library%20already%20installed%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3E%23%23%23%20Using%20toolchain%3A%20S32DS%20Vision%20GCC%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3E%23%23%23%20Creating%20'C%3A%5CUsers%5CEcho%5CDocuments%5CMATLAB%5CAdd-Ons%5CToolboxes%5CNXP_Vision_Toolbox_for_S32V234%5Ccode%5Cexamples%5Capps%5Cface_detection%5Ccodegen%5Cexe%5Cface_detection_camera_main%5Cface_detection_camera_main_rtw.mk'%20...%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3EWarning%3A%20coder.wref()%20is%20treated%20as%20coder.ref()%20when%20applied%20on%20a%20variable-sized%20array%20or%20a%20structure%20with%20variable-sized%20fields.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%20%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3EWarning%20in%20%3D%3D%26gt%3B%20UMat_int32%20Line%3A%2097%20Column%3A%2075%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3ECode%20generation%20successful%20(with%20warnings)%3A%20View%20report%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20Arial%3B%20color%3A%20%23666666%3B%20background-color%3A%20%23ffffff%3B%22%3ENo%20function%20or%20variable%20is%20defined%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3E'FileName'%E3%80%82%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%20%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3EError%20nxpvt_build%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%20%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3EError%20nxpvt_make%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%20%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3EError%20nxpvt_codegen%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%20%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3EError%20run_face_detection_camera_main%20(line%2031)%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3Enxpvt_codegen('face_detection_camera_main.m'%2C%20config)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20style%3D%22white-space%3A%20pre-wrap%3B%20text-align%3A%20left%3B%20line-height%3A%201%3B%20font-size%3A%2014px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22clipboard.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22clipboard.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83567iA7957EA8389005F8%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22clipboard.png%22%20alt%3D%22clipboard.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎06-20-2018 08:22 AM
Updated by: