Skip to content

Commit 7ebc80d

Browse files
authored
Merge pull request #7 from elephantrobotics/riscv-opt
Riscv opt
2 parents a9c20da + d1c0b47 commit 7ebc80d

File tree

11 files changed

+653
-33
lines changed

11 files changed

+653
-33
lines changed

README.md

Lines changed: 58 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,33 @@
11
# **AiKit UI Instructions**
22

3-
- **Applicable models and devices:** myPalletizer 260 for M5、myCobot 280 for M5、ultraArm P340、mechArm 270 for M5、myCobot 280 for Pi、mechArm 270 for Pi、myCobot 280 for JN、myPalletizer 260 for Pi
4-
5-
## Requires environment
3+
- **Applicable models and devices:**
4+
- myPalletizer 260 for M5
5+
- myCobot 280 for M5
6+
- ultraArm P340
7+
- mechArm 270 for M5
8+
- myCobot 280 for Pi
9+
- mechArm 270 for Pi
10+
- myCobot 280 for JN
11+
- myPalletizer 260 for Pi
12+
- myCobot 280 RISCV
13+
14+
## 一、Requires environment
615

716
Raspberry Pi Ubuntu20.04 system、Windows 10 or Windows 11、Jetson Nano Ubuntu20.04 system
817

918
## python dependency package
1019

20+
### 1. 普通机型设备
21+
- myPalletizer 260 for M5
22+
- myCobot 280 for M5
23+
- ultraArm P340
24+
- mechArm 270 for M5
25+
- myCobot 280 for Pi
26+
- mechArm 270 for Pi
27+
- myCobot 280 for JN
28+
- myPalletizer 260 for Pi
29+
30+
1131
使用前需确保系统已经安装以下第三方库,其中 `opencv-python``opencv-contrib-python`必须指定安装 **4.6.0.66** 的版本,其他库原则上无需指定版本号。
1232

1333
```bash
@@ -27,13 +47,44 @@ pip install pyqt5
2747
2848
```
2949

30-
## Install
50+
#### Install
3151

3252
```angular2html
3353
git clone https://github.com/elephantrobotics/AiKit_UI.git
3454
```
3555

36-
## **start method**
56+
### 2. RISCV机型
57+
- myCobot 280 RISCV
58+
59+
#### 创建虚拟环境
60+
61+
```bash
62+
sudo apt install python3-virtualenv
63+
virtualenv elephantics-venv
64+
source elephantics-venv/bin/activate
65+
```
66+
67+
#### 安装依赖项
68+
69+
```bash
70+
sudo apt install libopenblas-dev
71+
```
72+
73+
#### 安装
74+
75+
```bash
76+
git clone https://github.com/elephantrobotics/AiKit_UI.git
77+
```
78+
79+
#### 安装python依赖库
80+
81+
```bash
82+
cd AiKit_UI/libraries/yolov8File
83+
pip install -r requirements.txt
84+
```
85+
86+
87+
## 二、start method
3788

3889
path: Project file path
3990

@@ -42,6 +93,8 @@ cd AiKit_UI
4293
python main.py
4394
```
4495

96+
>> **注意**: myCobot 280 RISCV机型的YOLO算法识别改用为YOLOv8,不再使用YOLOv5识别算法,当机型设备为RISCV时,算法下拉框列表只能选中yolov8,不可选中yolov5,yolov8的使用更加简单便捷,无需手动框选识别区域,可自动框选,使用方式与颜色识别一样。
97+
4598
After the startup is successful, as shown in the figure below:<br>
4699

47100
![img](./libraries/AiKit_UI_img/1.png)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
['170', '15', '65']

libraries/pyqtFile/AiKit_auto.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ def setupUi(self, AiKit_UI):
632632
self.comboBox_function.addItem("")
633633
self.comboBox_function.addItem("")
634634
self.comboBox_function.addItem("")
635+
self.comboBox_function.addItem("")
635636
self.horizontalLayout_14.addWidget(self.comboBox_function)
636637
self.horizontalLayout_14.setStretch(0, 1)
637638
self.horizontalLayout_14.setStretch(1, 2)
@@ -975,6 +976,7 @@ def retranslateUi(self, AiKit_UI):
975976
self.comboBox_function.setItemText(2, _translate("AiKit_UI", "QR code recognition"))
976977
self.comboBox_function.setItemText(3, _translate("AiKit_UI", "Keypoints"))
977978
self.comboBox_function.setItemText(4, _translate("AiKit_UI", "yolov5"))
979+
self.comboBox_function.setItemText(5, _translate("AiKit_UI", "yolov8"))
978980
self.func_lab_11.setText(_translate("AiKit_UI", "Add New Pictures"))
979981
self.add_img_btn.setText(_translate("AiKit_UI", "Add"))
980982
self.exit_add_btn.setText(_translate("AiKit_UI", "Exit"))

libraries/pyqtFile/AiKit_auto.ui

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,11 @@ border-style: outset;</string>
13671367
<string>yolov5</string>
13681368
</property>
13691369
</item>
1370+
<item>
1371+
<property name="text">
1372+
<string>yolov8</string>
1373+
</property>
1374+
</item>
13701375
</widget>
13711376
</item>
13721377
</layout>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
jieba==0.42.1
2+
kaldi-native-fbank==1.20.1
3+
sniffio==1.3.1
4+
typing_extensions==4.12.2
5+
idna==3.10
6+
certifi==2025.1.31
7+
h11==0.14.0
8+
httpcore==1.0.7
9+
distro==1.9.0
10+
jiter==0.6.1
11+
annotated-types==0.7.0
12+
pydantic_core==2.27.2
13+
pydantic==2.10.6
14+
tqdm==4.67.1
15+
anyio==4.9.0
16+
httpx==0.28.1
17+
ollama==0.4.7
18+
openai==1.68.2
19+
pip==25.0.1
20+
packaging==24.2
21+
pipdeptree==2.26.0
22+
PyAudio==0.2.14
23+
PyYAML==6.0.1
24+
numpy==1.26.4
25+
scipy==1.14.1
26+
setuptools==78.0.2
27+
pycparser==2.22
28+
cffi==1.17.1
29+
soundfile==0.13.1
30+
spacemit-ort==1.2.2
31+
webrtcvad==2.0.10
32+
opencv-python==4.6.8.1
33+
pyqt5==5.15.11
34+
gpiozero==2.0.4
35+
pyserial==3.5
36+
pymycobot==3.9.3
37+
matplotlib==3.10.1

0 commit comments

Comments
 (0)