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
Close
Hashes for poliduckie_segmentation-0.1.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b24c4a77e2a35171343a8924900591d8cc3ee8658d4c409de7ab025c6352db30 |
|
MD5 | dcab2abb98792ba21f612f7ff3e940df |
|
BLAKE2b-256 | ec53d7f1f3a38fa1da8bdad52195e1d2f35329c6e61fc9d400b01929b37731d7 |
Close
Hashes for poliduckie_segmentation-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39119a3393b642e9169989a048e85754639f87a79622885733ba9d1395fc2449 |
|
MD5 | ee02c3ef61b36c5b992142c30003d432 |
|
BLAKE2b-256 | af02994383798d56403111889e2541480e0cdc71aecddb2fe10fcf20a59da395 |