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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58f896a87e2cbd3ab3499ff4ed45d99925c29ab40c2c0d3d92e995d0c2917686 |
|
MD5 | b480ad777d7f2496323bd44822d2299f |
|
BLAKE2b-256 | f02157e7f7061262d72338792b50825431765e96494ffd4e3af20c9074975fe6 |
Close
Hashes for poliduckie_segmentation-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2de77226026e4a8dfce93e97cf1ac4d7c034148d436f3246b15a1add274b88b0 |
|
MD5 | 31f2575d00491d0accccd3cf203ea41e |
|
BLAKE2b-256 | 6f44b8c5c2dd73e8471e6ecb1e6a83567dbe9099c3e154501b44687d1100c3d6 |