1from typing
import Tuple
3 from ANNarchy.intern.SpecificPopulation
import SpecificPopulation
6 from ANNarchy.core.SpecificPopulation
import SpecificPopulation
9class VisionPopulation(SpecificPopulation):
11 ANNarchy population class to connect with the iCub cameras.
12 Read the camera images from the iCub, preprocess the images and set it as activation for the ANNarchy population.
14 def __init__(self, geometry: Tuple =..., ip_address: str = ..., port: int = ..., copied: bool = ..., name: str |
None = ...) ->
None:
15 '''Init the VisionPopulation.
18 geometry (tuple, optional): ANNarchy population geometry. Defaults to (320,240).
19 ip_address (str, optional): ip-address of the gRPC connection. Need to fit with the respective visual reader module. Defaults to "0.0.0.0".
20 port (int, optional): port of the gRPC connection. Need to fit with the respective visual reader module. Defaults to 50000.
21 copied (bool, optional): ANNarchy specific parameter. Defaults to False.
22 name (str, optional): individiual name for the population. Defaults to None.
31 def port(self, value) -> None: ...
41 """Connect the population to the gRPC socket. Need to be called once after compile."""
__init__(self, geometry=(320, 240), ip_address="0.0.0.0", port=50000, copied=False, name=None)