Feagi agent video capture to connect feagi with your video capture
Project description
Quick start
Connect to your webcam
pip3 install feagi_agent_video_capture
python3 -m feagi_agent_video_capture
What is feagi_agent_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_agent_video_capture --video earth.gif
(mac and linux)
python -m feagi_agent_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_agent_video_capture --video path/to/directory/earth.gif
If you want it to loop, just append --loop
in the command.
python3 -m feagi_agent_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_agent_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_agent_video_capture --ip xxx.xxx.xx.xxx
(Replace the x with the other machine's IP address.)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file feagi_agent_video_capture-0.0.13.tar.gz
.
File metadata
- Download URL: feagi_agent_video_capture-0.0.13.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d64f9f85f0774c05588b4fb7ae8b5b48f9cbf061ed992bbe9e55954f3a95965 |
|
MD5 | 3f3a1f61552991a22d0c69626cb318e3 |
|
BLAKE2b-256 | 87cdd359a8f327c25a023b96cd35a251b1fdb0c786ca4f4a259456e16412b8ab |
File details
Details for the file feagi_agent_video_capture-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: feagi_agent_video_capture-0.0.13-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e7476a9543eccf358ca229f44cb0b4eae5c83d23dc3b9891386342bf490fa8e |
|
MD5 | 1b121a3a361c90811ee696b28affe46d |
|
BLAKE2b-256 | 287d9c88e72e4b8f6e10ac3c3318890514d44a4dcc85f9091d4b1321682563e3 |