Skip to content

Commit f2ff28a

Browse files
committed
Version v2.0.0
1 parent b45cf87 commit f2ff28a

File tree

267 files changed

+32343
-23442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+32343
-23442
lines changed

Binary/network_data.hex

Lines changed: 61 additions & 738 deletions
Large diffs are not rendered by default.

Binary/x-cube-n6-ai-power-measurement.hex

Lines changed: 11081 additions & 10965 deletions
Large diffs are not rendered by default.

EWARM/Project.ewd renamed to EWARM/x-cube-n6-ai-power-measurement.ewd

Lines changed: 1619 additions & 1619 deletions
Large diffs are not rendered by default.

EWARM/Project.ewp renamed to EWARM/x-cube-n6-ai-power-measurement.ewp

Lines changed: 1440 additions & 1397 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<workspace>
3-
<project>
4-
<path>$WS_DIR$\Project.ewp</path>
5-
</project>
6-
</workspace>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<workspace>
3+
<project>
4+
<path>$WS_DIR$\x-cube-n6-ai-power-measurement.ewp</path>
5+
</project>
6+
</workspace>

Inc/app_cam.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
******************************************************************************
3-
* @file cam_vd55g1.h
3+
* @file app_cam.h
44
* @author GPM Application Team
55
*
66
******************************************************************************
@@ -15,8 +15,8 @@
1515
*
1616
******************************************************************************
1717
*/
18-
#ifndef CAM_CAMERA
19-
#define CAM_CAMERA
18+
#ifndef APP_CAM_H
19+
#define APP_CAM_H
2020

2121
#define CAMERA_FPS 30
2222

@@ -30,4 +30,4 @@ void CAM_IspUpdate(void);
3030
void CAM_Sensor_Start(void);
3131
void CAM_Sensor_Stop(void);
3232

33-
#endif
33+
#endif /* APP_CAM_H */

Inc/app_config.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@
7676
"person", "not_person"}
7777

7878
/* I/O configuration */
79-
#define AI_OBJDETECT_YOLOV2_PP_NB_CLASSES (1)
80-
#define AI_OBJDETECT_YOLOV2_PP_NB_ANCHORS (5)
81-
#define AI_OBJDETECT_YOLOV2_PP_GRID_WIDTH (7)
82-
#define AI_OBJDETECT_YOLOV2_PP_GRID_HEIGHT (7)
83-
#define AI_OBJDETECT_YOLOV2_PP_NB_INPUT_BOXES (AI_OBJDETECT_YOLOV2_PP_GRID_WIDTH * AI_OBJDETECT_YOLOV2_PP_GRID_HEIGHT)
79+
#define AI_OD_YOLOV2_PP_NB_CLASSES (1)
80+
#define AI_OD_YOLOV2_PP_NB_ANCHORS (5)
81+
#define AI_OD_YOLOV2_PP_GRID_WIDTH (7)
82+
#define AI_OD_YOLOV2_PP_GRID_HEIGHT (7)
83+
#define AI_OD_YOLOV2_PP_NB_INPUT_BOXES (AI_OD_YOLOV2_PP_GRID_WIDTH * AI_OD_YOLOV2_PP_GRID_HEIGHT)
8484

8585
/* Anchor boxes */
86-
static const float32_t AI_OBJDETECT_YOLOV2_PP_ANCHORS[2*AI_OBJDETECT_YOLOV2_PP_NB_ANCHORS] = {
86+
static const float32_t AI_OD_YOLOV2_PP_ANCHORS[2*AI_OD_YOLOV2_PP_NB_ANCHORS] = {
8787
0.9883000000f, 3.3606000000f,
8888
2.1194000000f, 5.3759000000f,
8989
3.0520000000f, 9.1336000000f,
@@ -92,8 +92,8 @@ static const float32_t AI_OBJDETECT_YOLOV2_PP_ANCHORS[2*AI_OBJDETECT_YOLOV2_PP_N
9292
};
9393

9494
/* -------- Tuning below can be modified by the application --------- */
95-
#define AI_OBJDETECT_YOLOV2_PP_CONF_THRESHOLD (0.6f)
96-
#define AI_OBJDETECT_YOLOV2_PP_IOU_THRESHOLD (0.3f)
97-
#define AI_OBJDETECT_YOLOV2_PP_MAX_BOXES_LIMIT (10)
95+
#define AI_OD_YOLOV2_PP_CONF_THRESHOLD (0.6f)
96+
#define AI_OD_YOLOV2_PP_IOU_THRESHOLD (0.3f)
97+
#define AI_OD_YOLOV2_PP_MAX_BOXES_LIMIT (10)
9898

9999
#endif

Inc/postprocess_conf.h

Lines changed: 0 additions & 56 deletions
This file was deleted.

LICENSE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
| Component | Copyright | License |
2+
|:--------- |:---------- |:------- |
3+
| CMSIS | Arm Limited | Apache-2.0 |
4+
| STM32N6xx CMSIS | ARM Limited, STMicroelectronics | Apache-2.0 |
5+
| STM32N6xx HAL/LL Drivers | STMicroelectronics | BSD-3-Clause |
6+
| STM32N6570-DK BSP Drivers | STMicroelectronics | BSD-3-Clause |
7+
| BSP Component aps256xx | STMicroelectronics | BSD-3-Clause |
8+
| BSP Component Common | STMicroelectronics | BSD-3-Clause |
9+
| BSP Component mx66uw1g45g | STMicroelectronics | BSD-3-Clause |
10+
| BSP Component rk050hr18 | STMicroelectronics | BSD-3-Clause |
11+
| Inc | STMicroelectronics | SLA0044 |
12+
| Src | STMicroelectronics | SLA0044 |
13+
| Lib/Camera_Middleware | STMicroelectronics | SLA0044 |
14+
| Lib/Camera_Middleware/sensors | STMicroelectronics | BSD-3-Clause |
15+
| Lib/Camera_Middleware/ISP_Library | LACROIX - Impulse, STMicroelectronics | SLA0044 |
16+
| Lib/lib_vision_models_pp/lib_vision_models_pp | STMicroelectronics | SLA0044 |
17+
| Lib/AI_Runtime | STMicroelectronics | SLA0044 |
18+
| Binary | STMicroelectronics | SLA0044 |
19+
| Model | STMicroelectronics | SLA0044 |
20+
| Utilities/pwr_scripts | STMicroelectronics | SLA0044 |

Lib/AI_Runtime/Inc/ai_math_helpers.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,9 @@ AI_INTERFACE_ENTRY void ai_not_equal_buffer_u8(ai_handle out, const ai_handle a,
564564
AI_INTERFACE_ENTRY void ai_squared_diff(ai_handle out, const ai_handle a, const ai_handle b);
565565
AI_INTERFACE_ENTRY void ai_squared_diff_buffer(ai_handle out, const ai_handle a, const ai_handle b, const ai_size loop);
566566

567+
AI_INTERFACE_ENTRY void ai_atan2(ai_handle out, const ai_handle a, const ai_handle b);
568+
AI_INTERFACE_ENTRY void ai_atan2_buffer(ai_handle out, const ai_handle a, const ai_handle b, const ai_size loop);
569+
567570
AI_API_DECLARE_END
568571

569572
#endif /* AI_MATH_HELPERS_H */

0 commit comments

Comments
 (0)