Support RK3588 Orange Pi 5 Plus

This commit is contained in:
orangepi-xunlong
2023-04-10 09:20:03 +08:00
parent 4b897b01ff
commit 9d1ca3ddaa
154 changed files with 627 additions and 5230 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

View File

@@ -1,80 +0,0 @@
person
bicycle
car
motorcycle
airplane
bus
train
truck
boat
traffic light
fire hydrant
stop sign
parking meter
bench
bird
cat
dog
horse
sheep
cow
elephant
bear
zebra
giraffe
backpack
umbrella
handbag
tie
suitcase
frisbee
skis
snowboard
sports ball
kite
baseball bat
baseball glove
skateboard
surfboard
tennis racket
bottle
wine glass
cup
fork
knife
spoon
bowl
banana
apple
sandwich
orange
broccoli
carrot
hot dog
pizza
donut
cake
chair
couch
potted plant
bed
dining table
toilet
tv
laptop
mouse
remote
keyboard
cell phone
microwave
oven
toaster
sink
refrigerator
book
clock
vase
scissors
teddy bear
hair drier
toothbrush

View File

@@ -1,3 +0,0 @@
#!/bin/bash
sudo ./rknn_yolov5_demo ./model/RK3588/yolov5s-640-640.rknn ./model/bus.jpg

View File

@@ -8,36 +8,35 @@ else
fi
card=$(aplay -l | grep "es8388" | cut -d ':' -f 1 | cut -d ' ' -f 2)
hdmi0_card=$(aplay -l | grep "hdmi0" | cut -d ':' -f 1 | cut -d ' ' -f 2)
if [[ $type == "main" ]]; then
tinymix -D 2 3 4
tinymix -D 2 4 2
tinymix -D 2 14 192
tinymix -D 2 16 0
tinymix -D 2 17 0
tinymix -D 2 31 1
tinymix -D 2 32 1
tinymix -D 2 33 1
tinymix -D $card 3 4
tinymix -D $card 4 2
tinymix -D $card 14 192
tinymix -D $card 16 0
tinymix -D $card 17 0
tinymix -D $card 31 1
tinymix -D $card 32 1
tinymix -D $card 33 1
else
tinymix -D 2 3 2
tinymix -D 2 4 1
tinymix -D 2 14 192
tinymix -D 2 16 0
tinymix -D 2 17 0
tinymix -D 2 31 0
tinymix -D 2 32 0
tinymix -D 2 33 0
tinymix -D $card 3 2
tinymix -D $card 4 1
tinymix -D $card 14 192
tinymix -D $card 16 0
tinymix -D $card 17 0
tinymix -D $card 31 0
tinymix -D $card 32 0
tinymix -D $card 33 0
fi
echo "Start recording: /tmp/test.wav"
arecord -D hw:${card},0 -d 5 -f cd -t wav /tmp/test.wav
echo "Start playing"
aplay /tmp/test.wav -D hw:1,0
aplay /tmp/test.wav -D hw:2,0
#aplay /tmp/test.wav -D hw:0,0
aplay /tmp/test.wav -D hw:${card},0
aplay /tmp/test.wav -D hw:${hdmi0_card},0