Loading results movement detection ================================== .. currentmodule:: birdwatcher Movement detection fuctions return three results: the ``coords``, ``coordscount`` and ``coordsmean``, which are numpy-like arrays that can immediately be used for further analyses. However, they directly map to disk-based data folders saved next to the video and can also be loaded in a later session without having to run the detection algoritm again. :: myvideo.mp4 (file) myvideo (folder) ├── coords.darr (folder) ├── coordscount.darr (folder) ├── coordmean.darr (folder) └── movementvideo.mp4 (file) To read the ``coords`` data in a later session, use the :class:`CoordinateArrays` class: .. code:: python >>> import birdwatcher as bw >>> ca = bw.CoordinateArrays('myvideo/coords.darr/') >>> ca RaggedArray (497 subarrays with atom shape (2,), r) >>> ca.show(framerate=25) # shows the results as a video on screen .. raw:: html