Skip to main content

Feagi agent video capture to connect feagi with your video capture

Project description

Quick start

Connect to your webcam

pip3 install feagi_connector_video_capture

python3 -m feagi_connector_video_capture

What is feagi_connector_video_capture?

It allows you to feed videos related to FEAGI using a webcam, gif, mp4, picamera, or screen recording. It can also utilize multiple flags. The purpose of this is to enable FEAGI to interact with and work with its peripherals.

Requirements.txt

These are the requirements which will be updated over time. The script will use this requirement to scan.

Here: requirements.txt

Flags:

--loop: True or False (Default is False)
--ip: (xxx.xxx.xx.xxx) Default is 127.0.0.1
--device: Target the port or index to use. Default is 0.
--video: You need to provide the file path.(mp4, gif, or wav) Default: None
--port: Change the API port of FEAGI. Default is 8000.

Let's say you have a file called earth.gif. If you want to run gif or mp4 only, but it is on your desktop, you will need to specify the file path. So, if you are in the Desktop folder while the file is also in the desktop folder, you can simply do this:

python3 -m feagi_connector_video_capture --video earth.gif (mac and linux)

python -m feagi_connector_video_capture --video earth.gif (Windows)

But if you are on the Desktop while your earth.gif is in the Downloads folder, do this:

python3 -m feagi_connector_video_capture --video path/to/directory/earth.gif

If you want it to loop, just append --loop in the command.

python3 -m feagi_connector_video_capture --video earth.gif --loop true

If you have two webcams and you want to use the second webcam, you can do this:

python3 -m feagi_connector_video_capture --device 1 (Depending on what device index your webcam has, 1 is an assumption for the index of the second webcam. 0 is the default.)

If you want to send your webcam feed to FEAGI on another computer, you will need the computer's local IP. Do it like this:

python3 -m feagi_connector_video_capture --ip xxx.xxx.xx.xxx (Replace the x with the other machine's IP address.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

feagi_connector_video_capture-0.0.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file feagi_connector_video_capture-0.0.0.tar.gz.

File metadata

File hashes

Hashes for feagi_connector_video_capture-0.0.0.tar.gz
Algorithm Hash digest
SHA256 233989127fb008f0eaa4b5f5e414665c992dc1314bdea841ddea0133020b0d3f
MD5 d524f82923df05f6dd70b803f914d004
BLAKE2b-256 889716fb0301526a298dc518077cf06fe86a4cf12eaecfc46c13c1c38543ee83

See more details on using hashes here.

File details

Details for the file feagi_connector_video_capture-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for feagi_connector_video_capture-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34ba6fcf5b800de3b7378b28b4bed95df8a33b20c1bd32644aa88eab9f5c1a5c
MD5 85142e7f68f3f8a95850d0464fe5bc9f
BLAKE2b-256 53f9b0835639cfc6298a95f4e0e81e710cf198f4c3c6ae81cf99da3964ac8148

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page