Note some backends.

This commit is contained in:
poikilos 2020-03-28 12:47:14 -04:00
parent b94e007b11
commit efa4c6ac51

View File

@ -175,22 +175,36 @@ catch(std::exception& e) {
opened directly from device such as camera or removable data storage)" opened directly from device such as camera or removable data storage)"
## Developer Notes ## Developer Notes
* The RotoCanvas class is modular, with hopes that it can be used by The RotoCanvas class is modular, with hopes that it can be used by
various video editing applications in the future. The recommended use various video editing applications in the future. The recommended use
of RotoCanvas in a video editing application is for applying effects of RotoCanvas in a video editing application is for applying effects
(primarily manual rotoscoping) to source videos (as frame sequences) (primarily manual rotoscoping) to source videos (as frame sequences) as
as a preprocessing step before they are trimmed or other effects are a preprocessing step before they are trimmed or other effects are
added, since rotoscoping is highly dependent on the source frame (base added, since rotoscoping is highly dependent on the source frame (base
layer) remaining the same. Using the RotoCanvas as a post-processing layer) remaining the same. Using the RotoCanvas as a post-processing
effect is possible, but accurate frame seeking must be assured somehow effect is possible, but accurate frame seeking must be assured somehow
(such as by a frame-accurate video editing engine), and further edits (such as by a frame-accurate video editing engine), and further edits
to the previous layers will in some cases cause the rotoscoped parts to the previous layers will in some cases cause the rotoscoped parts
(parts of the image edited by RotoCanvas) to no longer make sense (parts of the image edited by RotoCanvas) to no longer make sense (such
(such as, if a lens pinch effect is added to a scene where there was a as, if a lens pinch effect is added to a scene where there was a layer
layer order error that has been rotoscoped out, instead of the error order error that has been rotoscoped out, instead of the error being
being rotoscoped out, there will be both the error and a corrected rotoscoped out, there will be both the error and a corrected blotch
blotch that is the error's original position & shape), which in such that is the error's original position & shape), which in such cases
cases would require redoing the rotoscoping. would require redoing the rotoscoping.
### Backends
#### Python
(Not Tried Yet)
- [moviepy](https://github.com/Zulko/moviepy)
- [Examples](https://zulko.github.io/moviepy/examples/examples.html)
- https://github.com/colour-science/colour
- <https://github.com/gtaylor/python-colormath>: "A python module that
abstracts common color math operations. For example, converting from
CIE L*a*b to XYZ, or from RGB to CMYK
http://python-colormath.readthedocs.org"
- <https://github.com/mattrobenolt/colors.py>: "Convert colors between
rgb, hsv, and hex, perform arithmetic, blend modes, and generate
random colors within boundaries"
### RotoCanvas Paint Notes ### RotoCanvas Paint Notes
* The save method is used by both the Save and the Save As actions. The * The save method is used by both the Save and the Save As actions. The