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.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for feagi_connector_video_capture-0.0.1.tar.gz
Algorithm Hash digest
SHA256 28d1b0f61b09388c41aa57151eeead8ec00ac673a27be0bbde6403ae9b1ffbd2
MD5 c7704584b0234f99f6f593bad567b757
BLAKE2b-256 35543d95a9082f685059867877968c1c079c5237efaa1fc993cafbb905d2576b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for feagi_connector_video_capture-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ec5b9baa77dbaaf28429b0a2bc415ef5914af1f5fa0ad07fdf2b881e835f7da
MD5 460b97fd1320b7d5c40744014ffc980f
BLAKE2b-256 8772e11c86232745842afdba052394f08e4a6d5e0d6de864673a03c894cc06ee

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