image module

ImageImpulseRunner

class edge_impulse_linux.image.ImageImpulseRunner(
		model_path: str
)

Parameters

  • model_path: str

Bases

  • edge_impulse_linux.runner.ImpulseRunner

Methods

classifier

edge_impulse_linux.image.classifier(
		self,
		videoDeviceId=0
)

Parameters

  • self

  • videoDeviceId=0

classify

edge_impulse_linux.image.classify(
		self,
		data
)

Parameters

  • self

  • data

get_features_from_image

edge_impulse_linux.image.get_features_from_image(
		self,
		img,
		crop_direction_x='center',
		crop_direction_y='center'
)

Parameters

  • self

  • img

  • crop_direction_x='center'

  • crop_direction_y='center'

get_frames

edge_impulse_linux.image.get_frames(
		self,
		videoDeviceId=0
)

Parameters

  • self

  • videoDeviceId=0

init

edge_impulse_linux.image.init(
		self
)

Parameters

  • self