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 7aec9b5d7..0bbc86ce5 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 @@ -77,12 +77,6 @@ def exe_face_detection(): ) -def exe_person_detection(): - result = interface.call("person_detection") - if result is not None: - print(bytes(result).decode()) - - def exe_qrcode_detection(): result = interface.call("qrcode_detection") if result is not None and len(result): @@ -171,7 +165,6 @@ def exe_jpeg_snapshot(): while True: exe_face_detection() # Face should be about 2ft away. - # exe_person_detection() # exe_qrcode_detection() # Place the QRCode about 2ft away. # exe_all_qrcode_detection() # Place the QRCode about 2ft away. # exe_apriltag_detection() 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 22026ffb1..7c4436056 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 @@ -15,7 +15,6 @@ import math import rpc import sensor import struct -import tf sensor.reset() sensor.set_pixformat(sensor.RGB565) @@ -134,20 +133,6 @@ def face_detection(data): return struct.pack("