Skip to content

Commit f3aa9ba

Browse files
Merge pull request #2 from SonySemiconductorSolutions/release/v1.0.2
Release v1.0.2
2 parents f962ffb + 00156bc commit f3aa9ba

File tree

8 files changed

+165
-59
lines changed

8 files changed

+165
-59
lines changed

CODE_OF_CONDUCT.md

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, caste, color, religion, or sexual
10+
identity and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the overall
26+
community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or advances of
31+
any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email address,
35+
without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement
63+
[our contact form](https://developer.sony.com/contact-us/).
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series of
86+
actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or permanent
93+
ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within the
113+
community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.1, available at
119+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120+
121+
Community Impact Guidelines were inspired by
122+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123+
124+
For answers to common questions about this code of conduct, see the FAQ at
125+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126+
[https://www.contributor-covenant.org/translations][translations].
127+
128+
[homepage]: https://www.contributor-covenant.org
129+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130+
[Mozilla CoC]: https://github.com/mozilla/diversity
131+
[FAQ]: https://www.contributor-covenant.org/faq
132+
[translations]: https://www.contributor-covenant.org/translations

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# CONTRIBUTING
2+
3+
**We are not accepting Pull Requests and Issues at this time.**

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The repository is organized as follows:
5252

5353
#### `.devcontainer`
5454

55-
This directory contain the files necessary to run this project in a development container (dev container), be it in **GitHub Codespaces** or **Visual Studio Code**.
55+
This directory contains the files necessary to run this project in a development container (dev container), be it in **GitHub Codespaces** or **Visual Studio Code**.
5656
More details how to use it are provided in the [USAGE.md](./docs/USAGE.md) document.
5757

5858
#### `.github/workflows/`
@@ -103,30 +103,28 @@ To get started with the Zone Detection Application, follow the steps below.
103103

104104
### Prepare a device on AITRIOS Console
105105

106-
To run this reference solution you need to have a CSV26 camera to be enrolled to your project in the Aitrios Console. In addition, it should have deployed a zone detection Edge application and a compatible object detection AI model. These artifacts should first be obtained locally, then imported to the Console and finaly be deployed on device.
106+
To run this reference solution you need to have a CSV26 camera to be enrolled to your project in the Aitrios Console. In addition, it should have deployed a zone detection Edge application and a compatible object detection AI model. These artifacts should first be obtained locally, then imported to the Console and finally be deployed on device.
107107

108108
> _Note_ </br>
109-
> For basic device and console operation, please refer to the [**Device Setup Guide**](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/device-setup-guide/) and [**Console User Manual**](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/console-user-manual/).
109+
> For basic device and console operation, please refer to the [**Console V2 Device Setup Guide**](https://developer.aitrios.sony-semicon.com/en/docs/developer-edition/console-v2/device-setup-guide) and [**Console V2 User Manual**](https://developer.aitrios.sony-semicon.com/en/docs/developer-edition/console-v2/console-user-manual), or [**Console V1 Device Setup Guide**](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/device-setup-guide/) and [**Console V1 User Manual**](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/console-user-manual/).
110110
111111
#### Create and deploy artifacts
112112

113-
The reference solution requires a model and an edge application to be deployed on the device. In some cases, the process for obtaining and deploying these artifacts varies between versions of Console for AITRIOS, V1 and V2. When applicable, such differentce is directly indicated in further description.
113+
The reference solution requires a model and an edge application to be deployed on the device. In some cases, the process for obtaining and deploying these artifacts varies between versions of Console for AITRIOS, V1 and V2. When applicable, such difference is directly indicated in further description.
114114

115115
##### AI Model
116-
- In order to obtain the model, follow the description in [ai_model/model.md](https://github.com/SonySemiconductorSolutions/aitrios-sample-application-reference/blob/main/ai_model/model.md) of this repository.
116+
- In order to obtain the model, follow the description in [ai_model/model.md](./ai_model/model.md) of this repository.
117117
The AI model is obtained as a `packerOut.zip` or `yoloXXX_imx.onnx` file and needs to be imported to the AITRIOS Console and then deployed to the device.
118-
- To import the AI model into **Console**, follow the [PyTorch Model Deployment Guide](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/pytorch-model-deployment-guide?version=2025-02-03) from AITRIOS | Developer Site.
118+
- To import the AI model into Console, follow the [**Console V2 Deployment Guide for PyTorch AI Model**](https://developer.aitrios.sony-semicon.com/en/docs/developer-edition/console-v2/deployment-guide-for-pytorch-ai-model) or [**Console V1 PyTorch Model Deployment Guide**](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/pytorch-model-deployment-guide).
119119

120120
##### Edge Application
121121

122-
- In order to get the Edge Application, follow the description in [edge_app/edge_app_v1.md](./edge_app/edge_app_v1.md) of this repository for V1 or the description in [edge_app/edge_app_v2.md](./edge_app/edge_app_v2.md) for V2. You will obtain an Edge Application that will need to be imported to the AITRIOS Console and then deployed to the device.
122+
- In order to get the Edge Application, follow the description in [edge_app/edge_app_v1.md](./edge_app/edge_app_v1.md) of this repository for V1 or the description in [edge_app/edge_app_v2.md](./edge_app/edge_app_v2.md) for V2.
123123

124124
> **NOTE**<br>
125-
> Note that for V1 the Edge Application artifact would be a single file of type `.wasm`/`.aot`, while V2 would result in an Edge Appliction Package.
125+
> Note that for V1 the Edge Application artifact would be a single file of type `.wasm`/`.aot`, while V2 would result in an Edge Application Package.
126126
127-
- For instructions on how to import an Edge Application into **Console**, and how to deploy it to the device check [**Console User Manual**](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/console-user-manual/).
128-
> **NOTE**<br>
129-
> At the moment of writing this document the **Console User Manual** only included instructions for importing V1 Edge Applications. No documentation was available about importing V2 Edge Applications as Edge Application Packages.
127+
- For instructions on how to import an Edge Application into Console and deploy it to the device, check the [**Console V2 User Manual**](https://developer.aitrios.sony-semicon.com/en/docs/developer-edition/console-v2/console-user-manual) or [**Console V1 User Manual**](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/console-user-manual/).
130128

131129
#### Configure the Edge Application
132130

@@ -167,7 +165,7 @@ You can then apply the following configuration to the Edge Application deployed
167165
```
168166

169167
> **Note**<br/>
170-
> For general details on the Edge Application interface, check the [Edge Application Interface JSON Specification](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/console-v2/edge-application-interface-json-specification) page on the AITRIOS developer website. Pay attention to the [`port_settings` subsection](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/console-v2/edge-application-interface-json-specification?progLang=#_portsettingsSpec) <br/>
168+
> For general details on the Edge Application interface, check the [Edge Application Interface JSON Specification](https://developer.aitrios.sony-semicon.com/en/docs/developer-edition/console-v2/edge-application-interface-json-specification) page on the AITRIOS developer website. Pay attention to the [`port_settings` subsection](https://developer.aitrios.sony-semicon.com/en/docs/developer-edition/console-v2/edge-application-interface-json-specification?progLang=#_portsettingsSpec) <br/>
171169
> For details on the custom settings for the zone detection Edge Application, check its [README.md](https://github.com/SonySemiconductorSolutions/aitrios-sdk-edge-app/tree/main/sample_apps/detection#custom-parameters).
172170

173171
### Check prerequisites for executing the Reference Solution
@@ -230,7 +228,7 @@ docker compose up frontend
230228
```
231229

232230
> **Note**</br>
233-
> This approach doesn't suport debuging. To run app in the debugging mode you should start frontend and backend separately.
231+
> This approach doesn't support debugging. To run app in the debugging mode you should start frontend and backend separately.
234232

235233
#### Frontend
236234

@@ -242,7 +240,7 @@ For more detailed usage instructions, see the [backend README](./backend/README.
242240

243241
## Trademark
244242

245-
- [Read This First](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/documents/read-this-first)
243+
- [Read This First](https://developer.aitrios.sony-semicon.com/en/docs/developer-edition/console-v2/read-this-first)
246244

247245
## Notice
248246

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
1.0.2

ai_model/model.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ There are two types of object detection models (networks) available for use with
55
- SSD Mobilenet-v1 model (for v1 and v2) and
66
- Ultralytics YOLO: Yolov8n and Yolo11n model (v2 only)
77
> [!NOTE]
8-
That although all models can be deployed to the IMX500 independly of whether the device runs v1 or v2 firmware, they need to be matched with a compatible Edge App.
8+
That although all models can be deployed to the IMX500 independently of whether the device runs v1 or v2 firmware, they need to be matched with a compatible Edge App.
99
The Edge App that we provide for **v1** is only compatible with the SSD Mobilenet-v1 model and will not work with the Yolov8n/Yolo11n model.*
1010

1111
# How to obtain a ready-to-use Ultralytics YOLO model
@@ -70,10 +70,11 @@ You can modify or extend the script as needed based on [Ultralytics' guidelines]
7070
# How to obtain a ready-to-use SSD Mobilenet-v1 model
7171

7272
You can download a ready-to-use SSD Mobilenet-v1 model from the
73-
[AITRIOS Developer Site](https://developer.aitrios.sony-semicon.com/en/edge-ai-sensing/downloads/console-v2).
74-
Please choose the Sample AI Model
75-
[*ssd_mobilenet_v1_0.75_packerOut*](https://developer.aitrios.sony-semicon.com/en/file/download/ssd_mobilenet_v1_0-75_packerout)
76-
for the Object Detection task.
73+
[**Console V2 Downloads**](https://developer.aitrios.sony-semicon.com/en/downloads/developer-edition/console-v2).
74+
Please choose the Sample AI Model for the Object Detection task.
75+
76+
> **NOTE**<br>
77+
> The AI model is downloaded from Console V2 Downloads, but can be used with both V1 and V2 Console versions.
7778
7879
Make sure to follow the instructions on the Developer Site to ensure to have a compatible set of firmware,
7980
AI model and sample application.

backend/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ See the chapter "Issuing a Client Secret for SDK" in ["Portal User Manual"](http
7272
- Client ID
7373
- Client Secret
7474

75-
Get the following required information from [this material](https://developer.aitrios.sony-semicon.com/en/file/download/edge-ai-sensing-portal-console-end-point-info/).
76-
77-
- Console endpoint
78-
- Portal endpoint
75+
To execute the REST APIs, please obtain the endpoint information as follows:
76+
1. Log in to Portal.
77+
2. From Support → Download, download the document Portal_Console_Endpoint_information_00_en.pdf.
78+
3. Check the following information described in the document:
79+
- Console endpoint
80+
- Portal endpoint
7981

8082
And fill [console_access_settings.yaml](app/config/console_access_settings.yaml) file.
8183

backend/app/tests/test_timestamp.py

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

docs/USAGE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
This section assumes you are using [Microsoft Visual Studio Code](https://code.visualstudio.com/download).
33

44
To set up and run the Zone Detection Sample Application, follow the instructions in the relevant sections:
5-
- [Preparing devices on AITRIOS](https://github.com/SonySemiconductorSolutions/aitrios-sample-application-reference/tree/main?tab=readme-ov-file#prepare-a-device-on-aitrios-console).
6-
- [Starting the backend](https://github.com/SonySemiconductorSolutions/aitrios-sample-application-reference/blob/main/backend/README.md#usage), for both _Production_ and _Development_ modes, including debugging instructions.
7-
- [Starting the frontend](https://github.com/SonySemiconductorSolutions/aitrios-sample-application-reference/blob/main/frontend/README.md#usage), for both _Production_ and _Development_ modes.
5+
- [Preparing devices on AITRIOS](../README.md#prepare-a-device-on-aitrios-console).
6+
- [Starting the backend](../backend/README.md#usage), for both _Production_ and _Development_ modes, including debugging instructions.
7+
- [Starting the frontend](../frontend/README.md#usage), for both _Production_ and _Development_ modes.
88

99

1010
## Dev container
@@ -34,7 +34,7 @@ You can then execute the debugging process in Visual Studio Code as follows:
3434
1. Select the _Run and Debug_ item of the activity bar (`Ctrl+Shift+D` keyshortcut).
3535
2. Choose the _Launch BE Debugger_ option as seen below.
3636

37-
![Launch BE Debugger option](../docs/media/launch_be_debugger.png "Launch BE Debugger")
37+
![Launch BE Debugger option](./media/launch_be_debugger.png "Launch BE Debugger")
3838

3939
### Frontend
4040
Make sure the frontend application has been started with a development environment as explained in [here](../frontend/README.md#development-environment).
@@ -44,6 +44,6 @@ You can then execute the debugging process in Visual Studio Code as follows:
4444
1. Select the _Run and Debug_ item of the activity bar (`Ctrl+Shift+D` keyshortcut).
4545
2. Choose the _Launch FE Debugger_ option as seen below.
4646

47-
![Launch FE Debugger option](../docs/media/launch_fe_debugger.png "Launch FE Debugger")
47+
![Launch FE Debugger option](./media/launch_fe_debugger.png "Launch FE Debugger")
4848

4949
3. This will open a new browser window with the Zone Detection application, so make sure you are using the right window when debugging.

0 commit comments

Comments
 (0)