Take stills and then feed it into OpenCV. You'll also need to space it far enough away that it can focus on the meter + have sufficient illumination. If you need the precise values shown on the meter then you'll need to rig up a camera. Result = subprocess.Popen(, stdout = subprocess.PIPE, stderr = subprocess.App that measures consumption/cost of Analog Electric Meter X265 : tools: rd=3 psy-rd=2.00 signhide tmvp strong-intra-smoothing X265 : Rate Control / qCompress : ABR-9216 kbps / 0.60 X265 : References / ref-limit cu / depth : 3 / 1 / 1 X265 : b-pyramid / weightp / weightb : 1 / 1 / 0 X265 : Lookahead / bframes / badapt : 20 / 4 / 2 X265 : Keyframe min / max / scenecut : 15 / 250 / 40 X265 : ME / range / subpel / merge : hex / 57 / 2 / 2 X265 : Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra X265 : Coding QT: max CU size, min CU size : 64 / 8
PYTHON FFMPEG OPENCV 720P
X265 : Source height < 720p disabling lookahead-slices X265 : frame threads / pool features : 1 / wpp(8 rows) X265 : Thread pool created using 4 threads X265 : Main profile, Level-3.1 (Main tier) X265 : using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 libx265 libx265 H.265 / HEVC (codec hevc) Result = subprocess.Popen(, stdout = subprocess.PIPE, stderr = subprocess.STDOUT, shell=True)įfmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developersīuilt with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609Ĭonfiguration: -prefix=/usr -extra-version=0ubuntu0.16.04.1 -build-suffix=-ffmpeg -toolchain=hardened -libdir=/usr/lib/x86_64-linux-gnu -incdir=/usr/include/x86_64-linux-gnu -cc=cc -cxx=g++ -enable-gpl -enable-shared -disable-stripping -disable-decoder=libopenjpeg -disable-decoder=libschroedinger -enable-avresample -enable-avisynth -enable-gnutls -enable-ladspa -enable-libass -enable-libbluray -enable-libbs2b -enable-libcaca -enable-libcdio -enable-libflite -enable-libfontconfig -enable-libfreetype -enable-libfribidi -enable-libgme -enable-libgsm -enable-libmodplug -enable-libmp3lame -enable-libopenjpeg -enable-libopus -enable-libpulse -enable-librtmp -enable-libschroedinger -enable-libshine -enable-libsnappy -enable-libsoxr -enable-libspeex -enable-libssh -enable-libtheora -enable-libtwolame -enable-libvorbis -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx265 -enable-libxvid -enable-libzvbi -enable-openal -enable-opengl -enable-x11grab -enable-libdc1394 -enable-libiec61883 -enable-libzmq -enable-frei0r -enable-libx264 -enable-libopencv Out = cv2.VideoWriter(name, fourcc, frameRate, (640,480)) # Define the codec and create VideoWriter object