Conversation
|
This works, but not how I expected
How many seconds of images are being loaded? It looks like 5 ahead, plus a frame or two behind? I'm testing on video now. |
subdavis
left a comment
There was a problem hiding this comment.
Video also works. Ran pipeline on video on viame.kitware.com and locally.
Broken in prod, works locally.
There is a specification in the ImageAnnotator. By default it is 6 seconds total with a 90-10 split, 90% of the frames to the front, 10% of the frames behind. This update should force it to download the first frame initially, then start the caching. What you describe sounds about how it should work with 6 seconds forward and then 10% of the backwards (3 frames, but I probably include the current frame so 2) if they aren't loaded yet. Eventually it may make sense to do the standard continually loading frames in the background like a typical video would instead of this isolated sections. |
Update base image for girder worker Fixes FPS issue and image caching (#419) * fixing fps and modifying cache * mend Update docker docs (#379) Co-authored-by: Brandon Davis <git@subdavis.com> Update blank.yml (#415) Upgrade to node LTS Co-authored-by: Jacob Nesbitt <jjnesbitt2@gmail.com> Add checkbuild.sh (#425) Add load and save for JSON annotations (#414) * Add load and save for JSON annotations * Relax json file name requirement * SIP * Implement settings, sanity checks, separate loading of datasets * WIP * remove settings page Fix deploy.yml Update day strings (#430) Fix typo in library README Allow setting of arbitrary attributes on video player (#435) * Mute video prop * Allow setting arbitrary attributes Downgrade urllib3 (#439) Fix inverse interpolation (#433) Run pipelines enabled incorrectly (#441) Add dummy generators Very minor fixes
Trying to get the styling and layout setup Updating some styling Updated styling a bit and added toggling Started updating the editor and connecting it to the attributes endpoint Updating styling and fixing various issues mend mend Electron (#397) * add electron * Add missing api methods * Fix build errors for electron, add to CI * Address comments Update deploy to only Thursday Update base image for girder worker Fixes FPS issue and image caching (#419) * fixing fps and modifying cache * mend Update docker docs (#379) Co-authored-by: Brandon Davis <git@subdavis.com> Update blank.yml (#415) Upgrade to node LTS Co-authored-by: Jacob Nesbitt <jjnesbitt2@gmail.com> Add checkbuild.sh (#425) Add load and save for JSON annotations (#414) * Add load and save for JSON annotations * Relax json file name requirement * SIP * Implement settings, sanity checks, separate loading of datasets * WIP * remove settings page Fix deploy.yml Update day strings (#430) Fix typo in library README Allow setting of arbitrary attributes on video player (#435) * Mute video prop * Allow setting arbitrary attributes Downgrade urllib3 (#439) Fix inverse interpolation (#433) Run pipelines enabled incorrectly (#441) Minor fix to attributes Minor ui fixes Addressing changes Enable pinch zoom on mobile (#440) Co-authored-by: Brandon Davis <git@subdavis.com> Add dummy generators (#438) conversion to using api for attributes editing converted attribute editor and added in additional editing Updating UI interactions

Fixes #420
FPS fix - the FPS was automatically a number so it was failing in the computed property to return the proper value and was defaulting everything to 10.
Image Cache fix - The original image caching would cache 6 seconds of data initially for image sequences. This works for standard images but not for 16MB+ images. It's trying to load all 7 images (at 1 frame per second) without any order priority so the first image may be the last to load. I defaulted to loading the initial image first, then followed by caching so you can move through at least some images quickly and the system isn't sitting there doing nothing while you gawk at the first image.
Please test and make sure I didn't completely mess something up.