Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bug #60

Open
EvilPerfectionist opened this issue Aug 23, 2022 · 1 comment
Open

A bug #60

EvilPerfectionist opened this issue Aug 23, 2022 · 1 comment

Comments

@EvilPerfectionist
Copy link

The images are loaded in the format of "RGB":

img = img.convert('RGB')

But they are converted to "Gray" from "BGR" before writing to disk:

img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)

@leon-w
Copy link

leon-w commented Apr 24, 2023

This is not really a bug as the upsampled frames are only intended to be further processed into events (and only storing them in grayscale can save some disk space).

As you can see here, during the event generation process, the upsampled frames are only loaded as grayscale again:

image = cv2.imread(image_file, cv2.IMREAD_GRAYSCALE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants