Professor: Seulbae Kim
Team: whysw (Chiheon Kim, Sungjae Cho)
Note: This repository is forked from the original author's repository.
Reproduce and further explore ShadowAttack(paper / github)
-
Seed Fix
Addseed_everything()for reliable reproductions. A seed can be specified inparams.json. -
Video Preprocess
video_preprocess.pysaves cropped traffic sign images from each frame of given video. (The video should be located undervideos/directory and have.mp4format.) It requires a JSON file exported from "Lable Studio", where you can manually label a traffic sign with a rectangle box. With the key frame information in the JSON file, it calculates interpolation and finds the position of the traffic sign in each frame. Then it saves the images undervideos/<video_file_name>-frames/<frame#>.jpg.python video_preprocess.py test.mp4
-
Automated
single_image_test()for given directory
To test every single image saved undervideos/<video_file_name>-frames/,lisa.pyis slightly modified. Given a directory name undervideos/, it iteratively test each image and saves all the results in specified log file.python lisa.py test-frames test.log