aclich / PYNQ-Z2_Mask_Detection_Sreaming_system

An AIoT project based on PYNQ-Z2 FPGA Evaluation board. Reading image from usb camera and running yolov3-tiny detection with DPU and using MJPEG HTTP Streaming. Also provide an Android app for handy accessing the streaming content.
10 stars 2 forks source link

Disk file #1

Closed NHSE closed 2 years ago

NHSE commented 2 years ago

The disk file is corrupted Please solve it

aclich commented 2 years ago

Hi, Please try the updated image file. https://drive.google.com/file/d/1seN3JbUqXAViNvDaH-hraOcrsKgmP8KR/view?usp=sharing

NHSE commented 2 years ago

How do I configure SSH communication?

NHSE commented 2 years ago

SSH connection not working Could you please help me?

aclich commented 2 years ago

Hi, please visit the jupyter-notebook on pynq-z2 and use terminal from it. Try following command.

sudo sed -i 's@192.168.2.165@0.0.0.0@g' /etc/ssh/sshd_config && sudo systemctl restart ssh

There are some configure shouldn't be in image. I'll fix the image if I'm available.

aclich commented 2 years ago

If you connect the board with router and hope to get address through DHCP, please modify /etc/network/interfaces.d/eth0 as following

auto eth0
iface eth0 inet dhcp

auto eth0
iface eth0 inet static
address 192.168.2.99
netmask 255.255.255.0
NHSE commented 2 years ago

image I successfully proceeded with SSH connection. However, YOLO does not proceed as shown in the picture above.

NHSE commented 2 years ago

image The command Make is not executed either.

aclich commented 2 years ago

Have you tried with root user?

NHSE commented 2 years ago

Yes, but it doesn't change to root user

aclich commented 2 years ago

I just flash the SD card and build this repo again. It seems no problem. Make sure you follow the steps in quick start.

image

NHSE commented 2 years ago

How did you enter the root user? Plz give me your code in ssh program

aclich commented 2 years ago
  1. sudo su
  2. Login ssh with root Password is “xilinx”
NHSE commented 2 years ago

My board login ID doesn't work as root user

aclich commented 2 years ago

The image has already configured with root login permission. Have you change any ssh config on the board?

NHSE commented 2 years ago

When i login this ssh progarm as root user, it displayed "login incorrect"

aclich commented 2 years ago

Make sure your _/etc/ssh/sshdconfig file with following setting


PermitRootLogin yes

And reboot once if you make changes.

NHSE commented 2 years ago

image I proceeded as a root user, but if I proceed with the code "./yolo YouTube_320.mp4v", the SSH connection will be disconnected. I have proceeded with the whole process as you said

NHSE commented 2 years ago

image This code is also the same

aclich commented 2 years ago

Are you power the board by usb? If so, probably not enough power from usb. Please use DC 9v to power the board.

NHSE commented 2 years ago

Thanks to you, it's settled. Thank you. But I have another question. Can you send the 'box size' to Jupiter's laptop right away and make Arduino pin behave differently depending on the 'box size'?

aclich commented 2 years ago

I close this issue since the problem seems solved. For other applications, feel free to modiy the code in src/. I'm sure there are some serial port libs that can help you communicate with Arduino.

NHSE commented 2 years ago

Can you show me the vivado ip design?

aclich commented 2 years ago

@NHSE Sorry for the late response. Please refer to this xsa file. I think you are able to rebuild the hardware design from the tcl in it.