wuhanstudio / adversarial-camera

A Man-in-the-Middle Attack against Object Detection.
https://minm.wuhanstudio.uk
9 stars 4 forks source link

Is uvc-gadget compatible for Raspi-Zero2W? Are the os images the same? Can it open uvc-gadget? #1

Open ywz978020607 opened 8 months ago

ywz978020607 commented 8 months ago

Hi there, you guys are doing a really great job, and I want to know if I use raspi-zero2w (zero2w is cheaper), the os images and code can be used directly? Whether all raspi supports the uvc-gadget?

(I have tried uvc-gadget on 410-linux, which is often used for wifi ap, and I opened menuconfig switch for uvc gadget and rebuild linux kernel, but finally found that 410's gadget config will reset at each restarting, so I gave up 410, want to try zero2w to use uvc-gadget.)

wuhanstudio commented 8 months ago

Hi, raspi-zero2w does support the uvc-gadget, though I only tested raspi 4 for this project. https://www.raspberrypi.com/tutorials/plug-and-play-raspberry-pi-usb-webcam/

Besides, raspi3 and all previous versions do not have the USB-OTG port and thus are not unsupported.