cortictechnology / cep

CEP is a software platform designed for users that want to learn or rapidly prototype using standard A.I. components.
MIT License
166 stars 21 forks source link

Merge dev branch to main branch #5

Closed michaelhwn closed 3 years ago

michaelhwn commented 3 years ago

The dev branch has the following new features and code refactoring that will be merged to the main branch:

Code refactoring:

  1. In the vision module, the processing workers are now derived from three base classes: CPUProcessing, OAKDProcessing, and TVMProcessing. These three base classes all have the same parent class: BaseVisionProcessing.
  2. In the command interface, the rendering task request function is now merged into the generic task request function.

New features:

  1. When the user adjusts the zoom scale and scroll location of the visual programming workspace, this adjustment was not saved before. When the user refreshes or reloads the visual program, the zoom scale and scroll location would reset and the user had to re-adjust again. With this merge, this is no longer the case, any change in zoom scale and scroll location is automatically saved every time the user reloads the page or saves the visual program.
  2. Two new visual programming blocks are added: create list from directory block and play audio, please refer to this commit for more details. With these new blocks, users can define a custom music playlist and play selected music from it.

Bug fixes:

  1. Rendering worker in the vision module was not rendering all of the supported processing workers' results properly. This was because the data received from these processing workers were not assigned to the rendering data queue. This is now fixed and the rendering worker works properly in both Raspberry OS and Ubuntu.