Using a Camera with FRDM-MCXN947 for Vision AI/ML

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

Using a Camera with FRDM-MCXN947 for Vision AI/ML

Using a Camera with FRDM-MCXN947 for Vision AI/ML

The MCX N microcontroller family includes an eIQ Neutron N1-16 NPU for accelerating neural network models. The FRDM-MCXN947 development board can be combined with a camera and LCD screen to showcase running TinyML vision models on a microcontroller. 


 MCX N Camera Hardware Setup:

The following hardware is used:

 There are three small modifications needed for the FRDM-MCXN947 board for camera support. Without this modification the camera colors will be incorrect and tinted red.  

  • Change SJ16, SJ26, and SJ27 found on the back of the Rev B board to connect pin 3 (the dashed side) so that it looks like the following:
        anthony_huereca_0-1770329042521.png

Then connect the camera and LCD to the FRDM-MCXN947:

  1. Plug in the OV7670 camera into J11. It should line up with the orange box.
       anthony_huereca_1-1770329080269.png          
       anthony_huereca_2-1770329086311.png

 

 

  1. Connect the LCD-PAR-S035 LCD into J12. It should be flush with the bottom so that the top 2 rows of pins are left hanging off the edge. Also note that on some LCD-PAR-S035 boards those top two rows of pins are not installed.
        anthony_huereca_3-1770329095085.png

 

  1. It should look like the following when complete
         anthony_huereca_4-1770329100729.png

 


Also as the camera and Ethernet pins are shared, if you need to use the Ethernet+Camera at the same time please see this NXP Community post.


MCX N Vision ML Examples:

The NXP Application Code Hub contains several vision AI/ML examples:

There are also Multimedia Processing Pipeline (MPP) examples inside the MCX N MCUXpresso SDK that demonstrate more examples of using vision AI/ML on MCX N. These examples are only available for VSCode/GCC in the Repository-Layout SDK package.

Note: It is recommended to use MCUXpresso SDK 25.09 for these examples. The MPP issues in the 25.12 and 26.03 MCUXpresso SDK releases should be fixed in the upcoming MCUXpresso SDK 26.06. 

anthony_huereca_5-1770329951165.png

 

MCX N ML Vision Lab:

The attached eIQ Neutron NPU for MCX N Lab Guide - Face Detect.pdf lab document walks through the steps to download an example Face Detect ML project from the NXP Application Code Hub and use the eIQ Neutron Converter tool to convert a model. It also describes how to update the eIQ and Neutron software libraries in an older MCUXpresso SDK project to work with the latest eIQ Neutron SDK libraries. It is recommended to go through the general MCX N NPU Lab Guide first and then do the attached Face Detect lab second. 

The lab is also included below:

1  Lab Overview

This document will demonstrate the acceleration provided by the eIQ Neutron NPU using the Multiple Face Detection demo for the FRDM-MCXN947 found on the NXP App Code Hub. The demo will run with the non-NPU optimized model and then the performance can be compared to the NPU optimized version of that same model. It also demonstrates how the NPU optimized version of the face detect model was generated. This lab is written for MCUXPresso IDE but the same basic steps can be used for VSCode or GCC.

 

This lab will also cover how to update the Neutron NPU libraries in the project, as the original Face Detect example uses an older Neutron library version.

 

It is highly recommended to complete the eIQ Neutron NPU for MCX N Lab Guide before starting this lab.

2  Software and Hardware Installation

This section will cover the hardware and software needed for this lab.

2.1 Hardware

The following hardware is required for this lab:

2.2 NXP Software Installation

  1.          Install MCUXpresso IDE v25.6 or later.
  2. Download the latest eIQ Neutron SDK
  3. Download and unzip the latest MCUXpresso SDK for FRDM-MCXN947 using MCUXpresso SDK builder
    1. Search for the FRDM-MCXN947 board
anthony_huereca_0-1779252823521.png

 

 

  1. Then click on Others
  2. anthony_huereca_1-1779252835626.png

     

  3. On the SDK builder page, make sure to select the “eIQ” middleware and that the MCUXpresso IDE toolchain is selected. Then click on Build SDK.  
  4. anthony_huereca_2-1779252845567.png

     

  5. Then click on the Download button and accept the license agreement to download the zip file.
  6. anthony_huereca_3-1779252852536.png

     

 

3   Face Detection Example

3.1 Download Face Detect Demo from App Code Hub

The code for this lab can be found on the NXP Application Code Hub hosted on Github, and we can use MCUXpresso IDE to directly import the Face Detection example from App Code Hub.

 

  1. Drag-and-drop the FRDM-MCXN947 SDK zip file into the Installed SDKs window, located on a tab at the bottom of the screen named “Installed SDKs”. You will get the following pop-up, so hit OK.
  2. anthony_huereca_4-1779252865811.png

     

  3. Once imported, the Installed SDK tab will look something like this: 
  4. anthony_huereca_5-1779252872648.png

     

  5. In the Quickstart Panel found in the lower left corner, click on Import from Application Code Hub..
anthony_huereca_6-1779252877943.png

 

  1. In the dialog box that pops up there are many filters available to filter for different devices and types of demos. But since the name of the demo we are interested in is already known, the search box will be faster. Select the AI/ML category and then type in “face detection” and then click on the “Multiple face detection on mcxn947” demo. Make sure you don’t accidently click on the “Multiple Person Detection” demo.
  2. anthony_huereca_7-1779252885931.png

     

  3. On the popup that comes up, click on GitHub link at the top. At that point the Next button at the bottom will become clickable so click on that.
anthony_huereca_8-1779252891875.png

 

 

  1. The next screen displays the possible branches. In this case there is only main so just click on the Next button at the bottom to go with the default.
  2. anthony_huereca_9-1779252899673.png

     

  3. The next dialog box determines the location on your computer where the code will be downloaded to. You can leave it at the default location if desired or click on Browse to pick your own location. Then click on Next.
  4. anthony_huereca_10-1779252906645.png

     

  5. The next screen will download the code and ask about importing the project. Click on Next to go with the default Import existing Eclipse projects option.
  6. anthony_huereca_11-1779252913518.png

     

  7. Then finally on the last screen click on Finish to import the project into your MCUXPresso IDE workspace.
  8. anthony_huereca_12-1779252920739.png

     

  9. You may get the following warning due to the project being made on an older

version of the SDK. Then hit OK to accept the using the newest version.

anthony_huereca_13-1779252927267.png

 15. It should look like the following when done:

anthony_huereca_14-1779252934804.png

 

 

3.2 Convert Model

The demo is already using a model that was converted to take advantage of the eIQ Neutron NPU. This purpose of this section of the lab is to teach new NXP users how that model was converted.

  1. Unzip the eIQ Neutron SDK package in a directory of your choosing.  
  2. Optionally add <unzip_location>\eIQ_NeutronSDK_<version>\bin to your executable path so that the neutron-converter utility can be directly called from the command line.
  3. Back in MCUXpresso IDE, find the location of the original non-converted model used for this demo by right clicking on the face_detect.tflite file in source/model/ and going to Utilities->Open directory browser here.
  4. anthony_huereca_15-1779252951720.png

     

  5. Copy the directory location as it will be used in the next step
  6. anthony_huereca_16-1779252958805.png

     

  7. Open a Windows Command prompt and navigate to the directory where the model was at from the previous step

           

anthony_huereca_17-1779252967083.png

 

  1. Use the Neutron Converter to convert the Face Detection model:

neutron-converter --input face_detect.tflite --output face_npu.tflite --target mcxn94x

anthony_huereca_18-1779252973705.png

 

 

3.3 Update eIQ Neutron Libraries

The Face Detect ACH example uses an older version of the eIQ Neutron libraries, and so it needs to be updated to match the Neutron libraries in newest eIQ Neutron SDK since the model was converted with that version of the Neutron Converter tool.

 

  1. In the frdmmcxn947_multi_face_detection project, right click on the eiq folder and go to Utilities->Open directory browser here
  2. anthony_huereca_19-1779252981696.png

     

  3. Overwrite the Neutron files from the eIQ Neutron SDK folder into your project to update the Neutron libraries to the latest version:

File Name

Source Directory in eIQ Neutron SDK

Target Directory in MCUXpresso SDK

libNeutronDriver.a

target\mcxn94x\board\

eiq\neutron\mcxn\cm33

libNeutronFirmware.a

target\mcxn94x\board\

eiq\neutron\mcxn\cm33

NeutronDriver.h

target\mcxn94x\driver\include\

eiq\neutron\driver\include

NeutronErrors.h

target\mcxn94x\common\include\

eiq\neutron\common\include

  1. After the new Neutron libraries are copied over, clean the project to ensure the new libraries will be used
anthony_huereca_20-1779252988773.png

 

 

3.4 Board modifcations

There are some hardware modifications to the MCX FRDM board required for this demo since the camera pins are muxed with the Ethernet pins and the Ethernet functionality is the default.

 

The board version can be determined by scanning the QR code on the back of the MCX FRDM board with your phone. Most people will have Rev B boards.

anthony_huereca_21-1779252995826.png

 

  • Rev A: Remove the R157, R158, and R159 resistors from the back of the Rev A board so that it looks like the following:
  • anthony_huereca_22-1779253003945.png

     

  • Rev B: Change SJ16, SJ26, and SJ27 found on the back of the Rev B board to connect pin 3 (the dashed side) so that it looks like the following:
anthony_huereca_23-1779253007749.png

 

 

 

3.5 Connect the camera and LCD

  1. Plug in the OV7670 camera into J11. It should line up with the orange box.
anthony_huereca_24-1779253014542.pnganthony_huereca_25-1779253017946.png

 

  1. Connect the LCD-PAR-S035 LCD into J12.

    Note that some older LCD-PAR-S035 LCDs may have an extra set of pins soldered on, and in that case the extra 2 rows of pins should be hanging off the edge like in the photo below.

           

anthony_huereca_26-1779253024933.png

 

  1. It should look like the following when complete
anthony_huereca_27-1779253031139.png

 

 

3.6 Run Models

  1. Now open up model_data.s by double clicking on it, and then modify line 43 to point to the original (non NPU converted) model file named face_detect.tflite. This particular project uses the .tflite file directly.
  2. anthony_huereca_28-1779253042408.png

     

  3. Build the project by clicking on the Build icon in the Quickstart Panel
  4. anthony_huereca_29-1779253048317.png

     

  5. Then download and run the project by clicking on the Debug icon in the Quickstart Panel
anthony_huereca_30-1779253054552.png

 

 

  1. You should see the demo working with an inference time of 817ms printed on the LCD display.
    • Note: The default camera on the OV7670 is not very wide angle so you have to hold it fairly far back. There are wide-angle lenses that can be purchased to make it easier to demonstrate.
    • Note: After POR there may be some glitching on the camera due to the fact the camera is expecting 2.8V but the board is at 3.3V and the initial HSYNC signal was missed. Press the reset button (SW1) and it should fix any camera issue. 
  2. Now let’s use the Neutron optimized model by opening model_data.s again and this time selecting the NPU converted model face_npu.tflite
  3. anthony_huereca_31-1779253063971.png

     

  4. Recompile and reprogram the board.
  5. You’ll see it is significantly faster with a 22ms inference time, a 37x improvement!

 

4  Conclusion

This lab demonstrated how the eIQ Neutron NPU on MCX N devices can significantly decrease inference time on quantized models and the steps to generate a NPU optimized model using the command line tools. Also explore the other App Code Hub ML examples available online.




Labels (3)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-2313227%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EUsing%20a%20Camera%20with%20FRDM-MCXN947%20for%20Vision%20AI%2FML%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2313227%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%0A%3CP%3EThe%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fproducts%2FMCX-N94-N54-N53-N52-N24%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMCX%20N%20microcontroller%20family%3C%2FA%3E%20includes%20an%20eIQ%20Neutron%20N1-16%20NPU%20for%20accelerating%20neural%20network%20models.%20The%20FRDM-MCXN947%20development%20board%20can%20be%20combined%20with%20a%20camera%20and%20LCD%20screen%20to%20showcase%20running%20TinyML%20vision%20models%20on%20a%20microcontroller.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EMCX%20N%20Camera%20Hardware%20Setup%3A%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EThe%20following%20hardware%20is%20used%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EMCX%20N%20FRDM%20Development%20Board%20-%20%3CA%20href%3D%22http%3A%2F%2Fnxp.com%2FFRDM-MCXN947%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EFRDM-MCXN947%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fa.co%2Fd%2F1V7IIdy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EOV7670%20camera%3C%2FA%3E%20(with%20optional%20%3CA%20href%3D%22https%3A%2F%2Fa.co%2Fd%2F1dIXYuZ%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ewide-angle%20lens%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fdevelopment-boards-and-designs%2FLCD-PAR-S035%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ENXP%20LCD-PAR-S035%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3BThere%20are%20three%20small%20modifications%20needed%20for%20the%20FRDM-MCXN947%20board%20for%20camera%20support.%20Without%20this%20modification%20the%20camera%20colors%20will%20be%20incorrect%20and%20tinted%20red.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EChange%20%3CSTRONG%3ESJ16%3C%2FSTRONG%3E%2C%20%3CSTRONG%3ESJ26%3C%2FSTRONG%3E%2C%20and%20%3CSTRONG%3ESJ27%3C%2FSTRONG%3E%20found%20on%20the%20back%20of%20the%20Rev%20B%20board%20to%20connect%20pin%203%20(the%20dashed%20side)%20so%20that%20it%20looks%20like%20the%20following%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_0-1770329042521.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_0-1770329042521.png%22%20style%3D%22width%3A%20367px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375743iCC9604C4D23E3304%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_0-1770329042521.png%22%20alt%3D%22anthony_huereca_0-1770329042521.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CP%3EThen%20connect%20the%20camera%20and%20LCD%20to%20the%20FRDM-MCXN947%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EPlug%20in%20the%20OV7670%20camera%20into%20J11.%20It%20should%20line%20up%20with%20the%20orange%20box.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_1-1770329080269.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_1-1770329080269.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375744iD34AFD975AC6D0B5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_1-1770329080269.png%22%20alt%3D%22anthony_huereca_1-1770329080269.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%0A%3CDIV%20class%3D%22lia-message-template-content-zone%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_2-1770329086311.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_2-1770329086311.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375745i50D061DD5A38AC32%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_2-1770329086311.png%22%20alt%3D%22anthony_huereca_2-1770329086311.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3EConnect%20the%20LCD-PAR-S035%20LCD%20into%20J12.%20It%20should%20be%20flush%20with%20the%20bottom%20so%20that%20the%20%3CSTRONG%3Etop%202%20rows%20of%20pins%3C%2FSTRONG%3E%20are%20left%20hanging%20off%20the%20edge.%20Also%20note%20that%20on%20some%20LCD-PAR-S035%20boards%20those%20top%20two%20rows%20of%20pins%20are%20not%20installed.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_3-1770329095085.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_3-1770329095085.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375746iB1CC96779FC405C1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_3-1770329095085.png%22%20alt%3D%22anthony_huereca_3-1770329095085.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%223%22%3E%0A%3CLI%3EIt%20should%20look%20like%20the%20following%20when%20complete%3C%2FLI%3E%0A%3C%2FOL%3E%0A%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_4-1770329100729.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_4-1770329100729.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375747i41A4ED1C4464F2D1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_4-1770329100729.png%22%20alt%3D%22anthony_huereca_4-1770329100729.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CBR%20%2F%3EAlso%20as%20the%20camera%20and%20Ethernet%20pins%20are%20shared%2C%20if%20you%20need%20to%20use%20the%20Ethernet%2BCamera%20at%20the%20same%20time%20please%20see%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCX-Microcontrollers-Knowledge%2FMCX-N947-Simultaneous-Implementation-of-Ethernet-and-Camera%2Fta-p%2F2167421%22%20target%3D%22_self%22%3Ethis%20NXP%20Community%20post.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EMCX%20N%20Vision%20ML%20Examples%3A%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EThe%20%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2Fappcodehub%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ENXP%20Application%20Code%20Hub%3C%2FA%3E%20contains%20several%20vision%20AI%2FML%20examples%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-appcodehub%2Fdm-multiple-face-detection-on-mcxn947%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFace%20Detect%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-zephyr%2Fapps_zephyr%2Fblob%2FFacialDetect%2FREADME.md%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFace%20Detect%20with%20Zephyr%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-appcodehub%2Fdm-multiple-person-detection-on-mcxn947%2Fblob%2Fmain%2FREADME.md%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMultiple%20Person%20Detection%26nbsp%3B%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-appcodehub%2Fdm-label-cifar10-images-on-mcxn947%2Fblob%2Fmain%2FREADME.md%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ECIFAR10%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-appcodehub%2Fdm-fashion-mnist-recognition-on-mcxn947%2Fblob%2Fmain%2FREADME.md%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFashion%20MNIST%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThere%20are%20also%20Multimedia%20Processing%20Pipeline%20(MPP)%20examples%20inside%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fmcuxsdk-examples%2Ftree%2Fmain%2Feiq_examples%2Fmpp%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMCX%20N%20MCUXpresso%20SDK%3C%2FA%3E%20that%20demonstrate%20more%20examples%20of%20using%20vision%20AI%2FML%20on%20MCX%20N.%20These%20examples%20are%20only%20available%20for%20VSCode%2FGCC%20in%20the%20Repository-Layout%20SDK%20package.%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20It%20is%20recommended%20to%20use%20MCUXpresso%20SDK%2025.09%20for%20these%20examples.%20The%20MPP%20issues%20in%20the%2025.12%20and%2026.03%20MCUXpresso%20SDK%20releases%20should%20be%20fixed%20in%20the%20upcoming%20MCUXpresso%20SDK%2026.06.%26nbsp%3B%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_5-1770329951165.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_5-1770329951165.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375750i882398DED5058277%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_5-1770329951165.png%22%20alt%3D%22anthony_huereca_5-1770329951165.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EMCX%20N%20ML%20Vision%20Lab%3A%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3EThe%20attached%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCX-Microcontrollers-Knowledge%2FUsing-a-Camera-with-FRDM-MCXN947-for-Vision-AI-ML%2Fta-p%2F2313227%3Fattachment-id%3D218195%22%20target%3D%22_self%22%3EeIQ%20Neutron%20NPU%20for%20MCX%20N%20Lab%20Guide%20-%20Face%20Detect.pdf%3C%2FA%3E%20lab%20document%20walks%20through%20the%20steps%20to%20download%20an%20example%20Face%20Detect%20ML%20project%20from%20the%20NXP%20Application%20Code%20Hub%26nbsp%3Band%20use%20the%20eIQ%20Neutron%20Converter%20tool%20to%20convert%20a%20model.%20It%20also%20describes%20how%20to%20update%20the%20eIQ%20and%20Neutron%20software%20libraries%20in%20an%20older%20MCUXpresso%20SDK%20project%20to%20work%20with%20the%20latest%20eIQ%20Neutron%20SDK%20libraries.%20It%20is%20recommended%20to%20go%20through%20the%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCX-Microcontrollers-Knowledge%2FeIQ-Neutron-NPU-Lab-Guides%2Fta-p%2F1799233%22%20target%3D%22_self%22%3Egeneral%20MCX%20N%20NPU%20Lab%20Guide%20first%3C%2FA%3E%20and%20then%20do%20the%20attached%20Face%20Detect%20lab%20second.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20lab%20is%20also%20included%20below%3A%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1326261843%22%20id%3D%22toc-hId-1326261868%22%3E%3CA%20name%3D%22_Toc230126847%22%20target%3D%22_blank%22%3E%3C%2FA%3E1%26nbsp%3B%20Lab%20Overview%3C%2FH1%3E%0A%3CP%3E%3CA%20name%3D%22_Toc100672762%22%20target%3D%22_blank%22%3E%3C%2FA%3EThis%20document%20will%20demonstrate%20the%20acceleration%20provided%20by%20the%20eIQ%20Neutron%20NPU%20using%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-appcodehub%2Fdm-multiple-face-detection-on-mcxn947%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMultiple%20Face%20Detection%20demo%3C%2FA%3E%20for%20the%20FRDM-MCXN947%20found%20on%20the%20%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2Fappcodehub%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ENXP%20App%20Code%20Hub%3C%2FA%3E.%20The%20demo%20will%20run%20with%20the%20non-NPU%20optimized%20model%20and%20then%20the%20performance%20can%20be%20compared%20to%20the%20NPU%20optimized%20version%20of%20that%20same%20model.%20It%20also%20demonstrates%20how%20the%20NPU%20optimized%20version%20of%20the%20face%20detect%20model%20was%20generated.%20This%20lab%20is%20written%20for%20MCUXPresso%20IDE%20but%20the%20same%20basic%20steps%20can%20be%20used%20for%20VSCode%20or%20GCC.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThis%20lab%20will%20also%20cover%20how%20to%20update%20the%20Neutron%20NPU%20libraries%20in%20the%20project%2C%20as%20the%20original%20Face%20Detect%20example%20uses%20an%20older%20Neutron%20library%20version.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EIt%20is%20highly%20recommended%20to%20complete%20the%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCX-Microcontrollers-Knowledge%2FeIQ-Neutron-NPU-Lab-Guides%2Fta-p%2F1799233%22%20target%3D%22_blank%22%3EeIQ%20Neutron%20NPU%20for%20MCX%20N%20Lab%20Guide%3C%2FA%3E%20before%20starting%20this%20lab.%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--481192620%22%20id%3D%22toc-hId--481192595%22%3E%3CA%20name%3D%22_Toc230126848%22%20target%3D%22_blank%22%3E%3C%2FA%3E2%26nbsp%3B%20Software%20and%20Hardware%20Installation%3C%2FH1%3E%0A%3CP%3E%3CA%20name%3D%22_Toc100672763%22%20target%3D%22_blank%22%3E%3C%2FA%3EThis%20section%20will%20cover%20the%20hardware%20and%20software%20needed%20for%20this%20lab.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-209368854%22%20id%3D%22toc-hId-209368879%22%3E%3CA%20name%3D%22_Toc230126849%22%20target%3D%22_blank%22%3E%3C%2FA%3E2.1%20%3CSPAN%3EHardware%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3EThe%20following%20hardware%20is%20required%20for%20this%20lab%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EMCX%20N%20FRDM%20Development%20Board%20-%20%3CA%20href%3D%22http%3A%2F%2Fnxp.com%2FFRDM-MCXN947%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFRDM-MCXN947%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fa.co%2Fd%2F1V7IIdy%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EOV7670%20camera%3C%2FA%3E%20(with%20optional%20%3CA%20href%3D%22https%3A%2F%2Fa.co%2Fd%2F1dIXYuZ%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewide-angle%20lens%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fdevelopment-boards-and-designs%2FLCD-PAR-S035%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ENXP%20LCD-PAR-S035%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--1598085609%22%20id%3D%22toc-hId--1598085584%22%3E%3CA%20name%3D%22_Toc230126850%22%20target%3D%22_blank%22%3E%3C%2FA%3E2.2%20%3CSPAN%3ENXP%20Software%20Installation%3C%2FSPAN%3E%3C%2FH2%3E%0A%3COL%3E%0A%3CLI%3E%3CA%20name%3D%22_Toc168477714%22%20target%3D%22_blank%22%3E%3C%2FA%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Install%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fsoftware%2Fdevelopment-software%2Fmcuxpresso-software-and-tools-%2Fmcuxpresso-integrated-development-environment-ide%3AMCUXpresso-IDE%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMCUXpresso%20IDE%20v%3C%2FA%3E%3CSPAN%3E25.6%3C%2FSPAN%3E%20or%20later.%3C%2FLI%3E%0A%3CLI%3EDownload%20the%20latest%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Feiq-ml-development-environment%2Feiq-toolkit-for-end-to-end-model-development-and-deployment%3AEIQ-TOOLKIT%23downloads%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EeIQ%20Neutron%20SDK%20%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EDownload%20and%20unzip%20the%20latest%20%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2Fselect%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMCUXpresso%20SDK%20for%20FRDM-MCXN947%20using%20MCUXpresso%20SDK%20builder%3C%2FA%3E%0A%3COL%3E%0A%3CLI%3ESearch%20for%20the%20%3CSTRONG%3EFRDM-MCXN947%3C%2FSTRONG%3E%20board%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_0-1779252823521.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_0-1779252823521.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386057i28367CE9FC634A24%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_0-1779252823521.png%22%20alt%3D%22anthony_huereca_0-1779252823521.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3COL%3E%0A%3CLI%3EThen%20click%20on%20%3CSTRONG%3EOthers%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_1-1779252835626.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_1-1779252835626.png%22%20style%3D%22width%3A%20291px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386058i73F01BE2BE353450%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_1-1779252835626.png%22%20alt%3D%22anthony_huereca_1-1779252835626.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EOn%20the%20SDK%20builder%20page%2C%20make%20sure%20to%20select%20the%20%E2%80%9C%3CSTRONG%3EeIQ%3C%2FSTRONG%3E%E2%80%9D%20middleware%20and%20that%20the%20%3CSTRONG%3EMCUXpresso%20IDE%20%3C%2FSTRONG%3Etoolchain%20is%20selected.%20Then%20click%20on%20%3CSTRONG%3EBuild%20SDK%3C%2FSTRONG%3E.%20%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_2-1779252845567.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_2-1779252845567.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386059i7DD1EBC1D5F57926%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_2-1779252845567.png%22%20alt%3D%22anthony_huereca_2-1779252845567.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EThen%20click%20on%20the%20%3CSTRONG%3EDownload%20%3C%2FSTRONG%3Ebutton%20and%20accept%20the%20license%20agreement%20to%20download%20the%20zip%20file.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_3-1779252852536.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_3-1779252852536.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386060iF41CB08DE1473BDF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_3-1779252852536.png%22%20alt%3D%22anthony_huereca_3-1779252852536.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CBR%20%2F%3E%0A%3CH1%20id%3D%22toc-hId--1608588713%22%20id%3D%22toc-hId--1608588688%22%3E%3CA%20name%3D%22_Toc230126851%22%20target%3D%22_blank%22%3E%3C%2FA%3E3%26nbsp%3B%20%26nbsp%3BFace%20Detection%20Example%3C%2FH1%3E%0A%3CH2%20id%3D%22toc-hId--918027239%22%20id%3D%22toc-hId--918027214%22%3E%3CA%20name%3D%22_Toc153288736%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CA%20name%3D%22_Toc168477715%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CA%20name%3D%22_Toc230126852%22%20target%3D%22_blank%22%3E%3C%2FA%3E3.1%20%3CSPAN%3EDownload%20Face%20Detect%20Demo%20from%20App%20Code%20Hub%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3EThe%20code%20for%20this%20lab%20can%20be%20found%20on%20the%20NXP%20Application%20Code%20Hub%20hosted%20on%20Github%2C%20and%20we%20can%20use%20MCUXpresso%20IDE%20to%20directly%20import%20the%20Face%20Detection%20example%20from%20App%20Code%20Hub.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3COL%3E%0A%3CLI%3EDrag-and-drop%20the%20FRDM-MCXN947%20SDK%20zip%20file%20into%20the%20Installed%20SDKs%20window%2C%20located%20on%20a%20tab%20at%20the%20bottom%20of%20the%20screen%20named%20%E2%80%9C%3CSTRONG%3EInstalled%20SDKs%3C%2FSTRONG%3E%E2%80%9D.%20You%20will%20get%20the%20following%20pop-up%2C%20so%20hit%20OK.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_4-1779252865811.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_4-1779252865811.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386061i09637424A042158B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_4-1779252865811.png%22%20alt%3D%22anthony_huereca_4-1779252865811.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EOnce%20imported%2C%20the%20Installed%20SDK%20tab%20will%20look%20something%20like%20this%3A%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_5-1779252872648.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_5-1779252872648.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386062i484DB9602F8D7423%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_5-1779252872648.png%22%20alt%3D%22anthony_huereca_5-1779252872648.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Quickstart%20Panel%20found%20in%20the%20lower%20left%20corner%2C%20click%20on%20%3CSTRONG%3EImport%20from%20Application%20Code%20Hub..%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_6-1779252877943.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_6-1779252877943.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386063iD0463556C0E63215%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_6-1779252877943.png%22%20alt%3D%22anthony_huereca_6-1779252877943.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%224%22%3E%0A%3CLI%3EIn%20the%20dialog%20box%20that%20pops%20up%20there%20are%20many%20filters%20available%20to%20filter%20for%20different%20devices%20and%20types%20of%20demos.%20But%20since%20the%20name%20of%20the%20demo%20we%20are%20interested%20in%20is%20already%20known%2C%20the%20search%20box%20will%20be%20faster.%20Select%20the%20%3CSTRONG%3EAI%2FML%3C%2FSTRONG%3E%20category%20and%20then%20type%20in%20%E2%80%9C%3CSTRONG%3Eface%20detection%3C%2FSTRONG%3E%E2%80%9D%20and%20then%20click%20on%20the%20%E2%80%9C%3CSTRONG%3EMultiple%20face%20detection%20on%20mcxn947%3C%2FSTRONG%3E%E2%80%9D%20demo.%20Make%20sure%20you%20don%E2%80%99t%20accidently%20click%20on%20the%20%E2%80%9CMultiple%20%3CSTRONG%3EPerson%3C%2FSTRONG%3E%20Detection%E2%80%9D%20demo.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_7-1779252885931.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_7-1779252885931.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386064i809553E80B2804C5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_7-1779252885931.png%22%20alt%3D%22anthony_huereca_7-1779252885931.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EOn%20the%20popup%20that%20comes%20up%2C%20click%20on%20%3CSTRONG%3EGitHub%20link%3C%2FSTRONG%3E%20at%20the%20top.%20At%20that%20point%20the%20%3CSTRONG%3ENext%3C%2FSTRONG%3E%20button%20at%20the%20bottom%20will%20become%20clickable%20so%20click%20on%20that.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_8-1779252891875.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_8-1779252891875.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386065iCCD7595E07A4BB6F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_8-1779252891875.png%22%20alt%3D%22anthony_huereca_8-1779252891875.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%226%22%3E%0A%3CLI%3EThe%20next%20screen%20displays%20the%20possible%20branches.%20In%20this%20case%20there%20is%20only%20main%20so%20just%20click%20on%20the%20%3CSTRONG%3ENext%3C%2FSTRONG%3E%20button%20at%20the%20bottom%20to%20go%20with%20the%20default.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_9-1779252899673.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_9-1779252899673.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386066iBDFAF8C3CDFFB6C1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_9-1779252899673.png%22%20alt%3D%22anthony_huereca_9-1779252899673.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EThe%20next%20dialog%20box%20determines%20the%20location%20on%20your%20computer%20where%20the%20code%20will%20be%20downloaded%20to.%20You%20can%20leave%20it%20at%20the%20default%20location%20if%20desired%20or%20click%20on%20Browse%20to%20pick%20your%20own%20location.%20Then%20click%20on%20%3CSTRONG%3ENext%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_10-1779252906645.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_10-1779252906645.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386067iB8853F94CCC8F35D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_10-1779252906645.png%22%20alt%3D%22anthony_huereca_10-1779252906645.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EThe%20next%20screen%20will%20download%20the%20code%20and%20ask%20about%20importing%20the%20project.%20Click%20on%20Next%20to%20go%20with%20the%20default%20%3CSTRONG%3EImport%20existing%20Eclipse%20projects%3C%2FSTRONG%3E%20option.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_11-1779252913518.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_11-1779252913518.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386068i58823149F1F23DF9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_11-1779252913518.png%22%20alt%3D%22anthony_huereca_11-1779252913518.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EThen%20finally%20on%20the%20last%20screen%20click%20on%20Finish%20to%20import%20the%20project%20into%20your%20MCUXPresso%20IDE%20workspace.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_12-1779252920739.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_12-1779252920739.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386069i5A558BA439D60464%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_12-1779252920739.png%22%20alt%3D%22anthony_huereca_12-1779252920739.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EYou%20may%20get%20the%20following%20warning%20due%20to%20the%20project%20being%20made%20on%20an%20older%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3Eversion%20of%20the%20SDK.%20Then%20hit%20%3CSTRONG%3EOK%3C%2FSTRONG%3E%20to%20accept%20the%20using%20the%20newest%20version.%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_13-1779252927267.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_13-1779252927267.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386071i2DB631B654448F4E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_13-1779252927267.png%22%20alt%3D%22anthony_huereca_13-1779252927267.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B15.%20It%20should%20look%20like%20the%20following%20when%20done%3A%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_14-1779252934804.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_14-1779252934804.png%22%20style%3D%22width%3A%20362px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386072i80EA6656D29BAB26%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_14-1779252934804.png%22%20alt%3D%22anthony_huereca_14-1779252934804.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CH2%20id%3D%22toc-hId-1569485594%22%20id%3D%22toc-hId-1569485619%22%3E%3CA%20name%3D%22_Toc168477716%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CA%20name%3D%22_Toc230126853%22%20target%3D%22_blank%22%3E%3C%2FA%3E3.2%20%3CSPAN%3EConvert%20Model%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3EThe%20demo%20is%20already%20using%20a%20model%20that%20was%20converted%20to%20take%20advantage%20of%20the%20eIQ%20Neutron%20NPU.%20This%20purpose%20of%20this%20section%20of%20the%20lab%20is%20to%20teach%20new%20NXP%20users%20how%20that%20model%20was%20converted.%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EUnzip%20the%20eIQ%20Neutron%20SDK%20package%20in%20a%20directory%20of%20your%20choosing.%20%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EOptionally%20add%20%3CSTRONG%3E%3CUNZIP_LOCATION%3E%5CeIQ_NeutronSDK_%3CVERSION%3E%5Cbin%3C%2FVERSION%3E%3C%2FUNZIP_LOCATION%3E%3C%2FSTRONG%3E%20to%20your%20executable%20path%20so%20that%20the%20%3CSTRONG%3Eneutron-converter%3C%2FSTRONG%3E%20utility%20can%20be%20directly%20called%20from%20the%20command%20line.%3C%2FLI%3E%0A%3CLI%3EBack%20in%20MCUXpresso%20IDE%2C%20find%20the%20location%20of%20the%20original%20non-converted%20model%20used%20for%20this%20demo%20by%20right%20clicking%20on%20the%20%3CSTRONG%3Eface_detect.tflite%3C%2FSTRONG%3E%20file%20in%20%3CSTRONG%3Esource%2Fmodel%2F%3C%2FSTRONG%3E%20and%20going%20to%20%3CSTRONG%3EUtilities-%26gt%3BOpen%20directory%20browser%20here.%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_15-1779252951720.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_15-1779252951720.png%22%20style%3D%22width%3A%20262px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386073iFD7B74B0C7B97DDC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_15-1779252951720.png%22%20alt%3D%22anthony_huereca_15-1779252951720.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3ECopy%20the%20directory%20location%20as%20it%20will%20be%20used%20in%20the%20next%20step%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_16-1779252958805.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_16-1779252958805.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386074i5EA4B0672A8FA4F8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_16-1779252958805.png%22%20alt%3D%22anthony_huereca_16-1779252958805.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EOpen%20a%20Windows%20Command%20prompt%20and%20navigate%20to%20the%20directory%20where%20the%20model%20was%20at%20from%20the%20previous%20step%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_17-1779252967083.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_17-1779252967083.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386075iE1BD217094FA7DAB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_17-1779252967083.png%22%20alt%3D%22anthony_huereca_17-1779252967083.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%226%22%3E%0A%3CLI%3EUse%20the%20Neutron%20Converter%20to%20convert%20the%20Face%20Detection%20model%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3Eneutron-%3C%2FSTRONG%3E%3CSTRONG%3Econverter%20--input%20face_detect.tflite%20--output%20face_npu.tflite%20--target%20mcxn94x%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_18-1779252973705.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_18-1779252973705.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386076i67F4329A0B0CEA78%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_18-1779252973705.png%22%20alt%3D%22anthony_huereca_18-1779252973705.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CH2%20id%3D%22toc-hId--237968869%22%20id%3D%22toc-hId--237968844%22%3E%3CA%20name%3D%22_Toc152103827%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CA%20name%3D%22_Toc168477717%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CA%20name%3D%22_Toc230126854%22%20target%3D%22_blank%22%3E%3C%2FA%3E3.3%20%3CSPAN%3EUpdate%20eIQ%20Neutron%20Libraries%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3EThe%20Face%20Detect%20ACH%20example%20uses%20an%20older%20version%20of%20the%20eIQ%20Neutron%20libraries%2C%20and%20so%20it%20needs%20to%20be%20updated%20to%20match%20the%20Neutron%20libraries%20in%20newest%20eIQ%20Neutron%20SDK%20since%20the%20model%20was%20converted%20with%20that%20version%20of%20the%20Neutron%20Converter%20tool.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3COL%3E%0A%3CLI%3EIn%20the%20frdmmcxn947_multi_face_detection%20project%2C%20right%20click%20on%20the%20%3CSTRONG%3Eeiq%3C%2FSTRONG%3E%20folder%20and%20go%20to%20%3CSTRONG%3EUtilities-%26gt%3BOpen%20directory%20browser%20here%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_19-1779252981696.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_19-1779252981696.png%22%20style%3D%22width%3A%20328px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386077i10C84DFE12F710BA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_19-1779252981696.png%22%20alt%3D%22anthony_huereca_19-1779252981696.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EOverwrite%20the%20Neutron%20files%20from%20the%20eIQ%20Neutron%20SDK%20folder%20into%20your%20project%20to%20update%20the%20Neutron%20libraries%20to%20the%20latest%20version%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%0A%3CP%3E%3CSTRONG%3EFile%20Name%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22210%22%3E%0A%3CP%3E%3CSTRONG%3ESource%20Directory%20in%20eIQ%20Neutron%20SDK%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22263%22%3E%0A%3CP%3E%3CSTRONG%3ETarget%20Directory%20in%20MCUXpresso%20SDK%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%0A%3CP%3E%3CSTRONG%3ElibNeutronDriver.a%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22210%22%3E%0A%3CP%3Etarget%5Cmcxn94x%5Cboard%5C%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22263%22%3E%0A%3CP%3Eeiq%5Cneutron%5Cmcxn%5Ccm33%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%0A%3CP%3E%3CSTRONG%3ElibNeutronFirmware.a%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22210%22%3E%0A%3CP%3Etarget%5Cmcxn94x%5Cboard%5C%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22263%22%3E%0A%3CP%3Eeiq%5Cneutron%5Cmcxn%5Ccm33%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%0A%3CP%3E%3CSTRONG%3ENeutronDriver.h%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22210%22%3E%0A%3CP%3Etarget%5Cmcxn94x%5Cdriver%5Cinclude%5C%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22263%22%3E%0A%3CP%3Eeiq%5Cneutron%5Cdriver%5Cinclude%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%0A%3CP%3E%3CSTRONG%3ENeutronErrors.h%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22210%22%3E%0A%3CP%3Etarget%5Cmcxn94x%5Ccommon%5Cinclude%5C%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22263%22%3E%0A%3CP%3Eeiq%5Cneutron%5Ccommon%5Cinclude%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3COL%20start%3D%223%22%3E%0A%3CLI%3EAfter%20the%20new%20Neutron%20libraries%20are%20copied%20over%2C%20clean%20the%20project%20to%20ensure%20the%20new%20libraries%20will%20be%20used%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_20-1779252988773.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_20-1779252988773.png%22%20style%3D%22width%3A%20342px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386078iC265127EFC70F74D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_20-1779252988773.png%22%20alt%3D%22anthony_huereca_20-1779252988773.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CH2%20id%3D%22toc-hId--2045423332%22%20id%3D%22toc-hId--2045423307%22%3E%3CA%20name%3D%22_Toc230126855%22%20target%3D%22_blank%22%3E%3C%2FA%3E3.4%20%3CSPAN%3EBoard%20modifcations%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CA%20name%3D%22_Toc152103823%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CA%20name%3D%22_Toc168477718%22%20target%3D%22_blank%22%3E%3C%2FA%3EThere%20are%20some%20hardware%20modifications%20to%20the%20MCX%20FRDM%20board%20required%20for%20this%20demo%20since%20the%20camera%20pins%20are%20muxed%20with%20the%20Ethernet%20pins%20and%20the%20Ethernet%20functionality%20is%20the%20default.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20board%20version%20can%20be%20determined%20by%20scanning%20the%20QR%20code%20on%20the%20back%20of%20the%20MCX%20FRDM%20board%20with%20your%20phone.%20Most%20people%20will%20have%20Rev%20B%20boards.%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_21-1779252995826.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_21-1779252995826.png%22%20style%3D%22width%3A%20174px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386079iBC0A9C815F4183FF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_21-1779252995826.png%22%20alt%3D%22anthony_huereca_21-1779252995826.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ERev%20A%3A%3C%2FSTRONG%3E%20Remove%20the%20%3CSTRONG%3ER157%3C%2FSTRONG%3E%2C%20%3CSTRONG%3ER158%3C%2FSTRONG%3E%2C%20and%20%3CSTRONG%3ER159%3C%2FSTRONG%3E%20resistors%20from%20the%20back%20of%20the%20Rev%20A%20board%20so%20that%20it%20looks%20like%20the%20following%3A%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_22-1779253003945.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_22-1779253003945.png%22%20style%3D%22width%3A%20333px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386080i86EB845C64F50AEC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_22-1779253003945.png%22%20alt%3D%22anthony_huereca_22-1779253003945.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ERev%20B%3A%3C%2FSTRONG%3E%20Change%20%3CSTRONG%3ESJ16%3C%2FSTRONG%3E%2C%20%3CSTRONG%3ESJ26%3C%2FSTRONG%3E%2C%20and%20%3CSTRONG%3ESJ27%3C%2FSTRONG%3E%20found%20on%20the%20back%20of%20the%20Rev%20B%20board%20to%20connect%20pin%203%20(the%20dashed%20side)%20so%20that%20it%20looks%20like%20the%20following%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_23-1779253007749.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_23-1779253007749.png%22%20style%3D%22width%3A%20367px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386081i618A44E346D25A33%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_23-1779253007749.png%22%20alt%3D%22anthony_huereca_23-1779253007749.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CH2%20id%3D%22toc-hId-442089501%22%20id%3D%22toc-hId-442089526%22%3E%3CA%20name%3D%22_Toc230126856%22%20target%3D%22_blank%22%3E%3C%2FA%3E3.5%20%3CSPAN%3EConnect%20the%20camera%20and%20LCD%3C%2FSPAN%3E%3C%2FH2%3E%0A%3COL%3E%0A%3CLI%3EPlug%20in%20the%20OV7670%20camera%20into%20J11.%20It%20should%20line%20up%20with%20the%20orange%20box.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_24-1779253014542.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_24-1779253014542.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386082iBAE014DA7CE29A46%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_24-1779253014542.png%22%20alt%3D%22anthony_huereca_24-1779253014542.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_25-1779253017946.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_25-1779253017946.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386083i054D9862B8B15DCB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_25-1779253017946.png%22%20alt%3D%22anthony_huereca_25-1779253017946.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3EConnect%20the%20LCD-PAR-S035%20LCD%20into%20J12.%20%3CBR%20%2F%3E%3CBR%20%2F%3ENote%20that%20some%20older%20LCD-PAR-S035%20LCDs%20may%20have%20an%20extra%20set%20of%20pins%20soldered%20on%2C%20and%20in%20that%20case%20the%20%3CSTRONG%3Eextra%202%20rows%20of%20pins%3C%2FSTRONG%3E%20should%20be%20hanging%20off%20the%20edge%20like%20in%20the%20photo%20below.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_26-1779253024933.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_26-1779253024933.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386084i121C3EB03B1972F1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_26-1779253024933.png%22%20alt%3D%22anthony_huereca_26-1779253024933.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%223%22%3E%0A%3CLI%3EIt%20should%20look%20like%20the%20following%20when%20complete%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_27-1779253031139.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_27-1779253031139.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386085iE6E43C80FF63C72C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_27-1779253031139.png%22%20alt%3D%22anthony_huereca_27-1779253031139.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CH2%20id%3D%22toc-hId-308404777%22%20id%3D%22toc-hId-308404802%22%3E%3CA%20name%3D%22_Toc168477719%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CA%20name%3D%22_Toc230126857%22%20target%3D%22_blank%22%3E%3C%2FA%3E3.6%20%3CSPAN%3ERun%20Models%3C%2FSPAN%3E%3C%2FH2%3E%0A%3COL%3E%0A%3CLI%3ENow%20open%20up%20%3CSTRONG%3Emodel_data.s%20%3C%2FSTRONG%3Eby%20double%20clicking%20on%20it%2C%20and%20then%20modify%20line%2043%20to%20point%20to%20the%20original%20(non%20NPU%20converted)%20model%20file%20named%20%3CSTRONG%3Eface_detect.tflite%3C%2FSTRONG%3E.%20This%20particular%20project%20uses%20the%20.tflite%20file%20directly.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_28-1779253042408.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_28-1779253042408.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386086i9A6BACE9E5DA77E0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_28-1779253042408.png%22%20alt%3D%22anthony_huereca_28-1779253042408.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EBuild%20the%20project%20by%20clicking%20on%20the%20Build%20icon%20in%20the%20Quickstart%20Panel%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_29-1779253048317.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_29-1779253048317.png%22%20style%3D%22width%3A%20318px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386087iABD434D20F56CE65%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_29-1779253048317.png%22%20alt%3D%22anthony_huereca_29-1779253048317.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3EThen%20download%20and%20run%20the%20project%20by%20clicking%20on%20the%20Debug%20icon%20in%20the%20Quickstart%20Panel%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_30-1779253054552.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_30-1779253054552.png%22%20style%3D%22width%3A%20293px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386088i30B38DA10ABEA665%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_30-1779253054552.png%22%20alt%3D%22anthony_huereca_30-1779253054552.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%224%22%3E%0A%3CLI%3EYou%20should%20see%20the%20demo%20working%20with%20an%20inference%20time%20of%20817ms%20printed%20on%20the%20LCD%20display.%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20The%20default%20camera%20on%20the%20OV7670%20is%20not%20very%20wide%20angle%20so%20you%20have%20to%20hold%20it%20fairly%20far%20back.%20There%20are%20%3CA%20href%3D%22https%3A%2F%2Fa.co%2Fd%2F3JDE1No%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewide-angle%20lenses%3C%2FA%3E%20that%20can%20be%20purchased%20to%20make%20it%20easier%20to%20demonstrate.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20After%20POR%20there%20may%20be%20some%20glitching%20on%20the%20camera%20due%20to%20the%20fact%20the%20camera%20is%20expecting%202.8V%20but%20the%20board%20is%20at%203.3V%20and%20the%20initial%20HSYNC%20signal%20was%20missed.%20Press%20the%20reset%20button%20(SW1)%20and%20it%20should%20fix%20any%20camera%20issue.%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3ENow%20let%E2%80%99s%20use%20the%20Neutron%20optimized%20model%20by%20opening%20%3CSTRONG%3Emodel_data.s%3C%2FSTRONG%3E%20again%20and%20this%20time%20selecting%20the%20NPU%20converted%20model%20%3CSTRONG%3Eface_npu.tflite%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22anthony_huereca_31-1779253063971.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22anthony_huereca_31-1779253063971.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F386089i8CCE34FDFA907596%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22anthony_huereca_31-1779253063971.png%22%20alt%3D%22anthony_huereca_31-1779253063971.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3CLI%3ERecompile%20and%20reprogram%20the%20board.%3C%2FLI%3E%0A%3CLI%3EYou%E2%80%99ll%20see%20it%20is%20significantly%20faster%20with%20a%2022ms%20inference%20time%2C%20a%2037x%20improvement!%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CBR%20%2F%3E%0A%3CH1%20id%3D%22toc-hId--1628132405%22%20id%3D%22toc-hId--1628132380%22%3E%3CA%20name%3D%22_Toc168477720%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CA%20name%3D%22_Toc230126858%22%20target%3D%22_blank%22%3E%3C%2FA%3E4%26nbsp%3B%20Conclusion%3C%2FH1%3E%0A%3CP%3EThis%20lab%20demonstrated%20how%20the%20eIQ%20Neutron%20NPU%20on%20MCX%20N%20devices%20can%20significantly%20decrease%20inference%20time%20on%20quantized%20models%20and%20the%20steps%20to%20generate%20a%20NPU%20optimized%20model%20using%20the%20command%20line%20tools.%20Also%20explore%20the%20other%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2Fappcodehub%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EApp%20Code%20Hub%3C%2FA%3E%3C%2FSPAN%3E%20ML%20examples%20available%20online.%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2313227%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EFRDM-Training%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMCXN%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENPU%7CML%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
a week ago
Updated by: