Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.56 KB

File metadata and controls

23 lines (19 loc) · 1.56 KB

Steps:

  • Download Arduino IDE
  • Download p5 serial app
  • Upload Arduino code to the Arduino board (you can find it in the SoundClassifier/ ImageClassifier / PoseClassifier folder)
  • Open p5 serial app(if cannot open, change firewall settings)

Sound:

Image:

  • Running this p5 sketch on p5 web editor, remember to update the portName and myImageModelURL, and update class names to your own classes.
  • Demo

Pose:

  • Running this p5 sketch on p5 web editor, remember to update the portName and poseModelUrl, and update class names to your own classes.
  • Demo

Trouble shooting:

  • The models works in p5 web editor, but my LEDs are not lighted up
    1. Light up LEDs in the arduino code directly to test if there is anything wrong with the LEDs.
    2. Make sure p5 serialis working: There shouldn't be any error in the console. The p5 serial app should be open, but do NOT connect to the port inside of the p5 serial app, otherwise p5 serial app will be using the port, then p5 web editor cannot use the port.