Segmentation from the Poliduckie team.
Project description
Poliduckies common packages
A package ready to be installed that provides the work made by the Poliduckie team
pip install poliduckie-segmentation
Example for segmentation
from poliduckie_segmentation.segmentation import Segmentation
image = [...]
segmentation = Segmentation()
# To predict:
prediction = segmentation.predict(image)
# To get the model:
segmentation.get_model()
# To get the model summary:
segmentation.get_model_summary()
Example for MPC
from poliduckie_segmentation.control import MPC
M = MPC()
# x = state, r = reference (with N=10 be like r=[[0.1, 0.1]]*10)
next_action = M.mpc(x, r)
Example for Model
from poliduckie_segmentation.model import Model
F = Model()
x, y, theta = 0,0,0
action = [1,1] # linear and angular speed
next_state = F.step(x, y, theta, previous_speed, previous_angular_speed, action)
# To use as action left and right wheel speed:
F.step_wheel_speed(x, y, theta, previous_speed, previous_angular_speed, action)
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 poliduckie_segmentation-0.1.17.1.tar.gz
.
File metadata
- Download URL: poliduckie_segmentation-0.1.17.1.tar.gz
- Upload date:
- Size: 22.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2678e1baa96e3092a0696f68f17e7f8e4b7ea59e4496011bcd8e165f49dbb34 |
|
MD5 | 05707ceb8ee0cbde51c3711a031022f9 |
|
BLAKE2b-256 | ff8e7c56153c6fe817e74fca6acd0f893c0fea55b161572e85a84b1346ce7414 |
File details
Details for the file poliduckie_segmentation-0.1.17.1-py3-none-any.whl
.
File metadata
- Download URL: poliduckie_segmentation-0.1.17.1-py3-none-any.whl
- Upload date:
- Size: 22.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598f67899ea29f6d2ce76cef4305e514bd562251be534620b4a46b9b2701a641 |
|
MD5 | 374cf3333bcf9ef9e65d754858a840f3 |
|
BLAKE2b-256 | 57db7b7b07d9ea35d472a1a42a6813b7b1a2d339bba30246d527e5ccfb2923d7 |