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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a9c3aabfda088f4d86e61c1446f8c0b8060a7bad16c4ca38962b345d29f8811 |
|
MD5 | efcc6c707d0e459e72d477248c00ae53 |
|
BLAKE2b-256 | 7e4fc31e04e41e1230aeab8445cf3a4afa7cb71baf071df4ce54b658e44fc119 |
Close
Hashes for poliduckie_segmentation-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99725fe521494427feb3018b251b117daa60f41fc8c3ad18996f87b3bdc0b243 |
|
MD5 | b9b4d126ac6a14259d730be065c75409 |
|
BLAKE2b-256 | f329081c60b5a86be809b853e43dcf89e66d49ebe025fab45e528183cba2f882 |