
Recherche avancée
Autres articles (111)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (11020)
-
Revision 93109 : Compat PHP7 (peut être pas encore suffisant). La structure foreach ...
23 novembre 2015, par marcimat@… — LogCompat PHP7 (peut être pas encore suffisant).
La structure foreach change de comportement et s’applique par défaut sur une copie du tableau passé.
Si on modifie le tableau dans le foreach… bien celui d’origine n’est pas affecté. Pour retrouver
le comportement d’avant dans ces cas là, il faut passer la valeur par référence.
cf.
https://wiki.php.net/rfc/php7_foreach
http://php.net/manual/fr/migration70.incompatible.php -
Revision 93109 : Compat PHP7 (peut être pas encore suffisant). La structure foreach ...
23 novembre 2015, par marcimat@… — LogCompat PHP7 (peut être pas encore suffisant).
La structure foreach change de comportement et s’applique par défaut sur une copie du tableau passé.
Si on modifie le tableau dans le foreach… bien celui d’origine n’est pas affecté. Pour retrouver
le comportement d’avant dans ces cas là, il faut passer la valeur par référence.
cf.
https://wiki.php.net/rfc/php7_foreach
http://php.net/manual/fr/migration70.incompatible.php -
Python Wifi Issue Connect to Mysterious Camera
27 avril 2015, par user2723463I have been working with some drones and robotics projects using arduino and python. There was a kickstarter project for a neat little hex copter, that hasn’t been managed well.
I was lucky, i got my copter and then some time later after some frustrated email exchanges, i finally recieved the camera as well. To this day, their forum has people still complaining. Their maker forum is now down and their wiki hasn’t been updated with any specifics on the camera.
http://www.flexbot.cc/wiki/index.php?title=Main_Page#Hardware
Their app to accompany the drone still doesn’t support the camera module. Not that it’d matter, as their code isn’t very well documented or annotated.
There are some tips on switching the camera on the comments page of their kickstarter campaign.
https://www.kickstarter.com/projects/1387330585/hex-a-copter-that-anyone-can-fly/posts/1093716
So, sob story over, i’m stuck with this neat little wifi camera that i am unsure on how to connect to. I know how to switch it on and it does have a micro-usb port on it.
What library in Python could i use to stream an image from this camera given that it is a wifi camera. If i wanted the video stream as a numpy matrix.
I need to interface with the camera, so i can connect and disconnect.
Then, be able to read images frame by frame with ffmpeg. I have some python modules that can detect and read from a camera, but how can my code ensure that the camera is connected ?
Totally stuck. Any help would be appreciated.