From 7c4359886ee635f3d1df5bff4d3b259abb3623da Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Tue, 24 Oct 2023 13:30:06 +0200 Subject: [PATCH] scripts/examples: Add license header to all examples. --- scripts/examples/00-HelloWorld/blinky.py | 4 ++++ scripts/examples/00-HelloWorld/helloworld.py | 4 ++++ scripts/examples/01-Camera/00-Snapshot/emboss_snapshot.py | 4 ++++ scripts/examples/01-Camera/00-Snapshot/snapshot.py | 4 ++++ .../01-Camera/00-Snapshot/snapshot_on_face_detection.py | 4 ++++ .../examples/01-Camera/00-Snapshot/snapshot_on_movement.py | 4 ++++ scripts/examples/01-Camera/00-Snapshot/time_lapse_photos.py | 4 ++++ scripts/examples/01-Camera/01-Video-Recording/gif.py | 4 ++++ .../01-Camera/01-Video-Recording/gif_on_face_detection.py | 4 ++++ .../examples/01-Camera/01-Video-Recording/gif_on_movement.py | 4 ++++ .../examples/01-Camera/01-Video-Recording/imageio_memory.py | 4 ++++ scripts/examples/01-Camera/01-Video-Recording/imageio_read.py | 4 ++++ .../examples/01-Camera/01-Video-Recording/imageio_write.py | 4 ++++ scripts/examples/01-Camera/01-Video-Recording/mjpeg.py | 4 ++++ .../01-Camera/01-Video-Recording/mjpeg_on_face_detection.py | 4 ++++ .../01-Camera/01-Video-Recording/mjpeg_on_movement.py | 4 ++++ .../01-Camera/02-Optical-Flow/absolute-rotation-scale.py | 4 ++++ .../01-Camera/02-Optical-Flow/absolute-translation.py | 4 ++++ .../01-Camera/02-Optical-Flow/differential-rotation-scale.py | 4 ++++ .../01-Camera/02-Optical-Flow/differential-translation.py | 4 ++++ .../02-Optical-Flow/image-patches-absolute-rotation-scale.py | 4 ++++ .../02-Optical-Flow/image-patches-absolute-translation.py | 4 ++++ .../image-patches-differential-rotation-scale.py | 4 ++++ .../02-Optical-Flow/image-patches-differential-translation.py | 4 ++++ scripts/examples/01-Camera/03-Event-Cameras/frogeye2020.py | 4 ++++ .../01-Camera/03-Event-Cameras/frogeye2020_with_tracking.py | 4 ++++ scripts/examples/01-Camera/04-Global-Shutter/high_fps.py | 4 ++++ .../examples/01-Camera/04-Global-Shutter/triggered_mode.py | 4 ++++ .../01-Camera/05-FLIR-Lepton/lepton_get_object_high_temp.py | 4 ++++ .../01-Camera/05-FLIR-Lepton/lepton_get_object_temp.py | 4 ++++ .../01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color.py | 4 ++++ .../05-FLIR-Lepton/lepton_get_object_temp_color_lcd.py | 4 ++++ .../01-Camera/05-FLIR-Lepton/lepton_get_object_temp_lcd.py | 4 ++++ .../05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking.py | 4 ++++ .../lepton_hotspot_grayscale_color_tracking_lcd.py | 4 ++++ .../05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking.py | 4 ++++ .../lepton_hotspot_rgb565_color_tracking_lcd.py | 4 ++++ .../lepton_target_temp_hotspot_grayscale_color_tracking.py | 4 ++++ .../lepton_target_temp_hotspot_rgb565_color_tracking.py | 4 ++++ scripts/examples/01-Camera/06-Time-of-Flight/tof_camera.py | 4 ++++ scripts/examples/01-Camera/06-Time-of-Flight/tof_overlay.py | 4 ++++ .../01-Camera/07-Sensor-Control/sensor_auto_gain_control.py | 4 ++++ .../01-Camera/07-Sensor-Control/sensor_exposure_control.py | 4 ++++ .../01-Camera/07-Sensor-Control/sensor_horizontal_mirror.py | 4 ++++ .../01-Camera/07-Sensor-Control/sensor_manual_gain_control.py | 4 ++++ .../07-Sensor-Control/sensor_manual_whitebal_control.py | 4 ++++ .../07-Sensor-Control/sensor_save_and_restore_settings.py | 4 ++++ .../01-Camera/07-Sensor-Control/sensor_vertical_flip.py | 4 ++++ .../01-Camera/08-Readout-Control/100_fps_ir_led_tracking.py | 4 ++++ .../01-Camera/08-Readout-Control/apriltag_tracking.py | 4 ++++ .../examples/02-Image-Processing/00-Drawing/arrow_drawing.py | 4 ++++ .../examples/02-Image-Processing/00-Drawing/circle_drawing.py | 4 ++++ scripts/examples/02-Image-Processing/00-Drawing/copy2fb.py | 4 ++++ .../examples/02-Image-Processing/00-Drawing/cross_drawing.py | 4 ++++ .../02-Image-Processing/00-Drawing/ellipse_drawing.py | 4 ++++ scripts/examples/02-Image-Processing/00-Drawing/flood_fill.py | 4 ++++ .../examples/02-Image-Processing/00-Drawing/image_drawing.py | 4 ++++ .../02-Image-Processing/00-Drawing/image_drawing_advanced.py | 4 ++++ .../00-Drawing/image_drawing_alpha_blending_test.py | 4 ++++ .../image_drawing_alpha_blending_with_color_table_test.py | 4 ++++ .../00-Drawing/image_drawing_alpha_table_test.py | 4 ++++ .../image_drawing_alpha_table_with_color_table_test.py | 4 ++++ .../00-Drawing/image_drawing_scale_down_test.py | 4 ++++ .../00-Drawing/image_drawing_scale_up_test.py | 4 ++++ .../00-Drawing/image_drawing_with_custom_palette.py | 4 ++++ .../02-Image-Processing/00-Drawing/keypoints_drawing.py | 4 ++++ .../examples/02-Image-Processing/00-Drawing/line_drawing.py | 4 ++++ .../02-Image-Processing/00-Drawing/rectangle_drawing.py | 4 ++++ .../examples/02-Image-Processing/00-Drawing/text_drawing.py | 4 ++++ .../01-Image-Filters/adaptive_histogram_equalization.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/blur_filter.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/cartoon_filter.py | 4 ++++ .../01-Image-Filters/color_bilateral_filter.py | 4 ++++ .../01-Image-Filters/color_binary_filter.py | 4 ++++ .../01-Image-Filters/color_light_removal.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/edge_filter.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/erode_and_dilate.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/gamma_correction.py | 4 ++++ .../01-Image-Filters/grayscale_bilateral_filter.py | 4 ++++ .../01-Image-Filters/grayscale_binary_filter.py | 4 ++++ .../01-Image-Filters/grayscale_light_removal.py | 4 ++++ .../01-Image-Filters/histogram_equalization.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/kernel_filters.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/lens_correction.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/linear_polar.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/log_polar.py | 4 ++++ .../01-Image-Filters/mean_adaptive_threshold_filter.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/mean_filter.py | 4 ++++ .../01-Image-Filters/median_adaptive_threshold_filter.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/median_filter.py | 4 ++++ .../01-Image-Filters/midpoint_adaptive_threshold_filter.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/midpoint_filter.py | 4 ++++ .../01-Image-Filters/mode_adaptive_threshold_filter.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/mode_filter.py | 4 ++++ .../examples/02-Image-Processing/01-Image-Filters/negative.py | 4 ++++ .../01-Image-Filters/perspective_and_rotation_correction.py | 4 ++++ .../01-Image-Filters/perspective_correction.py | 4 ++++ .../01-Image-Filters/rotation_correction.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/sharpen_filter.py | 4 ++++ scripts/examples/02-Image-Processing/01-Image-Filters/ulab.py | 4 ++++ .../02-Image-Processing/01-Image-Filters/unsharp_filter.py | 4 ++++ .../01-Image-Filters/vflip_hmirror_transpose.py | 4 ++++ .../02-Color-Tracking/automatic_grayscale_color_tracking.py | 4 ++++ .../02-Color-Tracking/automatic_rgb565_color_tracking.py | 4 ++++ .../02-Color-Tracking/black_grayscale_line_following.py | 4 ++++ .../02-Color-Tracking/image_histogram_info.py | 4 ++++ .../02-Color-Tracking/image_statistics_info.py | 4 ++++ .../02-Color-Tracking/ir_beacon_grayscale_tracking.py | 4 ++++ .../02-Color-Tracking/ir_beacon_rgb565_tracking.py | 4 ++++ .../02-Color-Tracking/multi_color_blob_tracking.py | 4 ++++ .../02-Color-Tracking/multi_color_code_tracking.py | 4 ++++ .../02-Color-Tracking/single_color_code_tracking.py | 4 ++++ .../02-Color-Tracking/single_color_grayscale_blob_tracking.py | 4 ++++ .../02-Color-Tracking/single_color_rgb565_blob_tracking.py | 4 ++++ .../in_memory_advanced_frame_differencing.py | 4 ++++ .../in_memory_basic_frame_differencing.py | 4 ++++ .../03-Frame-Differencing/in_memory_shadow_removal.py | 4 ++++ .../03-Frame-Differencing/in_memory_structural_similarity.py | 4 ++++ .../on_disk_advanced_frame_differencing.py | 4 ++++ .../03-Frame-Differencing/on_disk_basic_frame_differencing.py | 4 ++++ .../03-Frame-Differencing/on_disk_shadow_removal.py | 4 ++++ .../03-Frame-Differencing/on_disk_structural_similarity.py | 4 ++++ .../00-TensorFlow/tf_image_classification.py | 4 ++++ .../03-Machine-Learning/00-TensorFlow/tf_object_detection.py | 4 ++++ .../03-Machine-Learning/01-ST-CubeAI/nn_stm32cubeai.py | 4 ++++ .../03-Machine-Learning/02-Haar-Cascade/face_detection.py | 4 ++++ .../03-Machine-Learning/02-Haar-Cascade/face_eye_detection.py | 4 ++++ .../03-Machine-Learning/02-Haar-Cascade/face_recognition.py | 4 ++++ .../03-Machine-Learning/02-Haar-Cascade/face_tracking.py | 4 ++++ .../03-Machine-Learning/02-Haar-Cascade/iris_detection.py | 4 ++++ scripts/examples/04-Barcodes/find_barcodes.py | 4 ++++ scripts/examples/04-Barcodes/find_datamatrices.py | 4 ++++ scripts/examples/04-Barcodes/find_datamatrices_w_lens_zoom.py | 4 ++++ scripts/examples/04-Barcodes/qrcodes_with_lens_corr.py | 4 ++++ scripts/examples/04-Barcodes/qrcodes_with_lens_zoom.py | 4 ++++ scripts/examples/05-Feature-Detection/edges.py | 4 ++++ scripts/examples/05-Feature-Detection/find_circles.py | 4 ++++ scripts/examples/05-Feature-Detection/find_line_segments.py | 4 ++++ scripts/examples/05-Feature-Detection/find_lines.py | 4 ++++ scripts/examples/05-Feature-Detection/find_rects.py | 4 ++++ scripts/examples/05-Feature-Detection/hog.py | 4 ++++ scripts/examples/05-Feature-Detection/keypoints.py | 4 ++++ scripts/examples/05-Feature-Detection/keypoints_save.py | 4 ++++ scripts/examples/05-Feature-Detection/lbp.py | 4 ++++ .../examples/05-Feature-Detection/linear_regression_fast.py | 4 ++++ .../examples/05-Feature-Detection/linear_regression_robust.py | 4 ++++ scripts/examples/05-Feature-Detection/selective_search.py | 4 ++++ scripts/examples/05-Feature-Detection/template_matching.py | 4 ++++ scripts/examples/06-April-Tags/find_apriltags.py | 4 ++++ scripts/examples/06-April-Tags/find_apriltags_3d_pose.py | 4 ++++ scripts/examples/06-April-Tags/find_apriltags_max_res.py | 4 ++++ scripts/examples/06-April-Tags/find_apriltags_w_lens_zoom.py | 4 ++++ scripts/examples/06-April-Tags/find_small_apriltags.py | 4 ++++ .../07-Interface-Library/00-Arduino/arduino_i2c_slave.py | 4 ++++ .../07-Interface-Library/00-Arduino/arduino_spi_slave.py | 4 ++++ .../examples/07-Interface-Library/00-Arduino/arduino_uart.py | 4 ++++ .../01-Pixy-Emulation/apriltags_pixy_i2c_emulation.py | 4 ++++ .../01-Pixy-Emulation/apriltags_pixy_spi_emulation.py | 4 ++++ .../01-Pixy-Emulation/apriltags_pixy_uart_emulation.py | 4 ++++ .../01-Pixy-Emulation/pixy_i2c_emulation.py | 4 ++++ .../01-Pixy-Emulation/pixy_spi_emulation.py | 4 ++++ .../01-Pixy-Emulation/pixy_uart_emulation.py | 4 ++++ .../02-MAVLink/mavlink_apriltags_landing_target.py | 4 ++++ .../07-Interface-Library/02-MAVLink/mavlink_opticalflow.py | 4 ++++ .../07-Interface-Library/03-Modbus/modbus_apriltag.py | 4 ++++ .../07-Interface-Library/03-Modbus/modbus_rtu_slave.py | 4 ++++ ...age_transfer_jpg_as_the_remote_device_for_your_computer.py | 4 ++++ ...er_jpg_streaming_as_the_remote_device_for_your_computer.py | 4 ++++ .../image_transfer_raw_as_the_controller_device.py | 4 ++++ .../image_transfer_raw_as_the_remote_device.py | 4 ++++ .../popular_features_as_the_controller_device.py | 4 ++++ .../popular_features_as_the_remote_device.py | 4 ++++ .../08-RPC-Library/36-Web-Servers/rtsp_video_server_lan.py | 4 ++++ .../08-RPC-Library/36-Web-Servers/rtsp_video_server_wlan.py | 4 ++++ .../09-OpenMV-Boards/00-Board-Control/adc_read_ext_channel.py | 4 ++++ .../09-OpenMV-Boards/00-Board-Control/adc_read_int_channel.py | 4 ++++ scripts/examples/09-OpenMV-Boards/00-Board-Control/can.py | 4 ++++ .../09-OpenMV-Boards/00-Board-Control/cpufreq_scaling.py | 4 ++++ .../examples/09-OpenMV-Boards/00-Board-Control/dac_write.py | 4 ++++ .../09-OpenMV-Boards/00-Board-Control/dac_write_timed.py | 4 ++++ .../examples/09-OpenMV-Boards/00-Board-Control/i2c_control.py | 4 ++++ .../examples/09-OpenMV-Boards/00-Board-Control/led_control.py | 4 ++++ .../examples/09-OpenMV-Boards/00-Board-Control/pin_control.py | 4 ++++ .../examples/09-OpenMV-Boards/00-Board-Control/pwm_control.py | 4 ++++ scripts/examples/09-OpenMV-Boards/00-Board-Control/rtc.py | 4 ++++ .../09-OpenMV-Boards/00-Board-Control/servo_control.py | 4 ++++ .../examples/09-OpenMV-Boards/00-Board-Control/spi_control.py | 4 ++++ .../09-OpenMV-Boards/00-Board-Control/timer_control.py | 4 ++++ .../examples/09-OpenMV-Boards/00-Board-Control/timer_tests.py | 4 ++++ .../09-OpenMV-Boards/00-Board-Control/uart_control.py | 4 ++++ scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_hid.py | 4 ++++ scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_vcp.py | 4 ++++ .../09-OpenMV-Boards/00-Board-Control/vsync_gpio_output.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/connect.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/dns.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/fw_update.py | 4 ++++ .../examples/09-OpenMV-Boards/01-WiFi-Shield/http_client.py | 4 ++++ .../09-OpenMV-Boards/01-WiFi-Shield/http_client_ssl.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_post.py | 4 ++++ .../09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer.py | 4 ++++ .../09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_ap.py | 4 ++++ .../09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_fir.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_pub.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_sub.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/ntp.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/scan.py | 4 ++++ scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/static_ip.py | 4 ++++ scripts/examples/09-OpenMV-Boards/02-LCD-Shield/lcd.py | 4 ++++ scripts/examples/09-OpenMV-Boards/03-Servo-Shield/main.py | 4 ++++ scripts/examples/09-OpenMV-Boards/03-Servo-Shield/pca9685.py | 4 ++++ scripts/examples/09-OpenMV-Boards/03-Servo-Shield/servo.py | 4 ++++ .../09-OpenMV-Boards/04-Thermopile-Shield/thermal_camera.py | 4 ++++ .../09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay.py | 4 ++++ .../04-Thermopile-Shield/thermal_overlay_lcd.py | 4 ++++ scripts/examples/09-OpenMV-Boards/05-BLE-Shield/ble.py | 4 ++++ .../06-Motor-Shield/motor-shield-power-driver.py | 4 ++++ .../09-OpenMV-Boards/06-Motor-Shield/motor-shield-pwm.py | 4 ++++ scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor.py | 4 ++++ scripts/examples/09-OpenMV-Boards/06-Motor-Shield/stepper.py | 4 ++++ scripts/examples/09-OpenMV-Boards/07-IMU-Shield/imu_read.py | 4 ++++ .../09-OpenMV-Boards/08-Distance-Shield/distance_read.py | 4 ++++ scripts/examples/09-OpenMV-Boards/09-TV-Shield/tv.py | 4 ++++ scripts/examples/09-OpenMV-Boards/10-Light-Shield/light.py | 4 ++++ scripts/examples/09-OpenMV-Boards/11-Low-Power/deep_sleep.py | 4 ++++ .../examples/09-OpenMV-Boards/11-Low-Power/extint_wakeup.py | 4 ++++ .../examples/09-OpenMV-Boards/11-Low-Power/sensor_sleep.py | 4 ++++ scripts/examples/09-OpenMV-Boards/11-Low-Power/stop_mode.py | 4 ++++ scripts/examples/09-OpenMV-Boards/99-Tests/colorbar.py | 4 ++++ scripts/examples/09-OpenMV-Boards/99-Tests/fps.py | 4 ++++ scripts/examples/09-OpenMV-Boards/99-Tests/selftest.py | 4 ++++ scripts/examples/09-OpenMV-Boards/99-Tests/unittests.py | 4 ++++ scripts/examples/09-OpenMV-Boards/main.py | 4 ++++ .../Giga-H7/00-Board-Control/adc_read_ext_channel.py | 4 ++++ .../Giga-H7/00-Board-Control/adc_read_int_channel.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/can.py | 4 ++++ .../Giga-H7/00-Board-Control/cpufreq_scaling.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/i2c_scanner.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/led_control.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/pin_control.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/pwm_control.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/rtc.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/spi_control.py | 4 ++++ .../Giga-H7/00-Board-Control/timer_control.py | 4 ++++ .../Giga-H7/00-Board-Control/uart_control.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/usb_hid.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/00-Board-Control/usb_vcp.py | 4 ++++ .../Giga-H7/00-Board-Control/vsync_gpio_output.py | 4 ++++ .../examples/10-Arduino-Boards/Giga-H7/01-Display/display.py | 4 ++++ .../examples/10-Arduino-Boards/Giga-H7/02-Audio/audio_fft.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/02-Audio/micro_speech.py | 4 ++++ scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/connect.py | 4 ++++ scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/dns.py | 4 ++++ .../examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/03-WiFi/http_client_ssl.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/03-WiFi/mjpeg_streamer.py | 4 ++++ .../examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_pub.py | 4 ++++ .../examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_sub.py | 4 ++++ scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/ntp.py | 4 ++++ scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/scan.py | 4 ++++ .../examples/10-Arduino-Boards/Giga-H7/03-WiFi/static_ip.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_blinky.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_temperature.py | 4 ++++ .../Giga-H7/04-Bluetooth/temp_sensor_aioble.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/05-Low-Power/deep_sleep.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/05-Low-Power/extint_wakeup.py | 4 ++++ .../10-Arduino-Boards/Giga-H7/05-Low-Power/stop_mode.py | 4 ++++ .../Nano-33-BLE-Sense/00-Board-Control/i2c_scanner.py | 4 ++++ .../Nano-33-BLE-Sense/01-Sensors/apds9960/ambient.py | 4 ++++ .../Nano-33-BLE-Sense/01-Sensors/apds9960/gesture.py | 4 ++++ .../Nano-33-BLE-Sense/01-Sensors/apds9960/proximity.py | 4 ++++ .../10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/hts221.py | 4 ++++ .../10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/imu.py | 4 ++++ .../10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/lps22.py | 4 ++++ .../10-Arduino-Boards/Nano-33-BLE-Sense/02-Audio/audio_fft.py | 4 ++++ .../Nano-33-BLE-Sense/03-Bluetooth/ble_blinky.py | 4 ++++ .../Nano-33-BLE-Sense/03-Bluetooth/ble_scan.py | 4 ++++ .../Nano-33-BLE-Sense/03-Bluetooth/ble_temperature.py | 4 ++++ .../Nano-33-BLE-Sense/04-Thermal/thermal_camera.py | 4 ++++ .../Nano-RP2040/00-Board-Control/i2c_scanner.py | 4 ++++ .../Nano-RP2040/01-Sensors/lsm6dsox_basic.py | 4 ++++ .../10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_mlc.py | 4 ++++ .../10-Arduino-Boards/Nano-RP2040/03-Audio/audio_fft.py | 4 ++++ .../examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ap_mode.py | 4 ++++ .../10-Arduino-Boards/Nano-RP2040/03-WiFi/http_client.py | 4 ++++ scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ntp.py | 4 ++++ .../examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/scan.py | 4 ++++ .../10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_blinky.py | 4 ++++ .../Nano-RP2040/04-Bluetooth/ble_temperature.py | 4 ++++ .../Nano-RP2040/04-Bluetooth/temp_sensor_aioble.py | 4 ++++ .../Nano-RP2040/05-Thermal/thermal_camera.py | 4 ++++ .../Nicla-Vision/00-Board-Control/adc_read_ext_channel.py | 4 ++++ .../Nicla-Vision/00-Board-Control/adc_read_int_channel.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/00-Board-Control/can.py | 4 ++++ .../Nicla-Vision/00-Board-Control/cpufreq_scaling.py | 4 ++++ .../Nicla-Vision/00-Board-Control/i2c_control.py | 4 ++++ .../Nicla-Vision/00-Board-Control/led_control.py | 4 ++++ .../Nicla-Vision/00-Board-Control/pin_control.py | 4 ++++ .../Nicla-Vision/00-Board-Control/pwm_control.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/00-Board-Control/rtc.py | 4 ++++ .../Nicla-Vision/00-Board-Control/spi_control.py | 4 ++++ .../Nicla-Vision/00-Board-Control/timer_control.py | 4 ++++ .../Nicla-Vision/00-Board-Control/uart_control.py | 4 ++++ .../Nicla-Vision/00-Board-Control/usb_hid.py | 4 ++++ .../Nicla-Vision/00-Board-Control/usb_vcp.py | 4 ++++ .../Nicla-Vision/00-Board-Control/vsync_gpio_output.py | 4 ++++ .../Nicla-Vision/01-Sensors/lsm6dsox_basic.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_mlc.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/01-Sensors/vl53l1x_tof.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/02-Audio/audio_fft.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/02-Audio/micro_speech.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/03-WiFi/connect.py | 4 ++++ .../examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/dns.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client_ssl.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/03-WiFi/mjpeg_streamer.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_pub.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_sub.py | 4 ++++ .../examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/ntp.py | 4 ++++ .../examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/scan.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/03-WiFi/static_ip.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_blinky.py | 4 ++++ .../Nicla-Vision/04-Bluetooth/ble_temperature.py | 4 ++++ .../Nicla-Vision/04-Bluetooth/temp_sensor_aioble.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/05-Low-Power/deep_sleep.py | 4 ++++ .../Nicla-Vision/05-Low-Power/extint_wakeup.py | 4 ++++ .../10-Arduino-Boards/Nicla-Vision/05-Low-Power/stop_mode.py | 4 ++++ .../Portenta-H7/00-Board-Control/adc_read_ext_channel.py | 4 ++++ .../Portenta-H7/00-Board-Control/adc_read_int_channel.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/00-Board-Control/can.py | 4 ++++ .../Portenta-H7/00-Board-Control/cpufreq_scaling.py | 4 ++++ .../Portenta-H7/00-Board-Control/dac_write.py | 4 ++++ .../Portenta-H7/00-Board-Control/dac_write_timed.py | 4 ++++ .../Portenta-H7/00-Board-Control/i2c_control.py | 4 ++++ .../Portenta-H7/00-Board-Control/led_control.py | 4 ++++ .../Portenta-H7/00-Board-Control/pin_control.py | 4 ++++ .../Portenta-H7/00-Board-Control/pwm_control.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/00-Board-Control/rtc.py | 4 ++++ .../Portenta-H7/00-Board-Control/servo_control.py | 4 ++++ .../Portenta-H7/00-Board-Control/spi_control.py | 4 ++++ .../Portenta-H7/00-Board-Control/timer_control.py | 4 ++++ .../Portenta-H7/00-Board-Control/timer_tests.py | 4 ++++ .../Portenta-H7/00-Board-Control/uart_control.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_hid.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_vcp.py | 4 ++++ .../Portenta-H7/00-Board-Control/vsync_gpio_output.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/01-Audio/audio_fft.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/01-Audio/micro_speech.py | 4 ++++ .../examples/10-Arduino-Boards/Portenta-H7/02-WiFi/connect.py | 4 ++++ scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/dns.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/02-WiFi/http_client.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/02-WiFi/http_client_ssl.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/02-WiFi/mjpeg_streamer.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_pub.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_sub.py | 4 ++++ scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/ntp.py | 4 ++++ .../examples/10-Arduino-Boards/Portenta-H7/02-WiFi/scan.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/02-WiFi/static_ip.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_blinky.py | 4 ++++ .../Portenta-H7/03-Bluetooth/ble_temperature.py | 4 ++++ .../Portenta-H7/03-Bluetooth/temp_sensor_aioble.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/04-LoRa/lora-example.py | 4 ++++ .../Portenta-H7/05-Ethernet/eth_cable_test.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client.py | 4 ++++ .../Portenta-H7/05-Ethernet/http_client_ssl.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/05-Ethernet/peer_to_peer.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/06-Low-Power/deep_sleep.py | 4 ++++ .../Portenta-H7/06-Low-Power/extint_wakeup.py | 4 ++++ .../06-Low-Power/himax_wakeup_on_motion_detection.py | 4 ++++ .../Portenta-H7/06-Low-Power/sensor_sleep.py | 4 ++++ .../10-Arduino-Boards/Portenta-H7/06-Low-Power/stop_mode.py | 4 ++++ 370 files changed, 1480 insertions(+) diff --git a/scripts/examples/00-HelloWorld/blinky.py b/scripts/examples/00-HelloWorld/blinky.py index 3577f2f6e..4a9d93bc3 100644 --- a/scripts/examples/00-HelloWorld/blinky.py +++ b/scripts/examples/00-HelloWorld/blinky.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Blinky example import time diff --git a/scripts/examples/00-HelloWorld/helloworld.py b/scripts/examples/00-HelloWorld/helloworld.py index 1f24d87f9..ecc3d1929 100644 --- a/scripts/examples/00-HelloWorld/helloworld.py +++ b/scripts/examples/00-HelloWorld/helloworld.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Hello World Example # # Welcome to the OpenMV IDE! Click on the green run arrow button below to run the script! diff --git a/scripts/examples/01-Camera/00-Snapshot/emboss_snapshot.py b/scripts/examples/01-Camera/00-Snapshot/emboss_snapshot.py index 830f86b9b..47f0b056a 100644 --- a/scripts/examples/01-Camera/00-Snapshot/emboss_snapshot.py +++ b/scripts/examples/01-Camera/00-Snapshot/emboss_snapshot.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Emboss Snapshot Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/00-Snapshot/snapshot.py b/scripts/examples/01-Camera/00-Snapshot/snapshot.py index 49093626e..25864107b 100644 --- a/scripts/examples/01-Camera/00-Snapshot/snapshot.py +++ b/scripts/examples/01-Camera/00-Snapshot/snapshot.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Snapshot Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/00-Snapshot/snapshot_on_face_detection.py b/scripts/examples/01-Camera/00-Snapshot/snapshot_on_face_detection.py index 39d5e19b3..19b255e70 100644 --- a/scripts/examples/01-Camera/00-Snapshot/snapshot_on_face_detection.py +++ b/scripts/examples/01-Camera/00-Snapshot/snapshot_on_face_detection.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Snapshot on Face Detection Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/00-Snapshot/snapshot_on_movement.py b/scripts/examples/01-Camera/00-Snapshot/snapshot_on_movement.py index fdd30826c..e07cccc27 100644 --- a/scripts/examples/01-Camera/00-Snapshot/snapshot_on_movement.py +++ b/scripts/examples/01-Camera/00-Snapshot/snapshot_on_movement.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Snapshot on Movement Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/00-Snapshot/time_lapse_photos.py b/scripts/examples/01-Camera/00-Snapshot/time_lapse_photos.py index f89e951c0..88edf3584 100644 --- a/scripts/examples/01-Camera/00-Snapshot/time_lapse_photos.py +++ b/scripts/examples/01-Camera/00-Snapshot/time_lapse_photos.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Time Lapse Photos (Credit nedhorning) # # This example shows off how to take time lapse photos using your OpenMV diff --git a/scripts/examples/01-Camera/01-Video-Recording/gif.py b/scripts/examples/01-Camera/01-Video-Recording/gif.py index 3ba272910..424e7ef1f 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/gif.py +++ b/scripts/examples/01-Camera/01-Video-Recording/gif.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # GIF Video Recording Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/01-Video-Recording/gif_on_face_detection.py b/scripts/examples/01-Camera/01-Video-Recording/gif_on_face_detection.py index 248ecfbd9..576d9af22 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/gif_on_face_detection.py +++ b/scripts/examples/01-Camera/01-Video-Recording/gif_on_face_detection.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # GIF Video Recording on Face Detection Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/01-Video-Recording/gif_on_movement.py b/scripts/examples/01-Camera/01-Video-Recording/gif_on_movement.py index 9abdde078..b36374f1e 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/gif_on_movement.py +++ b/scripts/examples/01-Camera/01-Video-Recording/gif_on_movement.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # GIF Video Recording on Movement Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/01-Video-Recording/imageio_memory.py b/scripts/examples/01-Camera/01-Video-Recording/imageio_memory.py index a8511c31c..79bd9a9a7 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/imageio_memory.py +++ b/scripts/examples/01-Camera/01-Video-Recording/imageio_memory.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Memory Stream I/O Example # # This example shows how to use the ImageIO stream to record frames in memory and play them back. diff --git a/scripts/examples/01-Camera/01-Video-Recording/imageio_read.py b/scripts/examples/01-Camera/01-Video-Recording/imageio_read.py index 3b4d96313..8d6e841bf 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/imageio_read.py +++ b/scripts/examples/01-Camera/01-Video-Recording/imageio_read.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Reader Example # # NOTE: This example requires an SD card. diff --git a/scripts/examples/01-Camera/01-Video-Recording/imageio_write.py b/scripts/examples/01-Camera/01-Video-Recording/imageio_write.py index f9e797b64..5440d51ea 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/imageio_write.py +++ b/scripts/examples/01-Camera/01-Video-Recording/imageio_write.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Writer Example # # NOTE: This example requires an SD card. diff --git a/scripts/examples/01-Camera/01-Video-Recording/mjpeg.py b/scripts/examples/01-Camera/01-Video-Recording/mjpeg.py index dc1e0c388..3d033fabe 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/mjpeg.py +++ b/scripts/examples/01-Camera/01-Video-Recording/mjpeg.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Video Recording Example # # Note: You will need an SD card to run this demo. diff --git a/scripts/examples/01-Camera/01-Video-Recording/mjpeg_on_face_detection.py b/scripts/examples/01-Camera/01-Video-Recording/mjpeg_on_face_detection.py index eb586d484..313a97667 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/mjpeg_on_face_detection.py +++ b/scripts/examples/01-Camera/01-Video-Recording/mjpeg_on_face_detection.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Video Recording on Face Detection Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/01-Video-Recording/mjpeg_on_movement.py b/scripts/examples/01-Camera/01-Video-Recording/mjpeg_on_movement.py index ff4269e0a..a3940808d 100644 --- a/scripts/examples/01-Camera/01-Video-Recording/mjpeg_on_movement.py +++ b/scripts/examples/01-Camera/01-Video-Recording/mjpeg_on_movement.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Video Recording on Movement Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/01-Camera/02-Optical-Flow/absolute-rotation-scale.py b/scripts/examples/01-Camera/02-Optical-Flow/absolute-rotation-scale.py index 352084698..2a95896d4 100644 --- a/scripts/examples/01-Camera/02-Optical-Flow/absolute-rotation-scale.py +++ b/scripts/examples/01-Camera/02-Optical-Flow/absolute-rotation-scale.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Absolute Optical Flow Rotation/Scale # # This example shows off using your OpenMV Cam to measure diff --git a/scripts/examples/01-Camera/02-Optical-Flow/absolute-translation.py b/scripts/examples/01-Camera/02-Optical-Flow/absolute-translation.py index b83b74bc0..ac3a7bbfe 100644 --- a/scripts/examples/01-Camera/02-Optical-Flow/absolute-translation.py +++ b/scripts/examples/01-Camera/02-Optical-Flow/absolute-translation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Absolute Optical Flow Translation # # This example shows off using your OpenMV Cam to measure translation diff --git a/scripts/examples/01-Camera/02-Optical-Flow/differential-rotation-scale.py b/scripts/examples/01-Camera/02-Optical-Flow/differential-rotation-scale.py index bfe632d2f..613dd25a6 100644 --- a/scripts/examples/01-Camera/02-Optical-Flow/differential-rotation-scale.py +++ b/scripts/examples/01-Camera/02-Optical-Flow/differential-rotation-scale.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Differential Optical Flow Rotation/Scale # # This example shows off using your OpenMV Cam to measure diff --git a/scripts/examples/01-Camera/02-Optical-Flow/differential-translation.py b/scripts/examples/01-Camera/02-Optical-Flow/differential-translation.py index 1f27de745..5bed84f3f 100644 --- a/scripts/examples/01-Camera/02-Optical-Flow/differential-translation.py +++ b/scripts/examples/01-Camera/02-Optical-Flow/differential-translation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Differential Optical Flow Translation # # This example shows off using your OpenMV Cam to measure translation diff --git a/scripts/examples/01-Camera/02-Optical-Flow/image-patches-absolute-rotation-scale.py b/scripts/examples/01-Camera/02-Optical-Flow/image-patches-absolute-rotation-scale.py index 8ce1e2a89..0d31e2711 100644 --- a/scripts/examples/01-Camera/02-Optical-Flow/image-patches-absolute-rotation-scale.py +++ b/scripts/examples/01-Camera/02-Optical-Flow/image-patches-absolute-rotation-scale.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Patches Absolute Optical Flow Rotation/Scale # # This example shows off using your OpenMV Cam to measure diff --git a/scripts/examples/01-Camera/02-Optical-Flow/image-patches-absolute-translation.py b/scripts/examples/01-Camera/02-Optical-Flow/image-patches-absolute-translation.py index 262ae2eb1..ccc53d009 100644 --- a/scripts/examples/01-Camera/02-Optical-Flow/image-patches-absolute-translation.py +++ b/scripts/examples/01-Camera/02-Optical-Flow/image-patches-absolute-translation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Patches Absolute Optical Flow Translation # # This example shows off using your OpenMV Cam to measure translation diff --git a/scripts/examples/01-Camera/02-Optical-Flow/image-patches-differential-rotation-scale.py b/scripts/examples/01-Camera/02-Optical-Flow/image-patches-differential-rotation-scale.py index 00721a29a..0a96e287b 100644 --- a/scripts/examples/01-Camera/02-Optical-Flow/image-patches-differential-rotation-scale.py +++ b/scripts/examples/01-Camera/02-Optical-Flow/image-patches-differential-rotation-scale.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Patches Differential Optical Flow Rotation/Scale # # This example shows off using your OpenMV Cam to measure diff --git a/scripts/examples/01-Camera/02-Optical-Flow/image-patches-differential-translation.py b/scripts/examples/01-Camera/02-Optical-Flow/image-patches-differential-translation.py index 0515c7e31..819de19a7 100644 --- a/scripts/examples/01-Camera/02-Optical-Flow/image-patches-differential-translation.py +++ b/scripts/examples/01-Camera/02-Optical-Flow/image-patches-differential-translation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Patches Differential Optical Flow Translation # # This example shows off using your OpenMV Cam to measure translation diff --git a/scripts/examples/01-Camera/03-Event-Cameras/frogeye2020.py b/scripts/examples/01-Camera/03-Event-Cameras/frogeye2020.py index a3774e4f6..a45df89c2 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/frogeye2020.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/frogeye2020.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This example shows off using the frogeye2020 event camera. # # The frogeye2020 is a 320x240 event camera. There are two bits per pixel which show no motion, diff --git a/scripts/examples/01-Camera/03-Event-Cameras/frogeye2020_with_tracking.py b/scripts/examples/01-Camera/03-Event-Cameras/frogeye2020_with_tracking.py index 700ba9b8d..36e330e91 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/frogeye2020_with_tracking.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/frogeye2020_with_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This example shows off using the frogeye2020 event camera with tracking. # # The frogeye2020 is a 320x240 event camera. There are two bits per pixel which show no motion, diff --git a/scripts/examples/01-Camera/04-Global-Shutter/high_fps.py b/scripts/examples/01-Camera/04-Global-Shutter/high_fps.py index feeabd2a5..42bf81cbc 100644 --- a/scripts/examples/01-Camera/04-Global-Shutter/high_fps.py +++ b/scripts/examples/01-Camera/04-Global-Shutter/high_fps.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # High FPS Example # # This example shows off how to make the frame rate of the global shutter camera extremely diff --git a/scripts/examples/01-Camera/04-Global-Shutter/triggered_mode.py b/scripts/examples/01-Camera/04-Global-Shutter/triggered_mode.py index d9baaaee0..8d8232eee 100644 --- a/scripts/examples/01-Camera/04-Global-Shutter/triggered_mode.py +++ b/scripts/examples/01-Camera/04-Global-Shutter/triggered_mode.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Global Shutter Triggered Mode Example # # This example shows off setting the global shutter camera into triggered mode. In triggered mode diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_high_temp.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_high_temp.py index 6c0c98a8d..be1c12151 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_high_temp.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_high_temp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Lepton Get Object High Temp Example # # This example shows off how to get an object's temperature using color tracking. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp.py index 5e8dee284..accc4a330 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Lepton Get Object Temp Example # # This example shows off how to get an object's temperature using color tracking. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color.py index a17aa56ab..2640b12b4 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Lepton Get Object Temp Example # # This example shows off how to get an object's temperature using color tracking. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color_lcd.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color_lcd.py index 52c975a37..9699925c1 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color_lcd.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_color_lcd.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Lepton Get Object Temp Example # # This example shows off how to get an object's temperature using color tracking. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_lcd.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_lcd.py index 0ac960d1f..10bffd49f 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_lcd.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_get_object_temp_lcd.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Lepton Get Object Temp Example # # This example shows off how to get an object's temperature using color tracking. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking.py index 34200e937..20a8351e4 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color Grayscale Blob Tracking Example # # This example shows off single color grayscale tracking using the OpenMV Cam using the FLIR LEPTON. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking_lcd.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking_lcd.py index 6471a1a5f..dde84cef3 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking_lcd.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_grayscale_color_tracking_lcd.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color Grayscale Blob Tracking Example # # This example shows off single color grayscale tracking using the OpenMV Cam using the FLIR LEPTON. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking.py index 0f05df1ad..43c00d20a 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color RGB565 Blob Tracking Example # # This example shows off single color RGB565 tracking using the OpenMV Cam using the FLIR LEPTON. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking_lcd.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking_lcd.py index 156f74c61..40a230ffd 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking_lcd.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_hotspot_rgb565_color_tracking_lcd.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color RGB565 Blob Tracking Example # # This example shows off single color RGB565 tracking using the OpenMV Cam using the FLIR LEPTON. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_target_temp_hotspot_grayscale_color_tracking.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_target_temp_hotspot_grayscale_color_tracking.py index a8c529765..5c4b64c76 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_target_temp_hotspot_grayscale_color_tracking.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_target_temp_hotspot_grayscale_color_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color Grayscale Blob Tracking Example # # This example shows off single color grayscale tracking using the OpenMV Cam using the FLIR LEPTON. diff --git a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_target_temp_hotspot_rgb565_color_tracking.py b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_target_temp_hotspot_rgb565_color_tracking.py index 4256f3070..cc9f6c9b1 100644 --- a/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_target_temp_hotspot_rgb565_color_tracking.py +++ b/scripts/examples/01-Camera/05-FLIR-Lepton/lepton_target_temp_hotspot_rgb565_color_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color RGB565 Blob Tracking Example # # This example shows off single color RGB565 tracking using the OpenMV Cam using the FLIR LEPTON. diff --git a/scripts/examples/01-Camera/06-Time-of-Flight/tof_camera.py b/scripts/examples/01-Camera/06-Time-of-Flight/tof_camera.py index 347972885..66a9b8a89 100644 --- a/scripts/examples/01-Camera/06-Time-of-Flight/tof_camera.py +++ b/scripts/examples/01-Camera/06-Time-of-Flight/tof_camera.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Time of Flight overlay Demo # # This example shows off how to overlay a depth map onto diff --git a/scripts/examples/01-Camera/06-Time-of-Flight/tof_overlay.py b/scripts/examples/01-Camera/06-Time-of-Flight/tof_overlay.py index 61d1cfd8c..1592c761c 100644 --- a/scripts/examples/01-Camera/06-Time-of-Flight/tof_overlay.py +++ b/scripts/examples/01-Camera/06-Time-of-Flight/tof_overlay.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Time of Flight overlay Demo # # This example shows off how to overlay a depth map onto diff --git a/scripts/examples/01-Camera/07-Sensor-Control/sensor_auto_gain_control.py b/scripts/examples/01-Camera/07-Sensor-Control/sensor_auto_gain_control.py index 4da9a9fdf..67951cb9c 100644 --- a/scripts/examples/01-Camera/07-Sensor-Control/sensor_auto_gain_control.py +++ b/scripts/examples/01-Camera/07-Sensor-Control/sensor_auto_gain_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Auto Gain Control # # This example shows off how to control the sensor's gain diff --git a/scripts/examples/01-Camera/07-Sensor-Control/sensor_exposure_control.py b/scripts/examples/01-Camera/07-Sensor-Control/sensor_exposure_control.py index 662950105..c9284dc15 100644 --- a/scripts/examples/01-Camera/07-Sensor-Control/sensor_exposure_control.py +++ b/scripts/examples/01-Camera/07-Sensor-Control/sensor_exposure_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Exposure Control # # This example shows off how to cotnrol the camera sensor's diff --git a/scripts/examples/01-Camera/07-Sensor-Control/sensor_horizontal_mirror.py b/scripts/examples/01-Camera/07-Sensor-Control/sensor_horizontal_mirror.py index 208d242a2..8e1747113 100644 --- a/scripts/examples/01-Camera/07-Sensor-Control/sensor_horizontal_mirror.py +++ b/scripts/examples/01-Camera/07-Sensor-Control/sensor_horizontal_mirror.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Horizontal Mirror Example # # This example shows off horizontally mirroring the image in hardware diff --git a/scripts/examples/01-Camera/07-Sensor-Control/sensor_manual_gain_control.py b/scripts/examples/01-Camera/07-Sensor-Control/sensor_manual_gain_control.py index 92aa08c00..58b7ce7c0 100644 --- a/scripts/examples/01-Camera/07-Sensor-Control/sensor_manual_gain_control.py +++ b/scripts/examples/01-Camera/07-Sensor-Control/sensor_manual_gain_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Manual Gain Control # # This example shows off how to control the camera sensor's diff --git a/scripts/examples/01-Camera/07-Sensor-Control/sensor_manual_whitebal_control.py b/scripts/examples/01-Camera/07-Sensor-Control/sensor_manual_whitebal_control.py index 598ce9d70..6aedf2d70 100644 --- a/scripts/examples/01-Camera/07-Sensor-Control/sensor_manual_whitebal_control.py +++ b/scripts/examples/01-Camera/07-Sensor-Control/sensor_manual_whitebal_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Manual Whitebal Control # # This example shows off how to control the camera sensor's diff --git a/scripts/examples/01-Camera/07-Sensor-Control/sensor_save_and_restore_settings.py b/scripts/examples/01-Camera/07-Sensor-Control/sensor_save_and_restore_settings.py index 5c3fce1e7..81c16742e 100644 --- a/scripts/examples/01-Camera/07-Sensor-Control/sensor_save_and_restore_settings.py +++ b/scripts/examples/01-Camera/07-Sensor-Control/sensor_save_and_restore_settings.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Save and Restore Settings # # This example shows off how to save and then restore camera settings diff --git a/scripts/examples/01-Camera/07-Sensor-Control/sensor_vertical_flip.py b/scripts/examples/01-Camera/07-Sensor-Control/sensor_vertical_flip.py index 84c15b5a4..54e4fd0fa 100644 --- a/scripts/examples/01-Camera/07-Sensor-Control/sensor_vertical_flip.py +++ b/scripts/examples/01-Camera/07-Sensor-Control/sensor_vertical_flip.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Vertical Flip Example # # This example shows off vertically flipping the image in hardware diff --git a/scripts/examples/01-Camera/08-Readout-Control/100_fps_ir_led_tracking.py b/scripts/examples/01-Camera/08-Readout-Control/100_fps_ir_led_tracking.py index 5fdd5c37d..426e44555 100644 --- a/scripts/examples/01-Camera/08-Readout-Control/100_fps_ir_led_tracking.py +++ b/scripts/examples/01-Camera/08-Readout-Control/100_fps_ir_led_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This example shows off how to use readout window control to readout a small part of a camera # sensor pixel array at a very high speed and move that readout window around. diff --git a/scripts/examples/01-Camera/08-Readout-Control/apriltag_tracking.py b/scripts/examples/01-Camera/08-Readout-Control/apriltag_tracking.py index a6fc52707..304ac51ca 100644 --- a/scripts/examples/01-Camera/08-Readout-Control/apriltag_tracking.py +++ b/scripts/examples/01-Camera/08-Readout-Control/apriltag_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This example shows off how to use readout window control to readout a small part of a camera # sensor pixel array at a very high speed and move that readout window around. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/arrow_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/arrow_drawing.py index f09efb9a4..2943d7554 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/arrow_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/arrow_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Arrow Drawing # # This example shows off drawing arrows on the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/circle_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/circle_drawing.py index 2365fd3ed..33452a99b 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/circle_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/circle_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Circle Drawing # # This example shows off drawing circles on the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/copy2fb.py b/scripts/examples/02-Image-Processing/00-Drawing/copy2fb.py index fee673ee8..a45d4a21e 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/copy2fb.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/copy2fb.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Copy image to framebuffer. # # This example shows how to load and display an image. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/cross_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/cross_drawing.py index d3865a745..c755b3c03 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/cross_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/cross_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Cross Drawing # # This example shows off drawing crosses on the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/ellipse_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/ellipse_drawing.py index f0273625a..ee4a83936 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/ellipse_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/ellipse_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Ellipse Drawing # # This example shows off drawing ellipses on the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/flood_fill.py b/scripts/examples/02-Image-Processing/00-Drawing/flood_fill.py index 50957bda2..281ac90dd 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/flood_fill.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/flood_fill.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Flood Fill # # This example shows off flood filling areas in the image. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing.py index d3cc3a442..a76a6fbbe 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Draw Image Example # # This example shows off how to draw images in the frame buffer. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_advanced.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_advanced.py index 321ce54d7..fc2f59e9a 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_advanced.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_advanced.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Draw Image Testing script with bounce # # Exercise draw image with many different values for testing diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_blending_test.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_blending_test.py index da610805e..e409d946c 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_blending_test.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_blending_test.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Drawing Alpha Blending Test # # This script tests the performance and quality of the draw_image() diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_blending_with_color_table_test.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_blending_with_color_table_test.py index 6a3afdb43..eeff4610b 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_blending_with_color_table_test.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_blending_with_color_table_test.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Drawing Color Table with Alpha Blending Test # # This script tests the performance and quality of the draw_image() diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_table_test.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_table_test.py index 55a8bbc54..5a5429f42 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_table_test.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_table_test.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Drawing Alpha Table Test # # This script tests the performance and quality of the draw_image() diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_table_with_color_table_test.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_table_with_color_table_test.py index d04d224dc..9538c4dbc 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_table_with_color_table_test.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_alpha_table_with_color_table_test.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Drawing Color Table with Alpha Table Test # # This script tests the performance and quality of the draw_image() diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_scale_down_test.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_scale_down_test.py index 28e453c1e..ccbfbc03a 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_scale_down_test.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_scale_down_test.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Scaling Down Drawing Test # # This script tests the performance and quality of the draw_image() diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_scale_up_test.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_scale_up_test.py index 21686e05d..ae3e6d0fc 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_scale_up_test.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_scale_up_test.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Scaling Up Drawing Test # # This script tests the performance and quality of the draw_image() diff --git a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_with_custom_palette.py b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_with_custom_palette.py index c0be29819..e6aa90e5e 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_with_custom_palette.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/image_drawing_with_custom_palette.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Draw Image Example with custom color palette # # This example shows off how to draw images in the frame buffer with a custom generated color palette. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/keypoints_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/keypoints_drawing.py index e6ac7e368..deeca9726 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/keypoints_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/keypoints_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Keypoints Drawing # # This example shows off drawing keypoints on the OpenMV Cam. Usually you call draw_keypoints() diff --git a/scripts/examples/02-Image-Processing/00-Drawing/line_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/line_drawing.py index ec9335960..113f9fe71 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/line_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/line_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Line Drawing # # This example shows off drawing lines on the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/rectangle_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/rectangle_drawing.py index f69edd6da..94398a988 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/rectangle_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/rectangle_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Rectangle Drawing # # This example shows off drawing rectangles on the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/00-Drawing/text_drawing.py b/scripts/examples/02-Image-Processing/00-Drawing/text_drawing.py index c76f2004e..d88efe911 100644 --- a/scripts/examples/02-Image-Processing/00-Drawing/text_drawing.py +++ b/scripts/examples/02-Image-Processing/00-Drawing/text_drawing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Text Drawing # # This example shows off drawing text on the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/adaptive_histogram_equalization.py b/scripts/examples/02-Image-Processing/01-Image-Filters/adaptive_histogram_equalization.py index 055fabdcb..1b31ab9ff 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/adaptive_histogram_equalization.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/adaptive_histogram_equalization.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Adaptive Histogram Equalization # # This example shows off how to use adaptive histogram equalization to improve diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/blur_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/blur_filter.py index c838e9df8..461dbb6b3 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/blur_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/blur_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Blur Filter Example # # This example shows off using the gaussian filter to blur images. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/cartoon_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/cartoon_filter.py index b24594591..6899ca996 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/cartoon_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/cartoon_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Cartoon Filter # # This example shows off a simple cartoon filter on images. The cartoon diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/color_bilateral_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/color_bilateral_filter.py index 929f3d915..78fe87781 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/color_bilateral_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/color_bilateral_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Color Bilteral Filter Example # # This example shows off using the bilateral filter on color images. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/color_binary_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/color_binary_filter.py index 00c92877a..56e3f524e 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/color_binary_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/color_binary_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Color Binary Filter Example # # This script shows off the binary image filter. You may pass binary any diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/color_light_removal.py b/scripts/examples/02-Image-Processing/01-Image-Filters/color_light_removal.py index b24a6d3e6..bc858f33a 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/color_light_removal.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/color_light_removal.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Color Light Removal # # This example shows off how to remove bright lights from the image. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/edge_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/edge_filter.py index 03bd8367e..de10da785 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/edge_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/edge_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Edge Filter Example # # This example shows off using the laplacian filter to detect edges. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/erode_and_dilate.py b/scripts/examples/02-Image-Processing/01-Image-Filters/erode_and_dilate.py index 69b9b5f28..74936750c 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/erode_and_dilate.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/erode_and_dilate.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Erode and Dilate Example # # This example shows off the erode and dilate functions which you can run on diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/gamma_correction.py b/scripts/examples/02-Image-Processing/01-Image-Filters/gamma_correction.py index bfb8e6427..92a0aa1ee 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/gamma_correction.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/gamma_correction.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Gamma Correction # # This example shows off gamma correction to make the image brighter. The gamma diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_bilateral_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_bilateral_filter.py index bf69bce4c..a2b7ed610 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_bilateral_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_bilateral_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Grayscale Bilteral Filter Example # # This example shows off using the bilateral filter on grayscale images. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_binary_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_binary_filter.py index 230f0fd2a..ae51c96b9 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_binary_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_binary_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Grayscale Binary Filter Example # # This script shows off the binary image filter. You may pass binary any diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_light_removal.py b/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_light_removal.py index 8f58f46ae..3cbc5b14a 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_light_removal.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/grayscale_light_removal.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Grayscale Light Removal # # This example shows off how to remove bright lights from the image. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/histogram_equalization.py b/scripts/examples/02-Image-Processing/01-Image-Filters/histogram_equalization.py index 171ed4659..ea66b0cc7 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/histogram_equalization.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/histogram_equalization.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Histogram Equalization # # This example shows off how to use histogram equalization to improve diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/kernel_filters.py b/scripts/examples/02-Image-Processing/01-Image-Filters/kernel_filters.py index 44e6747f5..35fd71368 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/kernel_filters.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/kernel_filters.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Kernel Filtering Example # # This example shows off how to use a generic kernel filter. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/lens_correction.py b/scripts/examples/02-Image-Processing/01-Image-Filters/lens_correction.py index 6be918c3f..9125ba4b6 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/lens_correction.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/lens_correction.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Lens Correction # # This example shows off how to use the lens correction method to fix lens diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/linear_polar.py b/scripts/examples/02-Image-Processing/01-Image-Filters/linear_polar.py index 4a290742a..99d8e2e77 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/linear_polar.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/linear_polar.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Linear Polar Mapping Example # # This example shows off re-projecting the image using a linear polar diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/log_polar.py b/scripts/examples/02-Image-Processing/01-Image-Filters/log_polar.py index 1321614d8..a95031413 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/log_polar.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/log_polar.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Log Polar Mapping Example # # This example shows off re-projecting the image using a log polar diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/mean_adaptive_threshold_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/mean_adaptive_threshold_filter.py index 04ef2120b..3a4730df7 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/mean_adaptive_threshold_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/mean_adaptive_threshold_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Mean Adaptive Threshold Filter Example # # This example shows off mean filtering with adaptive thresholding. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/mean_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/mean_filter.py index b2059c6eb..b83fb3226 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/mean_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/mean_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Mean Filter Example # # This example shows off mean filtering. Mean filtering is your standard average diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/median_adaptive_threshold_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/median_adaptive_threshold_filter.py index ff24cfb2f..b4b33b501 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/median_adaptive_threshold_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/median_adaptive_threshold_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Median Adaptive Threshold Filter Example # # This example shows off median filtering with adaptive thresholding. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/median_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/median_filter.py index 4c91f5c09..5ad41c622 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/median_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/median_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Median Filter Example # # This example shows off median filtering. Median filtering replaces every pixel diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/midpoint_adaptive_threshold_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/midpoint_adaptive_threshold_filter.py index aa05e34af..1ee3fdfe6 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/midpoint_adaptive_threshold_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/midpoint_adaptive_threshold_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Midpoint Adaptive Threshold Filter Example # # This example shows off midpoint filtering with adaptive thresholding. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/midpoint_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/midpoint_filter.py index fadeda5b6..402e53083 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/midpoint_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/midpoint_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Midpoint Filter Example # # This example shows off midpoint filtering. Midpoint filtering replaces each diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/mode_adaptive_threshold_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/mode_adaptive_threshold_filter.py index ae07d8484..9449b270f 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/mode_adaptive_threshold_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/mode_adaptive_threshold_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Mode Adaptive Threshold Filter Example # # This example shows off mode filtering with adaptive thresholding. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/mode_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/mode_filter.py index 6280764e1..986f82aa7 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/mode_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/mode_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Mode Filter Example # # This example shows off mode filtering. Mode filtering is a highly non-linear diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/negative.py b/scripts/examples/02-Image-Processing/01-Image-Filters/negative.py index 1156f3d02..61a47ebc0 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/negative.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/negative.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Negative Example # # This example shows off negating the image. This is not a particularly diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/perspective_and_rotation_correction.py b/scripts/examples/02-Image-Processing/01-Image-Filters/perspective_and_rotation_correction.py index 728dce67d..f06cff209 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/perspective_and_rotation_correction.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/perspective_and_rotation_correction.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Rotation Correction # # This example shows off how to use the rotation_corr() to both correct for diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/perspective_correction.py b/scripts/examples/02-Image-Processing/01-Image-Filters/perspective_correction.py index d20760267..ec5173503 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/perspective_correction.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/perspective_correction.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Perspective Correction # # This example shows off how to use the rotation_corr() to fix perspective diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/rotation_correction.py b/scripts/examples/02-Image-Processing/01-Image-Filters/rotation_correction.py index 1bd7a52ff..6220b2353 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/rotation_correction.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/rotation_correction.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Rotation Correction # # This example shows off how to use the rotation_corr() to play with the scene diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/sharpen_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/sharpen_filter.py index 36300f5ba..b01624b32 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/sharpen_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/sharpen_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sharpen Filter Example # # This example shows off using the laplacian filter to sharpen images. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/ulab.py b/scripts/examples/02-Image-Processing/01-Image-Filters/ulab.py index cc02c19ab..cb5cf467b 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/ulab.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/ulab.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Ulab is a numpy-like module for micropython, meant to simplify and speed up common # mathematical operations on arrays. This basic example shows mean/std on an image. # diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/unsharp_filter.py b/scripts/examples/02-Image-Processing/01-Image-Filters/unsharp_filter.py index d05195531..f16c55837 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/unsharp_filter.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/unsharp_filter.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Unsharp Filter Example # # This example shows off using the gaussian filter to unsharp mask filter images. diff --git a/scripts/examples/02-Image-Processing/01-Image-Filters/vflip_hmirror_transpose.py b/scripts/examples/02-Image-Processing/01-Image-Filters/vflip_hmirror_transpose.py index fd2c084df..49c3a3f70 100644 --- a/scripts/examples/02-Image-Processing/01-Image-Filters/vflip_hmirror_transpose.py +++ b/scripts/examples/02-Image-Processing/01-Image-Filters/vflip_hmirror_transpose.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Vertical Flip - Horizontal Mirror - Transpose # # This example shows off how to vertically flip, horizontally mirror, or diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/automatic_grayscale_color_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/automatic_grayscale_color_tracking.py index a9ec34a66..cac1fc74d 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/automatic_grayscale_color_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/automatic_grayscale_color_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Automatic Grayscale Color Tracking Example # # This example shows off single color automatic grayscale color tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/automatic_rgb565_color_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/automatic_rgb565_color_tracking.py index 1b1b2da12..312e62455 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/automatic_rgb565_color_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/automatic_rgb565_color_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Automatic RGB565 Color Tracking Example # # This example shows off single color automatic RGB565 color tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/black_grayscale_line_following.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/black_grayscale_line_following.py index 706354b02..1d8817a16 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/black_grayscale_line_following.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/black_grayscale_line_following.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Black Grayscale Line Following Example # # Making a line following robot requires a lot of effort. This example script diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/image_histogram_info.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/image_histogram_info.py index 257b7d43c..888ae4327 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/image_histogram_info.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/image_histogram_info.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Histogram Info Example # # This script computes the histogram of the image and prints it out. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/image_statistics_info.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/image_statistics_info.py index c914f279c..6079c18db 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/image_statistics_info.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/image_statistics_info.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Statistics Info Example # # This script computes the statistics of the image and prints it out. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/ir_beacon_grayscale_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/ir_beacon_grayscale_tracking.py index d30c0cb00..d02b1b05d 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/ir_beacon_grayscale_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/ir_beacon_grayscale_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # IR Beacon Grayscale Tracking Example # # This example shows off IR beacon Grayscale tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/ir_beacon_rgb565_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/ir_beacon_rgb565_tracking.py index 79a48eadf..bbf29c117 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/ir_beacon_rgb565_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/ir_beacon_rgb565_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # IR Beacon RGB565 Tracking Example # # This example shows off IR beacon RGB565 tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/multi_color_blob_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/multi_color_blob_tracking.py index 02719ca79..acd23105c 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/multi_color_blob_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/multi_color_blob_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Multi Color Blob Tracking Example # # This example shows off multi color blob tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/multi_color_code_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/multi_color_code_tracking.py index 11eaf22da..ae04f8c31 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/multi_color_code_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/multi_color_code_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Multi Color Code Tracking Example # # This example shows off multi color code tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_code_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_code_tracking.py index a6e68bbce..82b0b5f80 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_code_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_code_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color Code Tracking Example # # This example shows off single color code tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_grayscale_blob_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_grayscale_blob_tracking.py index e9e347945..4f2df24e3 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_grayscale_blob_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_grayscale_blob_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color Grayscale Blob Tracking Example # # This example shows off single color grayscale tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_rgb565_blob_tracking.py b/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_rgb565_blob_tracking.py index 503f88045..ad46e979d 100644 --- a/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_rgb565_blob_tracking.py +++ b/scripts/examples/02-Image-Processing/02-Color-Tracking/single_color_rgb565_blob_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Single Color RGB565 Blob Tracking Example # # This example shows off single color RGB565 tracking using the OpenMV Cam. diff --git a/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_advanced_frame_differencing.py b/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_advanced_frame_differencing.py index c3679f67f..1994822f2 100644 --- a/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_advanced_frame_differencing.py +++ b/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_advanced_frame_differencing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Advanced Frame Differencing Example # # This example demonstrates using frame differencing with your OpenMV Cam. This diff --git a/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_basic_frame_differencing.py b/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_basic_frame_differencing.py index b91bcb85b..4c1c01ded 100644 --- a/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_basic_frame_differencing.py +++ b/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_basic_frame_differencing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # In Memory Basic Frame Differencing Example # # This example demonstrates using frame differencing with your OpenMV Cam. It's diff --git a/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_shadow_removal.py b/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_shadow_removal.py index 59234069a..f301a1353 100644 --- a/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_shadow_removal.py +++ b/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_shadow_removal.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # In Memory Shadow Removal w/ Frame Differencing Example # # This example demonstrates using frame differencing with your OpenMV Cam using diff --git a/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_structural_similarity.py b/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_structural_similarity.py index 013c9e0dd..931b783e6 100644 --- a/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_structural_similarity.py +++ b/scripts/examples/02-Image-Processing/03-Frame-Differencing/in_memory_structural_similarity.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Structural Similarity (SSIM) Example # # This example shows off how to use the SSIM algorithm on your OpenMV Cam diff --git a/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_advanced_frame_differencing.py b/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_advanced_frame_differencing.py index 6536b5cf6..6ce05d64e 100644 --- a/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_advanced_frame_differencing.py +++ b/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_advanced_frame_differencing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Advanced Frame Differencing Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_basic_frame_differencing.py b/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_basic_frame_differencing.py index 576f5263f..50e10d61f 100644 --- a/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_basic_frame_differencing.py +++ b/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_basic_frame_differencing.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Basic Frame Differencing Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_shadow_removal.py b/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_shadow_removal.py index 45b3d5ede..8d100cf8b 100644 --- a/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_shadow_removal.py +++ b/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_shadow_removal.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # In Memory Shadow Removal w/ Frame Differencing Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_structural_similarity.py b/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_structural_similarity.py index 1d9d0432d..19d6c3b1f 100644 --- a/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_structural_similarity.py +++ b/scripts/examples/02-Image-Processing/03-Frame-Differencing/on_disk_structural_similarity.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Structural Similarity (SSIM) Example # # Note: You will need an SD card to run this example. diff --git a/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_image_classification.py b/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_image_classification.py index 00653728e..d38133cbc 100644 --- a/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_image_classification.py +++ b/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_image_classification.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # TensorFlow Lite Mobilenet V1 Example # # Google's Mobilenet V1 detects 1000 classes of objects diff --git a/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_object_detection.py b/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_object_detection.py index ad0977a7c..47bf7d4e2 100644 --- a/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_object_detection.py +++ b/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_object_detection.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # TensorFlow Lite Object Detection Example # # This examples uses the builtin FOMO model to detect faces. diff --git a/scripts/examples/03-Machine-Learning/01-ST-CubeAI/nn_stm32cubeai.py b/scripts/examples/03-Machine-Learning/01-ST-CubeAI/nn_stm32cubeai.py index 808866464..dc5c2d340 100644 --- a/scripts/examples/03-Machine-Learning/01-ST-CubeAI/nn_stm32cubeai.py +++ b/scripts/examples/03-Machine-Learning/01-ST-CubeAI/nn_stm32cubeai.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # STM32 CUBE.AI on OpenMV MNIST Example # See https://github.com/openmv/openmv/blob/master/src/stm32cubeai/README.MD diff --git a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_detection.py b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_detection.py index bf59ebb4f..8f40efb56 100644 --- a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_detection.py +++ b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_detection.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Face Detection Example # # This example shows off the built-in face detection feature of the OpenMV Cam. diff --git a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_eye_detection.py b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_eye_detection.py index a75d841d0..377436a96 100644 --- a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_eye_detection.py +++ b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_eye_detection.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Face Eye Detection Example # # This script uses the built-in frontalface detector to find a face and then diff --git a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_recognition.py b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_recognition.py index 18f46e9cb..a0b4ccef4 100644 --- a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_recognition.py +++ b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_recognition.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Face recognition with LBP descriptors. # See Timo Ahonen's "Face Recognition with Local Binary Patterns". # diff --git a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_tracking.py b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_tracking.py index 3590a369d..223c7a5d8 100644 --- a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_tracking.py +++ b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/face_tracking.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Face Tracking Example # # This example shows off using the keypoints feature of your OpenMV Cam to track diff --git a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/iris_detection.py b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/iris_detection.py index febf6f27c..eeaa96071 100644 --- a/scripts/examples/03-Machine-Learning/02-Haar-Cascade/iris_detection.py +++ b/scripts/examples/03-Machine-Learning/02-Haar-Cascade/iris_detection.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Iris Detection 2 Example # # This example shows how to find the eye gaze (pupil detection) after finding diff --git a/scripts/examples/04-Barcodes/find_barcodes.py b/scripts/examples/04-Barcodes/find_barcodes.py index 822babfbd..b9e9645fa 100644 --- a/scripts/examples/04-Barcodes/find_barcodes.py +++ b/scripts/examples/04-Barcodes/find_barcodes.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Barcode Example # # This example shows off how easy it is to detect bar codes using the diff --git a/scripts/examples/04-Barcodes/find_datamatrices.py b/scripts/examples/04-Barcodes/find_datamatrices.py index 039ca75ed..d189b4572 100644 --- a/scripts/examples/04-Barcodes/find_datamatrices.py +++ b/scripts/examples/04-Barcodes/find_datamatrices.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Find Data Matrices Example # # This example shows off how easy it is to detect data matrices using the diff --git a/scripts/examples/04-Barcodes/find_datamatrices_w_lens_zoom.py b/scripts/examples/04-Barcodes/find_datamatrices_w_lens_zoom.py index 4c4806dba..4ea83cab2 100644 --- a/scripts/examples/04-Barcodes/find_datamatrices_w_lens_zoom.py +++ b/scripts/examples/04-Barcodes/find_datamatrices_w_lens_zoom.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Find Data Matrices w/ Lens Zoom Example # # This example shows off how easy it is to detect data matrices using the diff --git a/scripts/examples/04-Barcodes/qrcodes_with_lens_corr.py b/scripts/examples/04-Barcodes/qrcodes_with_lens_corr.py index 6fe6bde7a..c0755ffb7 100644 --- a/scripts/examples/04-Barcodes/qrcodes_with_lens_corr.py +++ b/scripts/examples/04-Barcodes/qrcodes_with_lens_corr.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # QRCode Example # # This example shows the power of the OpenMV Cam to detect QR Codes diff --git a/scripts/examples/04-Barcodes/qrcodes_with_lens_zoom.py b/scripts/examples/04-Barcodes/qrcodes_with_lens_zoom.py index f5b657cf5..194ac112f 100644 --- a/scripts/examples/04-Barcodes/qrcodes_with_lens_zoom.py +++ b/scripts/examples/04-Barcodes/qrcodes_with_lens_zoom.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # QRCode Example # # This example shows the power of the OpenMV Cam to detect QR Codes diff --git a/scripts/examples/05-Feature-Detection/edges.py b/scripts/examples/05-Feature-Detection/edges.py index 2c1d5515c..07b963c6d 100644 --- a/scripts/examples/05-Feature-Detection/edges.py +++ b/scripts/examples/05-Feature-Detection/edges.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Edge detection with Canny: # # This example demonstrates the Canny edge detector. diff --git a/scripts/examples/05-Feature-Detection/find_circles.py b/scripts/examples/05-Feature-Detection/find_circles.py index a29dc5a5d..88d7e5ac6 100644 --- a/scripts/examples/05-Feature-Detection/find_circles.py +++ b/scripts/examples/05-Feature-Detection/find_circles.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Find Circles Example # # This example shows off how to find circles in the image using the Hough diff --git a/scripts/examples/05-Feature-Detection/find_line_segments.py b/scripts/examples/05-Feature-Detection/find_line_segments.py index 4e42f738a..70674e19a 100644 --- a/scripts/examples/05-Feature-Detection/find_line_segments.py +++ b/scripts/examples/05-Feature-Detection/find_line_segments.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Find Line Segments Example # # This example shows off how to find line segments in the image. For each line object diff --git a/scripts/examples/05-Feature-Detection/find_lines.py b/scripts/examples/05-Feature-Detection/find_lines.py index 6ea5fe16e..2addb4b06 100644 --- a/scripts/examples/05-Feature-Detection/find_lines.py +++ b/scripts/examples/05-Feature-Detection/find_lines.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Find Lines Example # # This example shows off how to find lines in the image. For each line object diff --git a/scripts/examples/05-Feature-Detection/find_rects.py b/scripts/examples/05-Feature-Detection/find_rects.py index ab29cfe9d..62c480722 100644 --- a/scripts/examples/05-Feature-Detection/find_rects.py +++ b/scripts/examples/05-Feature-Detection/find_rects.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Find Rects Example # # This example shows off how to find rectangles in the image using the quad threshold diff --git a/scripts/examples/05-Feature-Detection/hog.py b/scripts/examples/05-Feature-Detection/hog.py index 6170e0a7c..1df67b245 100644 --- a/scripts/examples/05-Feature-Detection/hog.py +++ b/scripts/examples/05-Feature-Detection/hog.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Histogram of Oriented Gradients (HoG) Example # # This example demonstrates HoG visualization. diff --git a/scripts/examples/05-Feature-Detection/keypoints.py b/scripts/examples/05-Feature-Detection/keypoints.py index 083536f46..f7fca7b32 100644 --- a/scripts/examples/05-Feature-Detection/keypoints.py +++ b/scripts/examples/05-Feature-Detection/keypoints.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Object tracking with keypoints example. # Show the camera an object and then run the script. A set of keypoints will be extracted # once and then tracked in the following frames. If you want a new set of keypoints re-run diff --git a/scripts/examples/05-Feature-Detection/keypoints_save.py b/scripts/examples/05-Feature-Detection/keypoints_save.py index 1263a8ec6..203ba7469 100644 --- a/scripts/examples/05-Feature-Detection/keypoints_save.py +++ b/scripts/examples/05-Feature-Detection/keypoints_save.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Keypoints descriptor example. # This example shows how to save a keypoints descriptor to file. Show the camera an object # and then run the script. The script will extract and save a keypoints descriptor and the image. diff --git a/scripts/examples/05-Feature-Detection/lbp.py b/scripts/examples/05-Feature-Detection/lbp.py index 983c96228..590b6fd37 100644 --- a/scripts/examples/05-Feature-Detection/lbp.py +++ b/scripts/examples/05-Feature-Detection/lbp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Local Binary Patterns (LBP) Example # # This example shows off how to use the local binary pattern feature descriptor diff --git a/scripts/examples/05-Feature-Detection/linear_regression_fast.py b/scripts/examples/05-Feature-Detection/linear_regression_fast.py index 3c46be0e4..8958b5ced 100644 --- a/scripts/examples/05-Feature-Detection/linear_regression_fast.py +++ b/scripts/examples/05-Feature-Detection/linear_regression_fast.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Fast Linear Regression Example # # This example shows off how to use the get_regression() method on your OpenMV Cam diff --git a/scripts/examples/05-Feature-Detection/linear_regression_robust.py b/scripts/examples/05-Feature-Detection/linear_regression_robust.py index ac5492ce4..37e9fea06 100644 --- a/scripts/examples/05-Feature-Detection/linear_regression_robust.py +++ b/scripts/examples/05-Feature-Detection/linear_regression_robust.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Robust Linear Regression Example # # This example shows off how to use the get_regression() method on your OpenMV Cam diff --git a/scripts/examples/05-Feature-Detection/selective_search.py b/scripts/examples/05-Feature-Detection/selective_search.py index 0ac1e3353..8176df2b7 100644 --- a/scripts/examples/05-Feature-Detection/selective_search.py +++ b/scripts/examples/05-Feature-Detection/selective_search.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Selective Search Example import sensor diff --git a/scripts/examples/05-Feature-Detection/template_matching.py b/scripts/examples/05-Feature-Detection/template_matching.py index 7432acb96..e521868ca 100644 --- a/scripts/examples/05-Feature-Detection/template_matching.py +++ b/scripts/examples/05-Feature-Detection/template_matching.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Template Matching Example - Normalized Cross Correlation (NCC) # # This example shows off how to use the NCC feature of your OpenMV Cam to match diff --git a/scripts/examples/06-April-Tags/find_apriltags.py b/scripts/examples/06-April-Tags/find_apriltags.py index 9ffb9ebb8..fa2772210 100644 --- a/scripts/examples/06-April-Tags/find_apriltags.py +++ b/scripts/examples/06-April-Tags/find_apriltags.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # AprilTags Example # # This example shows the power of the OpenMV Cam to detect April Tags diff --git a/scripts/examples/06-April-Tags/find_apriltags_3d_pose.py b/scripts/examples/06-April-Tags/find_apriltags_3d_pose.py index ea34cc2da..d6a3149c0 100644 --- a/scripts/examples/06-April-Tags/find_apriltags_3d_pose.py +++ b/scripts/examples/06-April-Tags/find_apriltags_3d_pose.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # AprilTags Example # # This example shows the power of the OpenMV Cam to detect April Tags diff --git a/scripts/examples/06-April-Tags/find_apriltags_max_res.py b/scripts/examples/06-April-Tags/find_apriltags_max_res.py index 184b4d08b..56671e5f8 100644 --- a/scripts/examples/06-April-Tags/find_apriltags_max_res.py +++ b/scripts/examples/06-April-Tags/find_apriltags_max_res.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # AprilTags Max Res Example # # This example shows the power of the OpenMV Cam to detect April Tags diff --git a/scripts/examples/06-April-Tags/find_apriltags_w_lens_zoom.py b/scripts/examples/06-April-Tags/find_apriltags_w_lens_zoom.py index 6de5089fa..bb3c89890 100644 --- a/scripts/examples/06-April-Tags/find_apriltags_w_lens_zoom.py +++ b/scripts/examples/06-April-Tags/find_apriltags_w_lens_zoom.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # AprilTags Example # # This example shows the power of the OpenMV Cam to detect April Tags diff --git a/scripts/examples/06-April-Tags/find_small_apriltags.py b/scripts/examples/06-April-Tags/find_small_apriltags.py index 1ecd09436..684b8a945 100644 --- a/scripts/examples/06-April-Tags/find_small_apriltags.py +++ b/scripts/examples/06-April-Tags/find_small_apriltags.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Find Small Apriltags # # This script shows off how to use blob tracking as a pre-filter to diff --git a/scripts/examples/07-Interface-Library/00-Arduino/arduino_i2c_slave.py b/scripts/examples/07-Interface-Library/00-Arduino/arduino_i2c_slave.py index b3fc775b5..5957c5b6c 100644 --- a/scripts/examples/07-Interface-Library/00-Arduino/arduino_i2c_slave.py +++ b/scripts/examples/07-Interface-Library/00-Arduino/arduino_i2c_slave.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # I2C with the Arduino as the master device and the OpenMV Cam as the slave. # # Please wire up your OpenMV Cam to your Arduino like this: diff --git a/scripts/examples/07-Interface-Library/00-Arduino/arduino_spi_slave.py b/scripts/examples/07-Interface-Library/00-Arduino/arduino_spi_slave.py index 0a847b670..e05c2f07c 100644 --- a/scripts/examples/07-Interface-Library/00-Arduino/arduino_spi_slave.py +++ b/scripts/examples/07-Interface-Library/00-Arduino/arduino_spi_slave.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # SPI with the Arduino as the master device and the OpenMV Cam as the slave. # # Please wire up your OpenMV Cam to your Arduino like this: diff --git a/scripts/examples/07-Interface-Library/00-Arduino/arduino_uart.py b/scripts/examples/07-Interface-Library/00-Arduino/arduino_uart.py index 60ba4163c..dce7148c6 100644 --- a/scripts/examples/07-Interface-Library/00-Arduino/arduino_uart.py +++ b/scripts/examples/07-Interface-Library/00-Arduino/arduino_uart.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Basic UART communications between OpenMV and Arduino Uno. # 1) Wire up your OpenMV Cam to your Arduino Uno like this: diff --git a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_i2c_emulation.py b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_i2c_emulation.py index 89e298f6e..6291dc63d 100644 --- a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_i2c_emulation.py +++ b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_i2c_emulation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # AprilTags Pixy I2C Emulation Script # # This script allows your OpenMV Cam to transmit AprilTag detection data like diff --git a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_spi_emulation.py b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_spi_emulation.py index 951f9c919..bec10a66a 100644 --- a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_spi_emulation.py +++ b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_spi_emulation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # AprilTags Pixy SPI Emulation Script # # This script allows your OpenMV Cam to transmit AprilTag detection data like diff --git a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_uart_emulation.py b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_uart_emulation.py index f39fa52fe..d0e406da3 100644 --- a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_uart_emulation.py +++ b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/apriltags_pixy_uart_emulation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # AprilTags Pixy UART Emulation Script # # This script allows your OpenMV Cam to transmit AprilTag detection data like diff --git a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_i2c_emulation.py b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_i2c_emulation.py index 04440c37b..138572e66 100644 --- a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_i2c_emulation.py +++ b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_i2c_emulation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Pixy I2C Emulation Script # # This script allows your OpenMV Cam to emulate the Pixy (CMUcam5) in I2C mode. diff --git a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_spi_emulation.py b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_spi_emulation.py index 1b359dac0..ff92c5c5e 100644 --- a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_spi_emulation.py +++ b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_spi_emulation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Pixy SPI Emulation Script # # This script allows your OpenMV Cam to emulate the Pixy (CMUcam5) in SPI mode. diff --git a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_uart_emulation.py b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_uart_emulation.py index 7a2fe9910..5cda71f94 100644 --- a/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_uart_emulation.py +++ b/scripts/examples/07-Interface-Library/01-Pixy-Emulation/pixy_uart_emulation.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Pixy UART Emulation Script # # This script allows your OpenMV Cam to emulate the Pixy (CMUcam5) in UART mode. diff --git a/scripts/examples/07-Interface-Library/02-MAVLink/mavlink_apriltags_landing_target.py b/scripts/examples/07-Interface-Library/02-MAVLink/mavlink_apriltags_landing_target.py index 90f256f59..d59a4a9f0 100644 --- a/scripts/examples/07-Interface-Library/02-MAVLink/mavlink_apriltags_landing_target.py +++ b/scripts/examples/07-Interface-Library/02-MAVLink/mavlink_apriltags_landing_target.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MAVLink AprilTags Landing Target Script. # # This script sends out AprilTag detections using the MAVLink protocol to diff --git a/scripts/examples/07-Interface-Library/02-MAVLink/mavlink_opticalflow.py b/scripts/examples/07-Interface-Library/02-MAVLink/mavlink_opticalflow.py index ae602e8a3..73902bb7f 100644 --- a/scripts/examples/07-Interface-Library/02-MAVLink/mavlink_opticalflow.py +++ b/scripts/examples/07-Interface-Library/02-MAVLink/mavlink_opticalflow.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MAVLink OpticalFlow Script. # # This script sends out OpticalFlow detections using the MAVLink protocol to diff --git a/scripts/examples/07-Interface-Library/03-Modbus/modbus_apriltag.py b/scripts/examples/07-Interface-Library/03-Modbus/modbus_apriltag.py index d972ec2e6..0591743bc 100644 --- a/scripts/examples/07-Interface-Library/03-Modbus/modbus_apriltag.py +++ b/scripts/examples/07-Interface-Library/03-Modbus/modbus_apriltag.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import sensor import time from machine import UART diff --git a/scripts/examples/07-Interface-Library/03-Modbus/modbus_rtu_slave.py b/scripts/examples/07-Interface-Library/03-Modbus/modbus_rtu_slave.py index 569738800..a47462ca9 100644 --- a/scripts/examples/07-Interface-Library/03-Modbus/modbus_rtu_slave.py +++ b/scripts/examples/07-Interface-Library/03-Modbus/modbus_rtu_slave.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import time from machine import UART from modbus import ModbusRTU diff --git a/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_jpg_as_the_remote_device_for_your_computer.py b/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_jpg_as_the_remote_device_for_your_computer.py index 4d75d1d05..23829d9a1 100644 --- a/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_jpg_as_the_remote_device_for_your_computer.py +++ b/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_jpg_as_the_remote_device_for_your_computer.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Transfer - As The Remote Device # # This script is meant to talk to the "image_transfer_jpg_as_the_controller_device.py" on your computer. diff --git a/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_jpg_streaming_as_the_remote_device_for_your_computer.py b/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_jpg_streaming_as_the_remote_device_for_your_computer.py index 8b1210fe5..88e522a9b 100644 --- a/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_jpg_streaming_as_the_remote_device_for_your_computer.py +++ b/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_jpg_streaming_as_the_remote_device_for_your_computer.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Transfer - As The Remote Device # # This script is meant to talk to the "image_transfer_jpg_streaming_as_the_controller_device.py" on your computer. diff --git a/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_raw_as_the_controller_device.py b/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_raw_as_the_controller_device.py index 192aa465a..15faa7ac6 100644 --- a/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_raw_as_the_controller_device.py +++ b/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_raw_as_the_controller_device.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Transfer - As The Controller Device # # This script is made to pair with another OpenMV Cam running "image_transfer_raw_as_the_remote_device.py" diff --git a/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_raw_as_the_remote_device.py b/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_raw_as_the_remote_device.py index fcca01536..6dbae0d1c 100644 --- a/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_raw_as_the_remote_device.py +++ b/scripts/examples/08-RPC-Library/34-Remote-Control/image_transfer_raw_as_the_remote_device.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Image Transfer - As The Remote Device # # This script is made to pair with another OpenMV Cam running "image_transfer_raw_as_the_controller_device.py" diff --git a/scripts/examples/08-RPC-Library/34-Remote-Control/popular_features_as_the_controller_device.py b/scripts/examples/08-RPC-Library/34-Remote-Control/popular_features_as_the_controller_device.py index 71d4cc954..7aec9b5d7 100644 --- a/scripts/examples/08-RPC-Library/34-Remote-Control/popular_features_as_the_controller_device.py +++ b/scripts/examples/08-RPC-Library/34-Remote-Control/popular_features_as_the_controller_device.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Remote Control - As The Controller Device # # This script configures your OpenMV Cam to remotely control another OpenMV Cam using the RPC diff --git a/scripts/examples/08-RPC-Library/34-Remote-Control/popular_features_as_the_remote_device.py b/scripts/examples/08-RPC-Library/34-Remote-Control/popular_features_as_the_remote_device.py index 70747a851..22026ffb1 100644 --- a/scripts/examples/08-RPC-Library/34-Remote-Control/popular_features_as_the_remote_device.py +++ b/scripts/examples/08-RPC-Library/34-Remote-Control/popular_features_as_the_remote_device.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Remote Control - As The Remote Device # # This script configures your OpenMV Cam as a co-processor that can be remotely controlled by diff --git a/scripts/examples/08-RPC-Library/36-Web-Servers/rtsp_video_server_lan.py b/scripts/examples/08-RPC-Library/36-Web-Servers/rtsp_video_server_lan.py index 4872e5bcc..322430a46 100644 --- a/scripts/examples/08-RPC-Library/36-Web-Servers/rtsp_video_server_lan.py +++ b/scripts/examples/08-RPC-Library/36-Web-Servers/rtsp_video_server_lan.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # RTSP Video Server # # This example shows off how to stream video over RTSP with your OpenMV Cam. diff --git a/scripts/examples/08-RPC-Library/36-Web-Servers/rtsp_video_server_wlan.py b/scripts/examples/08-RPC-Library/36-Web-Servers/rtsp_video_server_wlan.py index bed57f777..f8ba3f895 100644 --- a/scripts/examples/08-RPC-Library/36-Web-Servers/rtsp_video_server_wlan.py +++ b/scripts/examples/08-RPC-Library/36-Web-Servers/rtsp_video_server_wlan.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # RTSP Video Server # # This example shows off how to stream video over RTSP with your OpenMV Cam. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/adc_read_ext_channel.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/adc_read_ext_channel.py index d487899c4..f5bb458b0 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/adc_read_ext_channel.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/adc_read_ext_channel.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ADC Read Example. # # This example shows how to use the ADC to read an analog pin. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/adc_read_int_channel.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/adc_read_int_channel.py index 0bf6fdae3..9f95c57ea 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/adc_read_int_channel.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/adc_read_int_channel.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ADC Internal Channels Example # # This example shows how to read internal ADC channels. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/can.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/can.py index e00bc1462..7e585e436 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/can.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/can.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # CAN Shield Example # # This example demonstrates CAN communications between two cameras. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/cpufreq_scaling.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/cpufreq_scaling.py index b2a650492..2514f2e6e 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/cpufreq_scaling.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/cpufreq_scaling.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # CPU frequency scaling example. # # This example shows how to use the cpufreq module to change the CPU frequency on the fly. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/dac_write.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/dac_write.py index 0ded38433..397391872 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/dac_write.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/dac_write.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # DAC Control Example # # This example shows how to use the DAC pin output onboard your OpenMV Cam. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/dac_write_timed.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/dac_write_timed.py index 8bcd61892..4f7ef76be 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/dac_write_timed.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/dac_write_timed.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # DAC Timed Write Example # # This example shows how to use the DAC pin output onboard your OpenMV Cam. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/i2c_control.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/i2c_control.py index dee72add6..42bcc574a 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/i2c_control.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/i2c_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # I2C Control # # This example shows how to use the i2c bus on your OpenMV Cam by dumping the diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/led_control.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/led_control.py index 3df3eb09b..90d6d509b 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/led_control.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/led_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LED Control Example # # This example shows how to control your OpenMV Cam's built-in LEDs. Use your diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/pin_control.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/pin_control.py index 9e39524d7..78087ffad 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/pin_control.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/pin_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Pin Control Example # # This example shows how to use the I/O pins in GPIO mode on your OpenMV Cam. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/pwm_control.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/pwm_control.py index 0e44a94a6..dc12c5831 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/pwm_control.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/pwm_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # PWM Control Example # # This example shows how to do PWM with your OpenMV Cam. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/rtc.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/rtc.py index f82bec7e7..645f874f5 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/rtc.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/rtc.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # RTC Example # # This example shows how to use the RTC. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/servo_control.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/servo_control.py index 095aeed36..4c3f014be 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/servo_control.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/servo_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Servo Control Example # # This example shows how to use your OpenMV Cam to control servos. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/spi_control.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/spi_control.py index 1ca9e737e..a388633bf 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/spi_control.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/spi_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # SPI Control # # This example shows how to use the SPI bus on your OpenMV Cam to directly diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/timer_control.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/timer_control.py index 5954c2f0f..f8dc1ab79 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/timer_control.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/timer_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Timer Control Example # # This example shows how to use a timer for callbacks. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/timer_tests.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/timer_tests.py index 025afb465..dda40f602 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/timer_tests.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/timer_tests.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Timer Test Example # # This example tests all the timers. diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/uart_control.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/uart_control.py index 334ac4208..28b546712 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/uart_control.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/uart_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # UART Control # # This example shows how to use the serial port on your OpenMV Cam. Attach pin diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_hid.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_hid.py index f1b77aba5..b6f89bdc0 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_hid.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_hid.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Making OpenMV Camera act as a Mouse using HID. # # First we need to create boot.py file to change the default USB mode (VCP+MSC). diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_vcp.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_vcp.py index 7c1c4fa53..60a4e4ad3 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_vcp.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/usb_vcp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # USB VCP example. # This example shows how to use the USB VCP class to send an image to PC on demand. # diff --git a/scripts/examples/09-OpenMV-Boards/00-Board-Control/vsync_gpio_output.py b/scripts/examples/09-OpenMV-Boards/00-Board-Control/vsync_gpio_output.py index 8d257ff94..784643787 100644 --- a/scripts/examples/09-OpenMV-Boards/00-Board-Control/vsync_gpio_output.py +++ b/scripts/examples/09-OpenMV-Boards/00-Board-Control/vsync_gpio_output.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # VSYNC GPIO output example. # # This example shows how to toggle a pin on VSYNC interrupt. diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/connect.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/connect.py index 3960afc8a..b4b26d9b4 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/connect.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/connect.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Connect Example # # This example shows how to connect your OpenMV Cam with a WiFi shield to the net. diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/dns.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/dns.py index a354ecc85..c1b19c9f8 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/dns.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/dns.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # DNS Example # # This example shows how to get the IP address for websites via DNS. diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/fw_update.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/fw_update.py index e145a092d..8fa2f9ce9 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/fw_update.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/fw_update.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # WINC Firmware Update Script. # # This script updates the ATWINC1500 WiFi module firmware. diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_client.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_client.py index 559ce1dc9..2d471fe62 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_client.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_client.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTP client example. import network diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_client_ssl.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_client_ssl.py index a040c3f02..64a9667b7 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_client_ssl.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_client_ssl.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTPS client example. import network diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_post.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_post.py index ae3ebdad3..c91af5878 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_post.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/http_post.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Post files with HTTP/Post urequests module example import network import urequests diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer.py index cfcd4f4b1..e6a000d3e 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Streaming # # This example shows off how to do MJPEG streaming to a FIREFOX webrowser diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_ap.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_ap.py index 29cab7161..0efb5aac5 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_ap.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_ap.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Streaming AP. # # This example shows off how to do MJPEG streaming in AccessPoint mode. diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_fir.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_fir.py index 100b42458..7fcfb1678 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_fir.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mjpeg_streamer_fir.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Streaming with FIR # # This example shows off how to do MJPEG streaming to a FIREFOX webrowser diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_pub.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_pub.py index 3893f20fe..34498cd01 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_pub.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_pub.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MQTT Example. # This example shows how to use the MQTT library to publish to a topic. # diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_sub.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_sub.py index 1118c71d9..b1cc2d9b6 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_sub.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/mqtt_sub.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MQTT Example. # This example shows how to use the MQTT library to subscribe to a topic. # diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/ntp.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/ntp.py index abf5b7cb8..df89c055e 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/ntp.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/ntp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/scan.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/scan.py index fc92fd9d4..6582753a2 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/scan.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/scan.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Scan Example # # This example shows how to scan for networks with the WiFi shield. diff --git a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/static_ip.py b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/static_ip.py index 987d4dce1..44ec4cb7f 100644 --- a/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/static_ip.py +++ b/scripts/examples/09-OpenMV-Boards/01-WiFi-Shield/static_ip.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example using static IP. # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/09-OpenMV-Boards/02-LCD-Shield/lcd.py b/scripts/examples/09-OpenMV-Boards/02-LCD-Shield/lcd.py index ef15da9d7..e572c0519 100644 --- a/scripts/examples/09-OpenMV-Boards/02-LCD-Shield/lcd.py +++ b/scripts/examples/09-OpenMV-Boards/02-LCD-Shield/lcd.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LCD Example # # Note: To run this example you will need a LCD Shield for your OpenMV Cam. diff --git a/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/main.py b/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/main.py index b3a9727f1..113b035fe 100644 --- a/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/main.py +++ b/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/main.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Servo Shield Example. # # This example demonstrates the servo shield. Please follow these steps: diff --git a/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/pca9685.py b/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/pca9685.py index a31ead605..56a6215fb 100644 --- a/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/pca9685.py +++ b/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/pca9685.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import utime import ustruct diff --git a/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/servo.py b/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/servo.py index 5a59ca0aa..678cf9e46 100644 --- a/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/servo.py +++ b/scripts/examples/09-OpenMV-Boards/03-Servo-Shield/servo.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import pca9685 import math diff --git a/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_camera.py b/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_camera.py index 5c03b5552..fc7c17227 100644 --- a/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_camera.py +++ b/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_camera.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Thermal Camera Demo # # This example shows off how to overlay a heatmap onto your OpenMV Cam's diff --git a/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay.py b/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay.py index 05105c2c9..1c2a8d858 100644 --- a/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay.py +++ b/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Thermal Overlay Demo # # This example shows off how to overlay a heatmap onto your OpenMV Cam's diff --git a/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay_lcd.py b/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay_lcd.py index ca0571d39..70e64b498 100644 --- a/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay_lcd.py +++ b/scripts/examples/09-OpenMV-Boards/04-Thermopile-Shield/thermal_overlay_lcd.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Thermal Overlay Demo # # This example shows off how to overlay a heatmap onto your OpenMV Cam's diff --git a/scripts/examples/09-OpenMV-Boards/05-BLE-Shield/ble.py b/scripts/examples/09-OpenMV-Boards/05-BLE-Shield/ble.py index 057c61e74..268f45696 100644 --- a/scripts/examples/09-OpenMV-Boards/05-BLE-Shield/ble.py +++ b/scripts/examples/09-OpenMV-Boards/05-BLE-Shield/ble.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ble.py - ASM001/ASM002 BLE Driver # # Note: You should copy this module to your OpenMV Cam's SD card or internal diff --git a/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor-shield-power-driver.py b/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor-shield-power-driver.py index 22ad02cde..79b2eab72 100644 --- a/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor-shield-power-driver.py +++ b/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor-shield-power-driver.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Motor Shield Power Driver Example # # This example shows off how to use your motor shield diff --git a/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor-shield-pwm.py b/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor-shield-pwm.py index 52a69f622..d9ce8d357 100644 --- a/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor-shield-pwm.py +++ b/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor-shield-pwm.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Motor Shield PWM Example # # This example shows off how to control the motor shield on your diff --git a/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor.py b/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor.py index 02a5af51e..7fbe7acfd 100644 --- a/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor.py +++ b/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/motor.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Motor Shield DC Motor Example # # This example shows off how to use your motor shield diff --git a/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/stepper.py b/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/stepper.py index 915484c53..c552c72d7 100644 --- a/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/stepper.py +++ b/scripts/examples/09-OpenMV-Boards/06-Motor-Shield/stepper.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Motor Shield Stepper Motor Example # # This example shows off how to use your motor shield diff --git a/scripts/examples/09-OpenMV-Boards/07-IMU-Shield/imu_read.py b/scripts/examples/09-OpenMV-Boards/07-IMU-Shield/imu_read.py index 5ce479170..a65d5d06e 100644 --- a/scripts/examples/09-OpenMV-Boards/07-IMU-Shield/imu_read.py +++ b/scripts/examples/09-OpenMV-Boards/07-IMU-Shield/imu_read.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from machine import I2C import time diff --git a/scripts/examples/09-OpenMV-Boards/08-Distance-Shield/distance_read.py b/scripts/examples/09-OpenMV-Boards/08-Distance-Shield/distance_read.py index 327e7b0d0..892ae6ec9 100644 --- a/scripts/examples/09-OpenMV-Boards/08-Distance-Shield/distance_read.py +++ b/scripts/examples/09-OpenMV-Boards/08-Distance-Shield/distance_read.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from machine import I2C from vl53l1x import VL53L1X import time diff --git a/scripts/examples/09-OpenMV-Boards/09-TV-Shield/tv.py b/scripts/examples/09-OpenMV-Boards/09-TV-Shield/tv.py index b0f9b941b..b4bf2e592 100644 --- a/scripts/examples/09-OpenMV-Boards/09-TV-Shield/tv.py +++ b/scripts/examples/09-OpenMV-Boards/09-TV-Shield/tv.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # TV Example # # Note: To run this example you will need a tv or wireless tv shield for your OpenMV Cam. diff --git a/scripts/examples/09-OpenMV-Boards/10-Light-Shield/light.py b/scripts/examples/09-OpenMV-Boards/10-Light-Shield/light.py index 068dbc30f..112ac6aed 100644 --- a/scripts/examples/09-OpenMV-Boards/10-Light-Shield/light.py +++ b/scripts/examples/09-OpenMV-Boards/10-Light-Shield/light.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import time from pyb import Pin, Timer diff --git a/scripts/examples/09-OpenMV-Boards/11-Low-Power/deep_sleep.py b/scripts/examples/09-OpenMV-Boards/11-Low-Power/deep_sleep.py index 975df38ba..9f6b9cb72 100644 --- a/scripts/examples/09-OpenMV-Boards/11-Low-Power/deep_sleep.py +++ b/scripts/examples/09-OpenMV-Boards/11-Low-Power/deep_sleep.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Deep Sleep Mode Example # This example demonstrates the low-power deep sleep mode plus sensor shutdown. # Note the camera will reset after wake-up from deep sleep. To find out if the cause of reset diff --git a/scripts/examples/09-OpenMV-Boards/11-Low-Power/extint_wakeup.py b/scripts/examples/09-OpenMV-Boards/11-Low-Power/extint_wakeup.py index 8a98522b8..e85170509 100644 --- a/scripts/examples/09-OpenMV-Boards/11-Low-Power/extint_wakeup.py +++ b/scripts/examples/09-OpenMV-Boards/11-Low-Power/extint_wakeup.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ExtInt Wake-Up from Stop Mode Example # This example demonstrates using external interrupts to wake up from low-power mode. diff --git a/scripts/examples/09-OpenMV-Boards/11-Low-Power/sensor_sleep.py b/scripts/examples/09-OpenMV-Boards/11-Low-Power/sensor_sleep.py index 512c2de46..b728c001b 100644 --- a/scripts/examples/09-OpenMV-Boards/11-Low-Power/sensor_sleep.py +++ b/scripts/examples/09-OpenMV-Boards/11-Low-Power/sensor_sleep.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Sleep Mode Example. # This example demonstrates the sensor sleep mode. The sleep mode saves around # 40mA when enabled and it's automatically cleared when calling sensor reset(). diff --git a/scripts/examples/09-OpenMV-Boards/11-Low-Power/stop_mode.py b/scripts/examples/09-OpenMV-Boards/11-Low-Power/stop_mode.py index 40b67a100..510306087 100644 --- a/scripts/examples/09-OpenMV-Boards/11-Low-Power/stop_mode.py +++ b/scripts/examples/09-OpenMV-Boards/11-Low-Power/stop_mode.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Stop Mode Example # This example demonstrates using the low-power Stop Mode. diff --git a/scripts/examples/09-OpenMV-Boards/99-Tests/colorbar.py b/scripts/examples/09-OpenMV-Boards/99-Tests/colorbar.py index 067806bfd..dd2a848fc 100644 --- a/scripts/examples/09-OpenMV-Boards/99-Tests/colorbar.py +++ b/scripts/examples/09-OpenMV-Boards/99-Tests/colorbar.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Colorbar Test Example # # This example is the color bar test run by each OpenMV Cam before being allowed diff --git a/scripts/examples/09-OpenMV-Boards/99-Tests/fps.py b/scripts/examples/09-OpenMV-Boards/99-Tests/fps.py index 5917c36c8..a29e87a5d 100644 --- a/scripts/examples/09-OpenMV-Boards/99-Tests/fps.py +++ b/scripts/examples/09-OpenMV-Boards/99-Tests/fps.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # FPS Test Script. import sensor import time diff --git a/scripts/examples/09-OpenMV-Boards/99-Tests/selftest.py b/scripts/examples/09-OpenMV-Boards/99-Tests/selftest.py index a356e0775..4b2c72701 100644 --- a/scripts/examples/09-OpenMV-Boards/99-Tests/selftest.py +++ b/scripts/examples/09-OpenMV-Boards/99-Tests/selftest.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Self Test Example # # This example shows how your OpenMV Cam tests itself before being allowed out diff --git a/scripts/examples/09-OpenMV-Boards/99-Tests/unittests.py b/scripts/examples/09-OpenMV-Boards/99-Tests/unittests.py index 31058e69f..7f0ffbb37 100644 --- a/scripts/examples/09-OpenMV-Boards/99-Tests/unittests.py +++ b/scripts/examples/09-OpenMV-Boards/99-Tests/unittests.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # OpenMV Unit Tests. # import os diff --git a/scripts/examples/09-OpenMV-Boards/main.py b/scripts/examples/09-OpenMV-Boards/main.py index 9de30e084..652fe9f15 100644 --- a/scripts/examples/09-OpenMV-Boards/main.py +++ b/scripts/examples/09-OpenMV-Boards/main.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Main Module Example # # When your OpenMV Cam is disconnected from your computer it will either run the diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/adc_read_ext_channel.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/adc_read_ext_channel.py index 4d49c9472..1dee53898 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/adc_read_ext_channel.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/adc_read_ext_channel.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ADC Read Example. # # This example shows how to use the ADC to read an analog pin. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/adc_read_int_channel.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/adc_read_int_channel.py index 50fdb4b12..32c954d07 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/adc_read_int_channel.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/adc_read_int_channel.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ADC Internal Channels Example # # This example shows how to read internal ADC channels. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/can.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/can.py index f5ab81a55..bafb0beec 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/can.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/can.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # CAN Example # # This example demonstrates CAN communications between two cameras. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/cpufreq_scaling.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/cpufreq_scaling.py index b2a650492..2514f2e6e 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/cpufreq_scaling.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/cpufreq_scaling.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # CPU frequency scaling example. # # This example shows how to use the cpufreq module to change the CPU frequency on the fly. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/i2c_scanner.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/i2c_scanner.py index 37a8a00ad..cf5726f04 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/i2c_scanner.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/i2c_scanner.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # I2C scanner examples # from machine import I2C diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/led_control.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/led_control.py index 9ed869c7b..07eebc382 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/led_control.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/led_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LED Control Example # # This example shows how to control the RGB LED. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/pin_control.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/pin_control.py index 67ff07a54..6ff96e0d2 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/pin_control.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/pin_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Pin Control Example # # This example shows how to use the I/O pins in GPIO mode. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/pwm_control.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/pwm_control.py index baa8b8926..922a8306c 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/pwm_control.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/pwm_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # PWM Control Example # # This example shows how to use PWM. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/rtc.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/rtc.py index 79bc2eba3..20573e828 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/rtc.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/rtc.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # RTC Example # # This example shows how to use the RTC. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/spi_control.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/spi_control.py index 3f543e1ac..83a502e29 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/spi_control.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/spi_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # SPI Control # # This example shows how to use the SPI bus to control the diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/timer_control.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/timer_control.py index 5954c2f0f..f8dc1ab79 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/timer_control.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/timer_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Timer Control Example # # This example shows how to use a timer for callbacks. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/uart_control.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/uart_control.py index 64162349d..5b7f3bc27 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/uart_control.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/uart_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # UART Control # # This example shows how to use the serial port on your OpenMV Cam. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/usb_hid.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/usb_hid.py index f1b77aba5..b6f89bdc0 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/usb_hid.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/usb_hid.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Making OpenMV Camera act as a Mouse using HID. # # First we need to create boot.py file to change the default USB mode (VCP+MSC). diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/usb_vcp.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/usb_vcp.py index 7c1c4fa53..60a4e4ad3 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/usb_vcp.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/usb_vcp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # USB VCP example. # This example shows how to use the USB VCP class to send an image to PC on demand. # diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/vsync_gpio_output.py b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/vsync_gpio_output.py index 727a0b663..ab3f33299 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/vsync_gpio_output.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/00-Board-Control/vsync_gpio_output.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # VSYNC GPIO output example. # # This example shows how to toggle a pin on VSYNC interrupt. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/01-Display/display.py b/scripts/examples/10-Arduino-Boards/Giga-H7/01-Display/display.py index e0caa3332..017f6b9d9 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/01-Display/display.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/01-Display/display.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LCD, touch panel and camera example. import sensor diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/02-Audio/audio_fft.py b/scripts/examples/10-Arduino-Boards/Giga-H7/02-Audio/audio_fft.py index 50c5e4fef..9f3ecd6c2 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/02-Audio/audio_fft.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/02-Audio/audio_fft.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import image import audio from ulab import numpy as np diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/02-Audio/micro_speech.py b/scripts/examples/10-Arduino-Boards/Giga-H7/02-Audio/micro_speech.py index 98931c103..62e9aa573 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/02-Audio/micro_speech.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/02-Audio/micro_speech.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MicroSpeech demo. # # Download the pre-trained Yes/No model from here: diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/connect.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/connect.py index 89dac8231..3dc503e53 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/connect.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/connect.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Connect Example # # This example shows how to connect your OpenMV Cam with a WiFi shield to the net. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/dns.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/dns.py index c4d27c5d4..3dada792c 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/dns.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/dns.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # DNS Example # # This example shows how to get the IP address for websites via DNS. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client.py index f444527ec..aab7b0c39 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTP client example. import network diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client_ssl.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client_ssl.py index 59c666bc9..57137bae1 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client_ssl.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/http_client_ssl.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTPS client example. import network import socket diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mjpeg_streamer.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mjpeg_streamer.py index 5b0344cc5..d09e9dc59 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mjpeg_streamer.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mjpeg_streamer.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Streaming # # This example shows off how to do MJPEG streaming to a FIREFOX webrowser diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_pub.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_pub.py index b32ff0dce..2d484b1a7 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_pub.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_pub.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MQTT Example. # This example shows how to use the MQTT library to publish to a topic. # diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_sub.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_sub.py index 4fb3645c6..91fd0bad9 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_sub.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/mqtt_sub.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MQTT Example. # This example shows how to use the MQTT library to subscribe to a topic. # diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/ntp.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/ntp.py index 37a16ffc0..8546b8ff9 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/ntp.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/ntp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/scan.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/scan.py index a566be764..6cadbaa4f 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/scan.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/scan.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Scan Example # # This example shows how to scan for networks with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/static_ip.py b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/static_ip.py index 5ae1bb4d5..1422951e1 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/static_ip.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/03-WiFi/static_ip.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example using static IP. # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_blinky.py b/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_blinky.py index a47aa8420..100d597cf 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_blinky.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_blinky.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Bluetooth Blinky Example # # Use nRFConnect app from the App store, connect to the Nano and write 1/0 to control the LED. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_temperature.py b/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_temperature.py index 19b41adc4..7c4f03c57 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_temperature.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/ble_temperature.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This example demonstrates a simple temperature sensor peripheral. # # The sensor's local value updates every second, and it will notify diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/temp_sensor_aioble.py b/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/temp_sensor_aioble.py index e6383940a..28b248429 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/temp_sensor_aioble.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/04-Bluetooth/temp_sensor_aioble.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from micropython import const import uasyncio as asyncio diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/deep_sleep.py b/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/deep_sleep.py index 6988189ae..9c195cd6c 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/deep_sleep.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/deep_sleep.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Deep Sleep Mode Example # This example demonstrates the low-power deep sleep mode plus sensor shutdown. # Note the camera will reset after wake-up from deep sleep. To find out if the cause of reset diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/extint_wakeup.py b/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/extint_wakeup.py index 744d0253b..c41ac18b0 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/extint_wakeup.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/extint_wakeup.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ExtInt Wake-Up from Stop Mode Example # This example demonstrates using external interrupts to wake up from low-power mode. diff --git a/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/stop_mode.py b/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/stop_mode.py index 18bfda3b1..ec49b7caf 100644 --- a/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/stop_mode.py +++ b/scripts/examples/10-Arduino-Boards/Giga-H7/05-Low-Power/stop_mode.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Stop Mode Example # This example demonstrates using the low-power Stop Mode. diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/00-Board-Control/i2c_scanner.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/00-Board-Control/i2c_scanner.py index 9809b58f6..bf3c0fd48 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/00-Board-Control/i2c_scanner.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/00-Board-Control/i2c_scanner.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # I2C scanner examples # 7-bit addresses for NANO33 BLE SENSE # Sensors on I2C 1 bus: diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/ambient.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/ambient.py index b624dd36b..44e276b8b 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/ambient.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/ambient.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from time import sleep_ms from machine import Pin, I2C from apds9960 import uAPDS9960 as APDS9960 diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/gesture.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/gesture.py index c90b3ab15..7d568896f 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/gesture.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/gesture.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from time import sleep_ms from machine import Pin, I2C diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/proximity.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/proximity.py index c70df1845..ea1909127 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/proximity.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/apds9960/proximity.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from time import sleep_ms from machine import Pin, I2C diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/hts221.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/hts221.py index 13fca7a3c..a5e053dd6 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/hts221.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/hts221.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Relative humidity and temperature sensor example. # Note Arduino Nano BLE 33 Sense Rev2 uses the HS3003. diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/imu.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/imu.py index c2a23716b..a7116f56c 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/imu.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/imu.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # IMU example for Arduino Nano BLE 33 Sense (REV1 and REV2). import time diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/lps22.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/lps22.py index 1fa269c35..12732aa80 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/lps22.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/01-Sensors/lps22.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import time import lps22h from machine import Pin, I2C diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/02-Audio/audio_fft.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/02-Audio/audio_fft.py index acd12e29e..dc370533f 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/02-Audio/audio_fft.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/02-Audio/audio_fft.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import image import audio from ulab import numpy as np diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_blinky.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_blinky.py index 1363babe6..d8a063909 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_blinky.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_blinky.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Use nRF Connect from App store, connect to the Nano and write 1/0 to control the LED. import time diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_scan.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_scan.py index bce99a67d..4407e9f21 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_scan.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_scan.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import time from ubluepy import Scanner, constants diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_temperature.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_temperature.py index 41d87dbde..1b0790ad5 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_temperature.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/03-Bluetooth/ble_temperature.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # BLE temperature sensor example. import time diff --git a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/04-Thermal/thermal_camera.py b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/04-Thermal/thermal_camera.py index 2ad32e4f0..c5d3a5ef2 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/04-Thermal/thermal_camera.py +++ b/scripts/examples/10-Arduino-Boards/Nano-33-BLE-Sense/04-Thermal/thermal_camera.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Thermal Camera Demo # # This example shows off how to overlay a heatmap onto your OpenMV Cam's diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/00-Board-Control/i2c_scanner.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/00-Board-Control/i2c_scanner.py index 502930cf3..6f0d62951 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/00-Board-Control/i2c_scanner.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/00-Board-Control/i2c_scanner.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # I2C scanner examples # # 7-bit addresses for NANO RP2040 on I2C0 bus: diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_basic.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_basic.py index 44611b39a..4047ba591 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_basic.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_basic.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LSM6DSOX Basic Example. import time from lsm6dsox import LSM6DSOX diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_mlc.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_mlc.py index 26dcbf867..c1fbdbfcc 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_mlc.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/01-Sensors/lsm6dsox_mlc.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LSM6DSOX IMU MLC (Machine Learning Core) Example. # Download the raw UCF file, copy to storage and reset. diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-Audio/audio_fft.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-Audio/audio_fft.py index 0e623edba..6ea0e635e 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-Audio/audio_fft.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-Audio/audio_fft.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import image import audio from ulab import numpy as np diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ap_mode.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ap_mode.py index e501b4e2d..bc74cc6a6 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ap_mode.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ap_mode.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # WiFi AP Mode Example # # This example shows how to use WiFi in Access Point mode. diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/http_client.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/http_client.py index e4edf62a5..afcd1acb8 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/http_client.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/http_client.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTP client example. import network diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ntp.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ntp.py index 72a0f20fa..51a74f004 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ntp.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/ntp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/scan.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/scan.py index fa83758da..45fc9d6c0 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/scan.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/03-WiFi/scan.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Scan Example # # This example shows how to scan for WiFi networks. diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_blinky.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_blinky.py index bdc174b57..853796f49 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_blinky.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_blinky.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Bluetooth Blinky Example # # Use nRFConnect app from the App store, connect to the Nano and write 1/0 to control the LED. diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_temperature.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_temperature.py index c79fbebe5..6d8a5c5e9 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_temperature.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/ble_temperature.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This example demonstrates a simple temperature sensor peripheral. # # The sensor's local value updates every second, and it will notify diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/temp_sensor_aioble.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/temp_sensor_aioble.py index cadbf0060..767c83998 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/temp_sensor_aioble.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/04-Bluetooth/temp_sensor_aioble.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from micropython import const import uasyncio as asyncio diff --git a/scripts/examples/10-Arduino-Boards/Nano-RP2040/05-Thermal/thermal_camera.py b/scripts/examples/10-Arduino-Boards/Nano-RP2040/05-Thermal/thermal_camera.py index 2b38d9aec..5bc74cf30 100644 --- a/scripts/examples/10-Arduino-Boards/Nano-RP2040/05-Thermal/thermal_camera.py +++ b/scripts/examples/10-Arduino-Boards/Nano-RP2040/05-Thermal/thermal_camera.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Thermal Camera Demo # # This example shows how to use common low-res FIR sensors (like MLX or AMG). diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/adc_read_ext_channel.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/adc_read_ext_channel.py index 4d49c9472..1dee53898 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/adc_read_ext_channel.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/adc_read_ext_channel.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ADC Read Example. # # This example shows how to use the ADC to read an analog pin. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/adc_read_int_channel.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/adc_read_int_channel.py index 50fdb4b12..32c954d07 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/adc_read_int_channel.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/adc_read_int_channel.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ADC Internal Channels Example # # This example shows how to read internal ADC channels. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/can.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/can.py index f5ab81a55..bafb0beec 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/can.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/can.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # CAN Example # # This example demonstrates CAN communications between two cameras. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/cpufreq_scaling.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/cpufreq_scaling.py index b2a650492..2514f2e6e 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/cpufreq_scaling.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/cpufreq_scaling.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # CPU frequency scaling example. # # This example shows how to use the cpufreq module to change the CPU frequency on the fly. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/i2c_control.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/i2c_control.py index 4307a9f07..77f0ac63d 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/i2c_control.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/i2c_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # I2C Control # # This example shows how to use the i2c bus on your OpenMV Cam by dumping the diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/led_control.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/led_control.py index 49b97f5be..5dd8d6efb 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/led_control.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/led_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LED Control Example # # This example shows how to control the RGB LED. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/pin_control.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/pin_control.py index af838f134..cbb512789 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/pin_control.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/pin_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Pin Control Example # # This example shows how to use the I/O pins in GPIO mode. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/pwm_control.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/pwm_control.py index ff9c1d7c3..446ee8089 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/pwm_control.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/pwm_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # PWM Control Example # # This example shows how to use PWM. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/rtc.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/rtc.py index f82bec7e7..645f874f5 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/rtc.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/rtc.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # RTC Example # # This example shows how to use the RTC. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/spi_control.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/spi_control.py index b370dbb49..34e12616e 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/spi_control.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/spi_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # SPI Control # # This example shows how to use the SPI bus to control the diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/timer_control.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/timer_control.py index 5954c2f0f..f8dc1ab79 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/timer_control.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/timer_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Timer Control Example # # This example shows how to use a timer for callbacks. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/uart_control.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/uart_control.py index d8ec6b2f2..427c1b92f 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/uart_control.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/uart_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # UART Control # # This example shows how to use the serial port on your OpenMV Cam. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/usb_hid.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/usb_hid.py index f1b77aba5..b6f89bdc0 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/usb_hid.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/usb_hid.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Making OpenMV Camera act as a Mouse using HID. # # First we need to create boot.py file to change the default USB mode (VCP+MSC). diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/usb_vcp.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/usb_vcp.py index 7c1c4fa53..60a4e4ad3 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/usb_vcp.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/usb_vcp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # USB VCP example. # This example shows how to use the USB VCP class to send an image to PC on demand. # diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/vsync_gpio_output.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/vsync_gpio_output.py index 8d257ff94..784643787 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/vsync_gpio_output.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/vsync_gpio_output.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # VSYNC GPIO output example. # # This example shows how to toggle a pin on VSYNC interrupt. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_basic.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_basic.py index e4c7056bc..78cf2a330 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_basic.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_basic.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LSM6DSOX Gyro example. import time from lsm6dsox import LSM6DSOX diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_mlc.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_mlc.py index 5e2831595..6d01c6e34 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_mlc.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/lsm6dsox_mlc.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LSM6DSOX IMU MLC (Machine Learning Core) Example. # Download the raw UCF file, copy to storage and reset. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/vl53l1x_tof.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/vl53l1x_tof.py index 6d4ec5a96..8b43fe47d 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/vl53l1x_tof.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/01-Sensors/vl53l1x_tof.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # VL53L1X ToF sensor basic distance measurement example. from machine import I2C from vl53l1x import VL53L1X diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/02-Audio/audio_fft.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/02-Audio/audio_fft.py index 50c5e4fef..9f3ecd6c2 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/02-Audio/audio_fft.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/02-Audio/audio_fft.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import image import audio from ulab import numpy as np diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/02-Audio/micro_speech.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/02-Audio/micro_speech.py index 98931c103..62e9aa573 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/02-Audio/micro_speech.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/02-Audio/micro_speech.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MicroSpeech demo. # # Download the pre-trained Yes/No model from here: diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/connect.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/connect.py index 89dac8231..3dc503e53 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/connect.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/connect.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Connect Example # # This example shows how to connect your OpenMV Cam with a WiFi shield to the net. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/dns.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/dns.py index c4d27c5d4..3dada792c 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/dns.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/dns.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # DNS Example # # This example shows how to get the IP address for websites via DNS. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client.py index f444527ec..aab7b0c39 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTP client example. import network diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client_ssl.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client_ssl.py index 59c666bc9..57137bae1 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client_ssl.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/http_client_ssl.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTPS client example. import network import socket diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mjpeg_streamer.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mjpeg_streamer.py index 5b0344cc5..d09e9dc59 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mjpeg_streamer.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mjpeg_streamer.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Streaming # # This example shows off how to do MJPEG streaming to a FIREFOX webrowser diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_pub.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_pub.py index b32ff0dce..2d484b1a7 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_pub.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_pub.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MQTT Example. # This example shows how to use the MQTT library to publish to a topic. # diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_sub.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_sub.py index 4fb3645c6..91fd0bad9 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_sub.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/mqtt_sub.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MQTT Example. # This example shows how to use the MQTT library to subscribe to a topic. # diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/ntp.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/ntp.py index 37a16ffc0..8546b8ff9 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/ntp.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/ntp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/scan.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/scan.py index a566be764..6cadbaa4f 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/scan.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/scan.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Scan Example # # This example shows how to scan for networks with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/static_ip.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/static_ip.py index 5ae1bb4d5..1422951e1 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/static_ip.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/03-WiFi/static_ip.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example using static IP. # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_blinky.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_blinky.py index 02846702c..3877e219c 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_blinky.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_blinky.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Bluetooth Blinky Example # # Use nRFConnect app from the App store, connect to the Nano and write 1/0 to control the LED. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_temperature.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_temperature.py index c9fbbd32d..121a40a1e 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_temperature.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/ble_temperature.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This example demonstrates a simple temperature sensor peripheral. # # The sensor's local value updates every second, and it will notify diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/temp_sensor_aioble.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/temp_sensor_aioble.py index fedf843ec..a6587fc4f 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/temp_sensor_aioble.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/04-Bluetooth/temp_sensor_aioble.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from micropython import const import uasyncio as asyncio diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/deep_sleep.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/deep_sleep.py index 6988189ae..9c195cd6c 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/deep_sleep.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/deep_sleep.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Deep Sleep Mode Example # This example demonstrates the low-power deep sleep mode plus sensor shutdown. # Note the camera will reset after wake-up from deep sleep. To find out if the cause of reset diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/extint_wakeup.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/extint_wakeup.py index b8fca6386..dc42872ad 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/extint_wakeup.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/extint_wakeup.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ExtInt Wake-Up from Stop Mode Example # This example demonstrates using external interrupts to wake up from low-power mode. diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/stop_mode.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/stop_mode.py index 40b67a100..510306087 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/stop_mode.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/05-Low-Power/stop_mode.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Stop Mode Example # This example demonstrates using the low-power Stop Mode. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/adc_read_ext_channel.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/adc_read_ext_channel.py index d487899c4..f5bb458b0 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/adc_read_ext_channel.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/adc_read_ext_channel.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ADC Read Example. # # This example shows how to use the ADC to read an analog pin. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/adc_read_int_channel.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/adc_read_int_channel.py index 0bf6fdae3..9f95c57ea 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/adc_read_int_channel.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/adc_read_int_channel.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ADC Internal Channels Example # # This example shows how to read internal ADC channels. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/can.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/can.py index e00bc1462..7e585e436 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/can.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/can.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # CAN Shield Example # # This example demonstrates CAN communications between two cameras. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/cpufreq_scaling.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/cpufreq_scaling.py index b2a650492..2514f2e6e 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/cpufreq_scaling.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/cpufreq_scaling.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # CPU frequency scaling example. # # This example shows how to use the cpufreq module to change the CPU frequency on the fly. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/dac_write.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/dac_write.py index 0ded38433..397391872 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/dac_write.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/dac_write.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # DAC Control Example # # This example shows how to use the DAC pin output onboard your OpenMV Cam. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/dac_write_timed.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/dac_write_timed.py index 8bcd61892..4f7ef76be 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/dac_write_timed.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/dac_write_timed.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # DAC Timed Write Example # # This example shows how to use the DAC pin output onboard your OpenMV Cam. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/i2c_control.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/i2c_control.py index dee72add6..42bcc574a 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/i2c_control.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/i2c_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # I2C Control # # This example shows how to use the i2c bus on your OpenMV Cam by dumping the diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/led_control.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/led_control.py index 3df3eb09b..90d6d509b 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/led_control.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/led_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # LED Control Example # # This example shows how to control your OpenMV Cam's built-in LEDs. Use your diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/pin_control.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/pin_control.py index 1cbfd30a7..072769136 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/pin_control.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/pin_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Pin Control Example # # This example shows how to use the I/O pins in GPIO mode on your OpenMV Cam. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/pwm_control.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/pwm_control.py index 13ea8cd81..9c1126ce9 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/pwm_control.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/pwm_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # PWM Control Example # # This example shows how to do PWM with your OpenMV Cam. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/rtc.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/rtc.py index f82bec7e7..645f874f5 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/rtc.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/rtc.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # RTC Example # # This example shows how to use the RTC. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/servo_control.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/servo_control.py index 095aeed36..4c3f014be 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/servo_control.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/servo_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Servo Control Example # # This example shows how to use your OpenMV Cam to control servos. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/spi_control.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/spi_control.py index 97308ca8e..a48c892b7 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/spi_control.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/spi_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # SPI Control # # This example shows how to use the SPI bus on your OpenMV Cam to directly diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/timer_control.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/timer_control.py index 5954c2f0f..f8dc1ab79 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/timer_control.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/timer_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Timer Control Example # # This example shows how to use a timer for callbacks. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/timer_tests.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/timer_tests.py index 7152c87f9..188e09a68 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/timer_tests.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/timer_tests.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Timer Test Example # # This example tests all the timers. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/uart_control.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/uart_control.py index 334ac4208..28b546712 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/uart_control.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/uart_control.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # UART Control # # This example shows how to use the serial port on your OpenMV Cam. Attach pin diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_hid.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_hid.py index f1b77aba5..b6f89bdc0 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_hid.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_hid.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Making OpenMV Camera act as a Mouse using HID. # # First we need to create boot.py file to change the default USB mode (VCP+MSC). diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_vcp.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_vcp.py index c3fcbc41e..1db03d0f2 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_vcp.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/usb_vcp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # USB VCP example. # This example shows how to use the USB VCP class to send an image to PC on demand. # diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/vsync_gpio_output.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/vsync_gpio_output.py index 553fc9588..aefa3dae0 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/vsync_gpio_output.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/vsync_gpio_output.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # VSYNC GPIO output example. # # This example shows how to toggle a pin on VSYNC interrupt. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/01-Audio/audio_fft.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/01-Audio/audio_fft.py index 34c521413..c60398e7a 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/01-Audio/audio_fft.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/01-Audio/audio_fft.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# import image import audio from ulab import numpy as np diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/01-Audio/micro_speech.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/01-Audio/micro_speech.py index 98931c103..62e9aa573 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/01-Audio/micro_speech.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/01-Audio/micro_speech.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MicroSpeech demo. # # Download the pre-trained Yes/No model from here: diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/connect.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/connect.py index 89dac8231..3dc503e53 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/connect.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/connect.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Connect Example # # This example shows how to connect your OpenMV Cam with a WiFi shield to the net. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/dns.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/dns.py index c4d27c5d4..3dada792c 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/dns.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/dns.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # DNS Example # # This example shows how to get the IP address for websites via DNS. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/http_client.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/http_client.py index f444527ec..aab7b0c39 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/http_client.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/http_client.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTP client example. import network diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/http_client_ssl.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/http_client_ssl.py index 59c666bc9..57137bae1 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/http_client_ssl.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/http_client_ssl.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Simple HTTPS client example. import network import socket diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mjpeg_streamer.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mjpeg_streamer.py index b8db41609..76e4bd1ff 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mjpeg_streamer.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mjpeg_streamer.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MJPEG Streaming # # This example shows off how to do MJPEG streaming to a FIREFOX webrowser diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_pub.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_pub.py index b32ff0dce..2d484b1a7 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_pub.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_pub.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MQTT Example. # This example shows how to use the MQTT library to publish to a topic. # diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_sub.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_sub.py index 4fb3645c6..91fd0bad9 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_sub.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/mqtt_sub.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # MQTT Example. # This example shows how to use the MQTT library to subscribe to a topic. # diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/ntp.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/ntp.py index 37a16ffc0..8546b8ff9 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/ntp.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/ntp.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/scan.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/scan.py index a566be764..6cadbaa4f 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/scan.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/scan.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Scan Example # # This example shows how to scan for networks with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/static_ip.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/static_ip.py index 5ae1bb4d5..1422951e1 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/static_ip.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/02-WiFi/static_ip.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # NTP Example using static IP. # # This example shows how to get the current time using NTP with the WiFi shield. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_blinky.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_blinky.py index 80d9ba402..3c013398d 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_blinky.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_blinky.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Bluetooth Blinky Example # # Use nRFConnect app from the App store, connect to the Nano and write 1/0 to control the LED. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_temperature.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_temperature.py index d6e0663fe..e70c1a4c3 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_temperature.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/ble_temperature.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This example demonstrates a simple temperature sensor peripheral. # # The sensor's local value updates every second, and it will notify diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/temp_sensor_aioble.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/temp_sensor_aioble.py index c6b40d1f7..b61f00dd5 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/temp_sensor_aioble.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/03-Bluetooth/temp_sensor_aioble.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from micropython import const import uasyncio as asyncio diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/04-LoRa/lora-example.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/04-LoRa/lora-example.py index bb2f00baa..715b2b585 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/04-LoRa/lora-example.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/04-LoRa/lora-example.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# from lora import * lora = Lora(band=BAND_EU868, poll_ms=60000, debug=False) diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/eth_cable_test.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/eth_cable_test.py index 9aa325d80..6761b29db 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/eth_cable_test.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/eth_cable_test.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Ethernet Cable Status Example. # # This example prints the cable connection status. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client.py index e8c4fd5bd..44a13cacb 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Ethernet LAN HTTP client example. import network import usocket diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client_ssl.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client_ssl.py index 72d348d9c..10a28b37b 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client_ssl.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/http_client_ssl.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Ethernet LAN HTTP client example. import network import usocket diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/peer_to_peer.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/peer_to_peer.py index acf0c701d..fac71bd74 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/peer_to_peer.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/05-Ethernet/peer_to_peer.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Ethernet LAN Peer to Peer example. # On the PC try the following: # diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/deep_sleep.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/deep_sleep.py index 6988189ae..9c195cd6c 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/deep_sleep.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/deep_sleep.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Deep Sleep Mode Example # This example demonstrates the low-power deep sleep mode plus sensor shutdown. # Note the camera will reset after wake-up from deep sleep. To find out if the cause of reset diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/extint_wakeup.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/extint_wakeup.py index fb2c62c2e..893a52aaf 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/extint_wakeup.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/extint_wakeup.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # ExtInt Wake-Up from Stop Mode Example # This example demonstrates using external interrupts to wake up from low-power mode. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/himax_wakeup_on_motion_detection.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/himax_wakeup_on_motion_detection.py index 2f1014b50..93404a08b 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/himax_wakeup_on_motion_detection.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/himax_wakeup_on_motion_detection.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # This examples shows how to use the Himax Motion Detection feature # to wake up from low-power Stop Mode on motion detection interrupts. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/sensor_sleep.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/sensor_sleep.py index 7983a27f8..872ef10db 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/sensor_sleep.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/sensor_sleep.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Sensor Sleep Mode Example. # This example demonstrates the sensor sleep mode. The sleep mode saves around # 40mA when enabled and it's automatically cleared when calling sensor reset(). diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/stop_mode.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/stop_mode.py index 40b67a100..510306087 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/stop_mode.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/06-Low-Power/stop_mode.py @@ -1,3 +1,7 @@ +# This work is licensed under the MIT license. +# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved. +# https://github.com/openmv/openmv/blob/master/LICENSE +# # Stop Mode Example # This example demonstrates using the low-power Stop Mode.