This file contains 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 sys, getopt, os | |
from PIL import Image | |
def main(argv): | |
inputfile = '' | |
try: | |
opts, args = getopt.getopt(argv,"l:i:") | |
except getopt.GetoptError: | |
print("test.py -l 模糊程度 -i 图片") | |
sys.exit(2) | |
for opt, arg in opts: |
This file contains 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
<?php | |
function getSites(){ | |
// echo ''; | |
$imgDate = date('Y-m-d-H-m-s'); | |
// echo date('Y-m-d-H-m-s').''."<br>"; | |
$j = 0; | |
for ($i=1; $i <= 22; $i++) { | |
$j = $j + 1; | |
if ($j < 10) { | |
$_GET['url'] = 'http://172.31.1.1:1000' . $j; |
This file contains 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
var sigGen1 = [ | |
{"x": 2.02, "y": 10.98, "room": "FT236", "rssi": [], "mean": 'No Data', "variance": 'No Data'}, | |
{"x": 2.17, "y": 4.98, "room": "FT222", "rssi": [-76, -76, -76, -76], "mean": -76, "variance": 0}, | |
{"x": 3.51, "y": 9.02, "room": "hollway_2nd", "rssi": [-73, -70, -74, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71], "mean": -71.2, "variance": 0.66}, | |
{"x": 5.16, "y": 10.94, "room": "FT235", "rssi": [-85, -85, -85, -86, -86, -86, -86, -87, -87, -87, -87, -87, -87, -87, -85], "mean": -86.2, "variance": 0.69}, | |
{"x": 5.39, "y": 5.06, "room": "FT223", "rssi": [-64], "mean": -64, "variance": 0}, | |
{"x": 8.48, "y": 1.93, "room": "FT223", "rssi": [], "mean": 'No Data', "variance": 'No Data'}, | |
{"x": 9.81, "y": 9.02, "room": "hollway_2nd", "rssi": [-70, -70, -70, -70, -70, -70, -70, -70, -70, -73, -73, -73, -73, -73, -73, -73, -70, -70, -73, -73], "mean": -71.35, "variance": 2.23}, | |
{"x": 11.57, "y": 1.89, "room": "FT224", "rssi": [], "mean": |
This file contains 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
-Video-Fans------------------- | |
bilibili: 3677 | Youtube: 0 | Tiktok: 71 | |
-Github Contributions--------- | |
All: 256 | 2020: 238 | 2019: 18 | |
Last update: 2020 Apr 25. |