(args)
| 64 | |
| 65 | |
| 66 | def get_motion_transforms(args): |
| 67 | motion_transforms = [] |
| 68 | if args.motion_blur: |
| 69 | motion_transforms.append(GaussianBlur(5, sigma=2.0)) |
| 70 | if args.grayscale_motion: |
| 71 | motion_transforms.append(Grayscale(1)) |
| 72 | return Compose(motion_transforms) |
| 73 | |
| 74 | |
| 75 | def save_audio(path, audio, audio_rate=16000): |
nothing calls this directly
no outgoing calls
no test coverage detected