Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample Pipeline(s) ideas to showcase capabilities #233

Open
mraduldubey opened this issue Jun 12, 2023 · 11 comments · May be fixed by #352
Open

Sample Pipeline(s) ideas to showcase capabilities #233

mraduldubey opened this issue Jun 12, 2023 · 11 comments · May be fixed by #352
Assignees
Labels
help wanted Extra attention is needed

Comments

@mraduldubey
Copy link
Collaborator

mraduldubey commented Jun 12, 2023

Is your feature request related to a problem? Please describe.
We should have multiple sample pipelines that can showcase the capabilities of ApraPipes. We can brainstorm ideas here.

Describe the solution you'd like

  1. We need to come up with ideas for such pipeline.
  2. We should come up with ideas for all platforms: Windows, Linux, Jetson.

Example 1

Face Tracking Sample

Pipeline: Webcam -> Face Detection -> Overlay
Platform: Win/Lin/Jetson
Requirement: Webcam

Example 2

Motion Detection

Pipeline: Webcam -> Mp4VideoWriter + Mp4VideoReader -> Motion Detection -> Overlay
Platform: Win/Lin
Requirement: Webcam

Example 3

Streaming from Webcam

Pipeline: Webcam -> WebrtcSink
Platform: Jetson/Lin
Requirement: Webcam

@yashrajsapra
Copy link
Collaborator

Example 4
Keyboard Stroke pipeline (Based On keyboard strokes we will be able to rotate/zoom/translate)
Pipeline: Webcam -> Affine -> Resize ->render
Platform: Jetson/Lin
Requirement: Webcam

@yashrajsapra
Copy link
Collaborator

Example 5
Creating multiple Renderer windows (One for viewing live stream other for viewing recorded stream)
Pipeline: Webcam -> Renderer , WebCam-> Mp4 Writer , Mp4Reader->renderer
Platform: Jetson/Lin
Requirement: Webcam

@mraduldubey mraduldubey added the help wanted Extra attention is needed label Jun 18, 2023
@yashrajsapra yashrajsapra pinned this issue Jul 5, 2023
@Vinayak-YB Vinayak-YB unpinned this issue Jul 11, 2023
@Vinayak-YB Vinayak-YB pinned this issue Jul 11, 2023
@kumaakh
Copy link
Collaborator

kumaakh commented Jul 12, 2023

Has these been committed ? I have not seen any PRs @mraduldubey @yashrajsapra

@yashrajsapra
Copy link
Collaborator

Development has not started Akhil, currently we are exploring some more ideas

@mraduldubey
Copy link
Collaborator Author

mraduldubey commented Jul 14, 2023

Approach for adding samples

  • Add a new sample inside the samples folder
  • So, for eg.
ApraPipes/
    - samples/
         - survelliance_timelapse_summary
              - survelliance_timelapse_summary.cpp #individual sample with Pipeline
              - survelliance_timelapse_summary_test.cpp  #boost test for the pipeline - to be integrated in the cloud builds later
              - CMakeList.txt # to build this sample
         - sample2
         - CmakeList.txt # to build all samples
         - README.md

Note:

  1. The boost test will ensure that the tests build as part of regular builds and do not become outdated.

Samples Folder

  • We should create a sample folder which contains just a README.md file which describes the following process (roughly):
  1. build aprapipes using the readme (redirect)
  2. build and run the sample
  3. build and run all the samples
  4. run all sample boost tests

Note From @kumaakh :
Also these tests should make use of command like arguments to pass to the test, so that if the webcam device needs to be set or resolution needs to be set it can be done.
The way to pass command like argument is already mentioned in main readme.md

Updated the desciption @nitins7

@mraduldubey
Copy link
Collaborator Author

mraduldubey commented Jul 14, 2023

Example 6:
@yashrajsapra please add the meetup demo pipelines in the above format

@mraduldubey
Copy link
Collaborator Author

mraduldubey commented Sep 13, 2023

Example 7:
New Idea: A pipeline to generate timelapse of any given video. We may support modes likes Landscape, Urban, Generic etc.

@mraduldubey
Copy link
Collaborator Author

Example 8:
New Idea: Surveillance summary timelapse based on motion detection

@mraduldubey
Copy link
Collaborator Author

Add Examples to showcase frame work features, including but not limited to:

  1. Relay Feature
  2. Valve Module
  3. Ratio (how to drop frames)
  4. Flush Queue
  5. Disabled Sieve

@kumaakh kumaakh unpinned this issue Dec 6, 2023
@mraduldubey
Copy link
Collaborator Author

Example 6: @yashrajsapra please add the meetup demo pipelines in the above format

@yashrajsapra point us to the pravega sample

@mraduldubey
Copy link
Collaborator Author

Add Examples to showcase frame work features, including but not limited to:

  1. Relay Feature
  2. Valve Module
  3. Ratio (how to drop frames)
  4. Flush Queue
  5. Disabled Sieve
  1. Switch between live an recorded views
  2. Thumbnail Generator
  3. Stats Summary example
  4. Mp4 Seek to start
  5. Muxer based solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
4 participants