Coder Social home page Coder Social logo

Comments (5)

lastralab avatar lastralab commented on August 18, 2024

Note: If this is going to run on a separate Pi, I'm nesting conditions to isolate the validation video screen. This means if the validation video will be running, no other modules/screens can be running on the same pi.

When running main.sh, the selection include the validation letter "a/A":
a

If the selection includes other modules, example: vitra, it will find first the 'a/A' and will skip the other modules. The result will open the validation, monitor and backup screens only.

from abissmal.

gsvidaurre avatar gsvidaurre commented on August 18, 2024

I'd also like the following options:

  • Choosing the duration of video recording
  • Choosing more than 1 time slot in which videos will be recorded. For instance, maybe I need to record video for 3 different 2-hour periods each day. Also I'd like to be able to record validation videos at night after all. But this doesn't really change anything as long as there is an option to select multiple sessions for video recording

from abissmal.

lastralab avatar lastralab commented on August 18, 2024
  • Choosing the duration of video recording
  • Choosing more than 1 time slot in which videos will be recorded. For instance, maybe I need to record video for 3 different 2-hour periods each day. Also I'd like to be able to record validation videos at night after all. But this doesn't really change anything as long as there is an option to select multiple sessions for video recording:
  1. Added duration option to Main.sh, to enter seconds for each video

  2. Variable 'video_time_range' will handle n arrays of time slots. Each slot will be handled in the while loop

    • Example for 1 time slot = [7,10]
    • Example for 3 time slots = [7,9], [15,16], [19,21]
    • Logs example for 3 slots:
      • 2023-09-07 14:44:29 INFO Detected 3 time slots
        2023-09-07 14:44:29 INFO Validation videos will be recorded between 7 and 9 hours
        2023-09-07 14:44:29 INFO Validation videos will be recorded between 15 and 16 hours
        2023-09-07 14:44:29 INFO Validation videos will be recorded between 19 and 21 hours

from abissmal.

lastralab avatar lastralab commented on August 18, 2024

Added 'pause' option to add seconds between each video.

pause

from abissmal.

lastralab avatar lastralab commented on August 18, 2024

Count videos command:
find /home/pi/Data_Abissmal/Video/ -type f -name "*.mp4" | grep "validation_2023_9_7" | wc -l

from abissmal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.