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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc4f9d49c67267a0b495802e1707352b19cd74e01fbb571fc294dd7dbbb3eed |
|
MD5 | 4976bfe5d4a007001806ed0c9096e4d9 |
|
BLAKE2b-256 | 1126d0bfb659efdc38573b703f5f566255a3a5c5538edbb8adf7e800a8140cdb |
Close
Hashes for poliduckie_segmentation-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c4bdfb0b7e48b2f4ee4d4d778483ab6b7baf90d4e7f7605bfcf70efc1ad175f |
|
MD5 | 89f79152521d7a7da22ba13448be88a1 |
|
BLAKE2b-256 | 338514feb291859cf4d2cd22d333be83c8db4b6016e243372a991e938ac95cb5 |