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

Prettify library for gif filtering #431

Open
yzevm opened this issue Oct 25, 2020 · 1 comment
Open

Prettify library for gif filtering #431

yzevm opened this issue Oct 25, 2020 · 1 comment

Comments

@yzevm
Copy link
Contributor

yzevm commented Oct 25, 2020

Related #401

I just drop my thoughts and ideas so I wouldn't forget it

Recently we started to use https://github.com/nsfw-filter/gif-frames for gif filtering because of speed and fps flexibility. It's pretty fast, but not for NSFW-Filter 😄
So, I suggest:

  1. Unite 3 libs:

into one library specific for our case. Not sure about Licenses, but we use it as open source, I hope we are fine :D

  1. Remove redundant code of new library (jpg, png stuff)
  2. Re-write in JS ES6+(remove var and etc)
  3. Add unit-tests and benchmarks
  4. Check for performance, event loop blocking and memory leaks

Estimates: ~21-34 hrs (fibonacci)

Probably I'll take it in the next couple months

@GantMan
Copy link
Member

GantMan commented Oct 25, 2020

One of the things worth noting, if you're decoding pixels/encoding pixels for node, I've been using the provided Node API - https://js.tensorflow.org/api_node/2.6.0/ which is built in.

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