#erm2
ifconfig erm2 down
ifconfig erm2 10.10.25.17 netmask 255.255.255.0 up
root@Moxa:/etc/init.d# wpa_cli -i wlan0 scan
OK
root@Moxa:/etc/init.d# wpa_cli -i wlan0 scan_results
bssid / frequency / signal level / flags / ssid
1a:00:4d:b0:f8:9c 2437 -42 [WPA2-PSK-CCMP][ESS] Matrix Two
4a:a4:72:1c:91:20 2437 -45 [WPA2-PSK-CCMP][WPS][ESS][P2P] DIRECT-QVN014600001990msCD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import open3d as o3d | |
from skimage import io | |
# region 功能函数 | |
def read_img(filename, dtype=np.uint8): | |
""" 读取图片为矩阵, RGBA/RGB/GRAY """ | |
arr = io.imread(filename) | |
arr = arr.astype(dtype) |
OlderNewer