projet crepp_git/crepp-projects/raspi-bot · branche main
designZ7.pyc Voir sur GitLab
�
���Yc@s�ddlmZmZyejjZWnek
rBd�ZnXyejjZ	d�Z
Wnek
rxd�Z
nXdefd��YZe
dkr�ddlZejej�Zej�Ze�Zeje�ej�ejej��ndS(	i����(tQtCoretQtGuicCs|S(N((ts((s(/home/thierry/Bureau/Videopi/designZ7.pyt	_fromUtf8scCstjj|||t�S(N(RtQApplicationt	translatet	_encoding(tcontextttexttdisambig((s(/home/thierry/Bureau/Videopi/designZ7.pyt
_translatescCstjj|||�S(N(RRR(RRR	((s(/home/thierry/Bureau/Videopi/designZ7.pyR
stUi_FormcBseZd�Zd�ZRS(cCs|jtd��|jdd�|jtjdd��|jtd��tj|�|_	|j	jtd��tj�|_
|j
jtd��tj|�|_|jjtd	��|jj
d
�|jjtd��|j
j|jdd
dd�tj|�|_|jjtd	��|jjtd��|jjtd��|jjtd��|j
j|jdddd�tj|�|_|jjtd��|j
j|jd
ddd�tj|�|_|jjtd��|j
j|jdddd�tj|�|_|jjtd��|j
j|jdddd�tj|�|_|jjtd��|jjtd��|j
j|jdd
dd�tj|�|_|jjtd	��|jjtd��|jjtd��|jjtd��|jjdtd��|jjtd��|jjdtd��|jjtd��|jjd
td��|jjtd��|jjdtd��|jjtd��|jjdtd��|jjtd��|jjdtd��|jjtd��|jjd td!��|j
j|jdddd�tj|�|_|jjtd	��|jjtd"��|jjtd��|jjtd��|jjtd��|jjtd��|jjtd��|jjtd��|j
j|jd
ddd�tj|�|_|jjtd#��|j
j|jd
ddd�tj|�|_|jjtd$��|j
j|jdddd�tj|�|_|jjtd%��|j
j|jdddd�tj|�|_|jjtd&��|j
j|jdddd�tj|�|_|jjtd'��|j
j|jdddd�tj|�|_ |j jtd	��|j jtd(��|j jtd��|j jtd��|j jtd��|j jtd��|j
j|j dddd�tj|�|_!|j!jtd	��|j!jtd)��|j!jtd��|j!jtd��|j!jtd��|j!jtd��|j!jtd��|j!jtd��|j
j|j!dddd�tj|�|_"|j"jtd	��|j"j#d*�|j"j
d
�|j"jtd+��|j
j|j"d
d
dd�tj|�|_$|j$jtd,��|j
j|j$dddd�tj|�|_%|j%jtd-��|j
j|j%dddd�tj|�|_&|j&jtd.��|j&jtd/��|j
j|j&dddd�tj|�|_'|j'jtd0��|j'jtd1��|j
j|j'd ddd�tj|�|_(|j(jtd2��|j
j|j(dddd�tj|�|_)|j)jtd3��|j)jtd4��|j
j|j)dddd�tj|�|_*|j*jtd5��|j*jtd6��|j
j|j*d ddd�tj|�|_+|j+j,t-�|j+jtd7��|j
j|j+dddd�tj|�|_.|j.jtd	��|j.j#d*�|j.j
d
�|j.jtd8��|j
j|j.dd
dd�tj|�|_/|j/jtd	��|j/jtd9��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j/jtd��|j
j|j/dddd�tj|�|_0|j0jtd:��|j
j|j0dddd�tj|�|_1|j1jtd	��|j1jtd;��|j1jtd��|j1jtd��|j1jtd��|j1jtd��|j1jtd��|j
j|j1d
ddd�tj|�|_2|j2jtd<��|j
j|j2dddd�tj|�|_3|j3jtd	��|j3jtd=��|j3jtd��|j3jtd��|j
j|j3dddd�tj|�|_4|j4jtd	��|j4jtd>��|j4jtd��|j4jtd��|j4jtd��|j4jtd��|j
j|j4dddd�tj|�|_5|j5jtd?��|j
j|j5dddd�tj|�|_6|j6jtd	��|j6jtd@��|j6jtd��|j6jtd��|j6jtd��|j6jtd��|j
j|j6dd
dd�tj|�|_7|j7jtdA��|j
j|j7dddd�tj|�|_8|j8jtd	��|j8jtdB��|j8jtd��|j8jtd��|j
j|j8dddd�tj|�|_9|j9jtd	��|j9j#d*�|j9j
d
�|j9jtdC��|j
j|j9dd
dd�tj|�|_:|j:jtdD��|j
j|j:dddd�tj;|�|_<|j<jtd	��|j<jtdE��|j
j|j<dddd�tj|�|_=|j=jtd	��|j=j#d�|j=j
dF�|j=j>dGd�|j=jtdH��|j
j|j=dd
dd�tj|�|_?|j?jtd	��|j?jtdI��|j?jtd��|j?jtd��|j
j|j?dddd�tj|�|_@|j@jtdJ��|j
j|j@dddd�tj|�|_A|jAjtdK��|j
j|jAd
ddd�tj|�|_B|jBjtd	��|jBjtdL��|jBjtd��|jBjtd��|jBjtd��|jBjtd��|jBjtd��|jBjtd��|jBjtd��|jBjtd��|j
j|jBdddd�tj|�|_C|jCjtdM��|jCjDtjEjF�|jCjtdN��|j
j|jCdOddd�tj;|�|_GtjH�}|jIdO�|jJt-�|jKt-�|jLd�|jGjM|�|jGjtdP��|jGjtdQ��|j
j|jGdRddd�tj|�|_N|jNjtdS��|jNjtdT��|j
j|jNd d
dd�|j	jO|j
dddd�|jP|�|jjQd
�|jjQd�|j!jQd�tjRjS|jtjTtdU��|j!jQ�tjUjV|�dS(VNtFormi-iRi2itt
gridLayouttgridLayout_2s%background-color: rgb(245, 194, 255);idt
VbrillanceiitVpecraniitlabel_15itlabel_10thflipsEbackground-color: rgb(255, 124, 188);
border-top-color: rgb(0, 0, 0);tVLCitVdureet1t2t5it10t15t30it60tVhauteurtlabel_11tdureetlabel_19tlabel_13t	stabilitet	VmetadatatVLargeuri����tVfinesseteffetstlabel_17s$background-color: rgb(85, 255, 255);tHDMIs#background-color: rgb(255, 255, 0);tExecutertlabel_12s#background-color: rgb(0, 255, 127);tGSTREAMs%background-color: rgb(170, 170, 127);tManueltlargeurt
VcontrastetVeffetstlabel_9tVisotlabel_16tVhfliptVcompressiontlabel_18t	Vrotationtlabel_7tVvfliptVsaturationt
sauvegardetVsauvegardeitvaluet
Vframeratet
Vstabilitetlabel_14thauteurtVmodes%background-color: rgb(170, 255, 127);t
visualisationi	s%background-color: rgb(255, 158, 126);t	comfinalei
s"background-color: rgb(255, 85, 0);tRAZscurrentIndexChanged(int)(Wt
setObjectNameRtresizetsetSizeIncrementRtQSizet
setStyleSheetRtQGridLayoutRRtQSpinBoxRt
setMaximumt	addWidgett	QComboBoxRtaddItemtQLabelRRRtQPushButtonRRtsetItemTextRRR R!R"R#R$R%R&t
setMinimumR'R(R)R*R+R,R-R.t
setEnabledtFalseR/R0R1R2R3R4R5R6R7R8R9R:R;t	QLineEditR<R>tsetPropertyR?R@RARBRCtsetAlignmenttQttAlignCenterRDtQFonttsetPointSizetsetBoldt	setItalict	setWeighttsetFontREt	addLayoutt
retranslateUitsetCurrentIndextQObjecttconnecttSIGNALtQMetaObjecttconnectSlotsByName(tselfRtfont((s(/home/thierry/Bureau/Videopi/designZ7.pytsetupUis&




.cCs�|jtddd��|jjdtddd��|jjdtddd��|jjtddd��|jjtddd��|jj	tdd	d��|jjtdd
d��|j
j	tddd��|j
jtddd��|jjdtddd��|jjdtddd��|jjdtdd
d��|jjdtddd��|jjdtddd��|jjdtddd��|jjdtddd��|j
jtddd��|jj	tddd��|jjtddd��|jj	tddd��|jjtddd��|jjtddd��|jj	tddd��|jjtddd��|jjdtddd��|jjdtddd��|jjdtddd��|jjdtdd d��|jjdtddd��|jjdtdd!d��|jjdtddd��|jjdtdd"d��|jjdtdd#d��|jjdtdd$d��|jj	tdd%d��|jjtdd&d��|jj	tdd'd��|jjtdd(d��|jj	tdd)d��|jjtdd*d��|jj	tdd+d��|jjtdd,d��|jjtdd-d��|jj	tdd.d��|jjtdd/d��|jj	tdd0d��|jjtdd1d��|jj	tdd2d��|jjtdd3d��|jjdtddd��|jjdtdd4d��|jjdtdd5d��|jjdtdd6d��|jjdtdd7d��|jjdtdd8d��|jjd9tdd:d��|jjd;tdd<d��|jjd=tdd>d��|jjd?tdd@d��|jjdAtddBd��|jjdCtddDd��|jjdEtddFd��|jjdGtddHd��|jjdItddJd��|jjdKtddLd��|jjdMtddNd��|jjtddOd��|jjdtddd��|jjdtddPd��|jjdtddQd��|jjdtddRd��|jjdtdd#d��|jj	tddSd��|jjtddTd��|j jdtddd��|j jdtddUd��|j!jdtddd��|j!jdtddVd��|j!jdtddWd��|j!jdtddXd��|j"j	tddYd��|j"jtddZd��|j#jdtddd��|j#jdtdd[d��|j#jdtdd\d��|j#jdtdd]d��|j$j	tdd^d��|j$jtdd_d��|j%jdtddd��|j%jdtdd`d��|j&j	tddad��|j&jtddbd��|j'jdtddd��|j'jdtddcd��|j(jtdddd��|j)j	tdded��|j)jtddfd��|j*jdtddd��|j*jdtddgd��|j*jdtddhd��|j*jdtddid��|j*jdtddd��|j*jdtddjd��|j*jd9tddkd��|j*jd;tddld��|j+jtddmd��|j,jtddnd��|j-j	tddod��|j-jtddpd��dS(qNRsParametres Raspividitinactifis-ftFinesset
Saturations?<html><head/><body><p>Effet miroir horizontal</p></body></html>tHflipsM<html><head/><body><p>serveur de Streaming VLC (latence 2s)</p></body></html>Rt240it260it480it600it768tIsosR<html><head/><body><p>Durée de la vidéo en minutes</p><p><br/></p></body></html>sDuréesI<html><head/><body><p>Définit un mode de capteur :</p><p><br/></p><p>0 : mode automatique</p><p>1 :1920 x 1080 ; aspect 16/9 ; 1-30 fps ; fov partiel ; binning non</p><p>2: 2592 x 1944 ; aspect 4/3 ; 1-15 fps ; fov full ; binning non</p><p>3: id 2 sauf fps 0,1666-1</p><p>4: 1296 x 972 ; aspect 4/3 ; 1-42 fps ; fov full ; binning 2x2</p><p>5: 1296 x 730 ; aspect 16/9 ; 1-49 fps; fov full ; binning 2 x2</p><p>6: 640 x 480 ; aspect 4/3 ; 42,1-60 fps ; fov full ; binning 2x2 plus skip</p><p>7: 640 x 480 ; aspect 4/3 ; 60,1-90 fps ; fov full ; binning 2x2 plus skip</p></body></html>tModet	ContrastesQ<html><head/><body><p>Stabilisation d'image si la caméra bouge</p></body></html>s
Stabilitét4t8t12t360t640t800t1024sR<html><head/><body><p>Sélectionne un effet appliqué à l'image</p></body></html>tEffetss�<html><head/><body><p>Données intégrées dans la vidéo </p><p>4 : heure</p><p>8: date</p><p>12 : heure+ date</p><p><br/></p></body></html>tMetadatasY<html><head/><body><p>Visualisation directe de la vidéo sans streaming</p></body></html>R)s�<html><head/><body><p>Valide le choix d'instructions et ferme la fenêtre.</p><p>La commande sélectionnée est enregistrée dans le fichier .sh correspondant pour le streaming</p></body></html>R*t	BrillancesY<html><head/><body><p>Serveur de streaming Gstreamer (video temps reel)</p></body></html>R,s�<html><head/><body><p>1/ selectionner les options désirées</p><p><br/></p><p>2/choisir :</p><p>HDMI : pour affichage video sur un écran branché au RPI</p><p>VLC pour un streaming vlc</p><p>GSTREAM pour un streaming gstreamer</p><p>NB : le champ sauvegarde ne sert qu'à spécifier un nom de fichier pour un éventuelle enregistrement de la video</p><p>Il ne faut pas y mettre -o pour le streaming,cela se fait automatiquement</p><p><br/></p><p>La ligne de commande s'affiche.</p><p><br/></p><p>3/ : en cas d'erreur : RAZ reinitialise la ligne de commande</p><p><br/></p><p>4/ Executer : lance la video et ferme la fenêtre</p><p><br/></p></body></html>R-s�<html><head/><body><p>Largeur de la fenêtre de visualisation.Automatiquement générée lors du choix de la hauteur</p></body></html>tLargeurtnegativetsolariset	posteriset
whiteboardt
blackboarditsketchitdenoiseitembossi	toilpainti
thatchitgpenitpasteli
tfilmitwatercolouritblurit
saturationtRotationt100t200t400sC<html><head/><body><p>nombre d'images par seconde</p></body></html>t	Framerates -hf tlowtmediumthighs<html><head/><body><p><a name="result_box"/>DRC (dynamic range compression) change les images en augmentant la plage des zones sombres et en diminuant les zones plus claires. Cela peut améliorer l'image dans les zones de faible luminosité.</p></body></html>tDRCt90t180t270s=<html><head/><body><p>Effet miroir vertical</p></body></html>tVflips-vf s�<html><head/><body><p>Nom du fichier où enregistrer la vidéo si necéssaire.</p><p>pas de nom : pas d'enregistrement </p><p>- (&quot;tiret du 6&quot;) : envoi vers stout</p></body></html>t
Sauvegardes-vssPlein ecrans[<html><head/><body><p>Hauteur de la fenêtre de visualisation</p><p><br/></p></body></html>tHauteurRRt3Rt6t7sCommande resultantetraspivids_<html><head/><body><p>Remise à zéro de la ligne de commande en cas d'erreur</p></body></html>RE(.tsetWindowTitleR
tNoneRRSRtsetTextRRt
setToolTipRRRRR R!R"R#R$R%R'R(R)R*R+R,R-R.R0R1R2R3R4R5R6R7R8R9R;R?R@RARBRCRDRE(RjR((s(/home/thierry/Bureau/Videopi/designZ7.pyRc1s�(t__name__t
__module__RlRc(((s(/home/thierry/Bureau/Videopi/designZ7.pyRs	�t__main__N(tPyQt4RRtQStringtfromUtf8RtAttributeErrorRtUnicodeUTF8RR
tobjectRR�tsystargvtapptQWidgetRtuiRltshowtexittexec_(((s(/home/thierry/Bureau/Videopi/designZ7.pyt<module>	s&




��