This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
products:sbc:vim3:npu:npu-app [2023/09/12 03:44] hyphop [Compile the application] |
products:sbc:vim3:npu:npu-app [2024/01/22 20:31] louis |
||
---|---|---|---|
Line 165: | Line 165: | ||
$ ls | $ ls | ||
bin_r_cv4 | bin_r_cv4 | ||
+ | ``` | ||
+ | |||
+ | <WRAP important > | ||
+ | If you use kernel are using version 5.15 or above, please modify '' | ||
+ | </ | ||
+ | |||
+ | ```diff | ||
+ | -#LIBS +=-L$(LIB_DIR) -lstdc++ | ||
+ | -LIBS += -lvpcodec -lamcodec -lamadec -lamvdec -lamavutils -lrt -lpthread -lge2d -lion | ||
``` | ``` | ||
Line 175: | Line 184: | ||
detect_demo_x11_usb | detect_demo_x11_usb | ||
``` | ``` | ||
- | ===== Run inference | + | ===== Run the application |
Now you can run inference on captured video data using the model. | Now you can run inference on captured video data using the model. | ||
Line 181: | Line 190: | ||
$ ./ | $ ./ | ||
``` | ``` | ||
- | ==== Run-time | + | ==== Application setup parameters ==== |
- | === Selecting | + | === Parameter to select |
The parameter '' | The parameter '' | ||
Line 200: | Line 209: | ||
For the above example, we used the serial number '' | For the above example, we used the serial number '' | ||
- | === Providing picture as input === | + | === Parameter to set the input as picture |
If you use the model that takes input as a picture, change '' | If you use the model that takes input as a picture, change '' |