ethoscope.web_utils package¶
Submodules¶
ethoscope.web_utils.control_thread module¶
-
class
ethoscope.web_utils.control_thread.
ControlThread
(machine_id, name, version, ethoscope_dir, data=None, *args, **kwargs)[source]¶ Bases:
threading.Thread
The versatile control thread From this thread, the PI passes option to the node. Note: Options are passed and shown only if the remote class contains a “_description” field!
-
info
¶
-
k
= 'roi_builder'¶
-
was_interrupted
¶
-
-
class
ethoscope.web_utils.control_thread.
ExperimentalInformations
(name='', location='', code='')[source]¶ Bases:
ethoscope.utils.description.DescribedObject
-
info_dic
¶
-
ethoscope.web_utils.helpers module¶
-
ethoscope.web_utils.helpers.
get_machine_info
(path)[source]¶ Reads the machine NAME file and returns the value.
ethoscope.web_utils.record module¶
-
class
ethoscope.web_utils.record.
ControlThreadVideoRecording
(machine_id, name, version, ethoscope_dir, data=None, *args, **kwargs)[source]¶ Bases:
ethoscope.web_utils.control_thread.ControlThread
-
k
= 'experimental_info'¶
-
-
class
ethoscope.web_utils.record.
GeneralVideoRecorder
(video_prefix, video_dir, img_path, width=1280, height=960, fps=25, bitrate=200000)[source]¶
-
class
ethoscope.web_utils.record.
PiCameraProcess
(stop_queue, video_prefix, video_root_dir, img_path, width, height, fps, bitrate)[source]¶ Bases:
multiprocessing.process.Process