model_file = “modelfile.eim” # Trained ML model from Edge Impulse
draw_fps = True # Draw FPS on screen
res_width = 96 # Resolution of camera (width)
res_height = 96 # Resolution of camera (height)
rotation = 0 # Camera rotation (0, 90, 180, or 270)
cam_format = “RGB888” # Color format
img_width = 96 # Resize width to this for inference
img_height = 96 # Resize height to this for inference
and i think the code if use my model is failed to classification with this results:
ah, after change from edge_impulse_linux.runner import ImpulseRunner to from edge_impulse_linux.image import ImageImpulseRunner seems working well,
one more question, how to get detailed precision like two number after comma for inferencing time? i got only 0 and or exact number, i want to know like 0.XX.