Skip to content

Commit 314384b

Browse files
authored
Merge pull request #42 from quic/phase1
Modify README and add image
2 parents 8203b9d + 61717e7 commit 314384b

File tree

18 files changed

+54
-37
lines changed

18 files changed

+54
-37
lines changed

Gstreamer-Applications/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ The purpose of these samples is helping users to learn how to implement the func
1616
### Install Qt
1717

1818
GUI application is a Qt application. Some Qt packages are needed.
19-
Login to Qualcomm Robotics RB5 dev kit using adb shell
2019

2120
```bash
22-
apt install qt5-default qtwayland5 qtbase5-private-dev
21+
$ adb shell
22+
$ apt install qt5-default qtwayland5 qtbase5-private-dev
2323
```
2424

2525
### Install Tool
@@ -39,7 +39,7 @@ $ adb shell
3939
$ cd /data
4040
$ git clone https://github.com/quic/sample-apps-for-Qualcomm-Robotics-RB5-platform.git
4141
```
42-
Please make sure that the development kit has network connection over Wi-Fi or Ethernet.
42+
Please connect RJ45(DHCP) of RB5 with network cable or config WiFi by refering to the "Network Setup" section in https://developer.qualcomm.com/qualcomm-robotics-rb5-kit/quick-start-guide/qualcomm_robotics_rb5_development_kit_bring_up/set-up-network
4343

4444
### Compile
4545

Gstreamer-Applications/gst_audio/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $ ./audio_record record.mp3
2626

2727
### Note:
2828

29-
+ On board, DIP_SW_0 SW1 must be switched to ON. Please refer to related hardware document
29+
+ On board, DIP_SW_0 SW1 must be switched to ON. Please refer to https://developer.qualcomm.com/qualcomm-robotics-rb5-kit/quick-start-guide/inside-the-qualcomm-robotics-rb5-kit"
3030
+ If there is Alsa service enabled, please remove Alsa service to make PulseAudio source work
3131

3232
## Audio Playback
@@ -45,7 +45,7 @@ $ ./audio_playback record.mp3
4545

4646
### Note:
4747

48-
+ A speaker must be connected to the board. Please refer to related hardware document
48+
+ A speaker must be connected to the board. Please refer to "Qualcomm_Robotics_RB5_Platform_Hardware_User_Manual_V1.1.pdf" in https://www.thundercomm.com/app_zh/product/1590131656070623?index=1&categoryId=category0&tabIndex=1"
4949

5050
## License
5151
This is licensed under the BSD 3-Clause-Clear “New” or “Revised” License. Check out the [LICENSE](../LICENSE) for more details.

Gstreamer-Applications/gst_camera/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ $ /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/we
3131
+ Click left-top button on weston display to open weston-terminal
3232
+ Run ```ispcam_display``` in weston-terminal to display camera 0
3333
```bash
34-
$ cd /data/Gstreamer-Applications/gst_camera
34+
$ cd /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/gst_camera
3535
$ ./ispcam_display 0
3636
```
37+
38+
![Image text](image/ispCamera_display_weston.png)
39+
3740
### Stop Camera Display:
3841

3942
+ Move mouse to weston-terminal and click it to activate it
@@ -63,14 +66,17 @@ $ v4l2-ctl --list-devices
6366
+ Login on the screen
6467
+ Turn on weston display with ```weston.sh```
6568
``` bash
66-
$ /data/Gstreamer-Applications/weston.sh
69+
$ /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/weston.sh
6770
```
6871
+ Click left-top button on weston display to open weston-terminal
6972
+ Run ```usbcam_display``` in weston-terminal to display camera /dev/video0
7073
```bash
71-
$ cd /data/Gstreamer-Applications/gst_camera
74+
$ cd /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/gst_camera
7275
$ ./usbcam_display /dev/video0
7376
```
77+
78+
![Image text](image/usbCamera_display_weston.png)
79+
7480
### Stop Camera Display:
7581

7682
+ Move mouse to weston-terminal and click it to activate it
477 KB
Loading
497 KB
Loading

Gstreamer-Applications/gst_gui_app/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ $ make
3232
+ Login on the screen
3333
+ Turn on weston display with ```weston.sh```
3434
``` bash
35-
$ /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/weston.sh
35+
$ /data/gstreamer-applications/weston.sh
3636
```
3737
+ Click left-top button on weston display to open weston-terminal
3838
+ Run ```gui_app``` in weston-terminal with **specifying the platform to wayland**
3939

4040
```bash
41-
$ cd /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/gst_gui_app
41+
$ cd /data/gstreamer-applications/gui_app
4242
$ ./gui_app -platform wayland
4343
```
4444

@@ -51,7 +51,7 @@ $ ./gui_app
5151

5252
## Snapshot
5353

54-
![GUI Application](./gui-app-snapshot.png)
54+
![Iamge text](image/gui-app-snapshot.png)
5555

5656
## Settings
5757

250 KB
Loading

Gstreamer-Applications/gst_tflite/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
2. Run the script: install.sh
66
```
7-
$ cd /data/Gstreamer-Application/gst_tflite
7+
$ cd /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/gst_tflite
88
$ sh install.sh
99
```
1010
3. Start the weston display server:
1111

1212
```shell
13-
sh-4.4# source /data/weston.sh &
13+
sh-4.4# source /data/weston.sh &dd
1414
```
1515

1616
4. Set up weston path manually if it is not already set by weston.sh:
@@ -22,15 +22,19 @@
2222
## 2. Compile the tflite demo app
2323

2424
```shell
25-
sh-4.4# cd /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Application/gst_tflite/src
25+
sh-4.4# cd /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/gst_tflite/src
2626
sh-4.4# make
2727
```
2828

2929
## 3. Run the tflite demo app
30+
+ Click left-top button on weston display to open weston-terminal
31+
+ Run ```./tflite_object_detection``` in weston-terminal
3032

3133
```shell
3234
sh-4.4# ./tflite_object_detection
3335
```
3436

37+
![Image text](image/gst-tflite2.png)
38+
3539
## License
3640
This is licensed under the BSD 3-clause-Clear License. Check out the [LICENSE](LICENSE) for more details.
1.63 MB
Loading

Gstreamer-Applications/gst_transform/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,26 @@ Apply one operation at a time.
2323
+ Login on the screen
2424
+ Turn on weston display with ```weston.sh```
2525
``` bash
26-
$ /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/weston.sh
26+
$ /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/weston.sh
2727
```
2828
+ Click left-top button on weston display to open weston-terminal
2929
+ Run ```transform_display``` in weston-terminal to transform camera video
3030

3131
Example to transform video from camera 0:
3232
``` bash
33-
$cd /data/Gstreamer-Applications/gst_transform
33+
$cd /data/sample-apps-for-Qualcomm-Robotics-RB5-platform/Gstreamer-Applications/gst_transform
3434
$ ./transform_display 0 flip v
3535
$ ./transform_display 0 flip h
3636
$ ./transform_display 0 rotate 2
3737
$ ./transform_display 0 crop 10 10 200 100
3838
```
3939

40+
The output screenshots of examples in the follow:
41+
![Image text](image/gst-transform-flip-v.png)
42+
![Image text](image/gst-transform-flip-h.png)
43+
![Image text](image/gst-transform-flip-rotate2.png)
44+
![Image text](image/gst-transform-flip-crop.png)
45+
4046
### Stop Transform Display:
4147

4248
+ Move mouse to weston-terminal and click it to activate it

0 commit comments

Comments
 (0)