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

Last frame acquisition from camera #94

Open
James2ok opened this issue Jun 8, 2022 · 1 comment
Open

Last frame acquisition from camera #94

James2ok opened this issue Jun 8, 2022 · 1 comment
Labels
comp:model Model related isssues Hardware:Dev Board Coral Dev Board issues stat:community support Staus - Community Support subtype:Mendel Linux Mendel Linux Build/installation issues type:support Support question or issue

Comments

@James2ok
Copy link

James2ok commented Jun 8, 2022

Description

Hi , i try to use the classify_capture.py script in the example to take the Last frame from my usb camera , open a display and run a tflite classification model retrained by me. My problem is that the frame that i take from camera is not the Last frame . Someone can share some code or funcion to take the Last frame from camera? Thanks

Click to expand!

Issue Type

Support

Operating System

Mendel Linux

Coral Device

Dev Board

Other Devices

No response

Programming Language

Python 3.8

Relevant Log Output

No response

@google-coral-bot google-coral-bot bot added comp:model Model related isssues Hardware:Dev Board Coral Dev Board issues subtype:Mendel Linux Mendel Linux Build/installation issues type:support Support question or issue labels Jun 8, 2022
@hjonnala hjonnala added the stat:community support Staus - Community Support label Jun 21, 2022
@hjonnala hjonnala removed their assignment Jun 21, 2022
@myungjoo
Copy link

With GStreamer, running v4l2src ! ... (preprocess) ... ! queue leaky=2 max-size-buffers=2 ! {element that does the inference}, older frames will be dropped at queue so that the last element will get the latest frames.

E.g., https://github.com/nnstreamer/nnstreamer-example/blob/main/bash_script/example_object_detection_tensorflow_lite/gst-launch-object-detection-tflite.sh (this supports Google Coral accleration if the correponsing tensorflow-lite is built properly and accelerator is properly designated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:model Model related isssues Hardware:Dev Board Coral Dev Board issues stat:community support Staus - Community Support subtype:Mendel Linux Mendel Linux Build/installation issues type:support Support question or issue
Projects
None yet
Development

No branches or pull requests

3 participants