Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
比如说,我想写一个 if 判断句,判断条件是当前相机传感器的像素是VGA还是QQVGA。该如何写呢? (目前涉及到VGA的,只知道一句:sensor.set_framesize(sensor.VGA) )
img.width() img.height()
if(img.width() == 320 & img.height() == 240)的意思就是判断当前framesize是否是QVGA吗?