[#KINECTSDK] Fluent Kinect (never underestimate what a boring geek can do!)


image

Buenas,

Kinect SDK is all very well, but often can be a pain in the ass / plunger. As SDK complies with the premise of having a real representation of the elements of the sensor, but it lacks a “modern” syntax to work with them.

Note: care that abstract concepts of Hardware so they are “beautiful” is more difficult to bite back.

Here is where the crack of Marcus Hohnert who has created an extension to this model code to the initialization of a Kinect sensor.

   1: var sensor = KinectConnector.GetKinect()

   2:                             .EnableColorStream()

   3:                             .EnableSkeletonStream()

   4:                             .EnableDepthStream()

   5:                             .Seated()

   6:                             .NearMode()

   7:                             .Start();

 

Impressive!

Source: http://passiondev.wordpress.com/2013/05/03/fluent-kinect/

 

Saludos @ Home

El Bruno

image image image

[#KINECTSDK] Fluent Kinect (nunca subestimes lo que puede hacer un friki aburrido!)


image

Buenas,

el SDK de Kinect está muy bien, pero muchas veces puede ser un coñazo / embole. Como SDK cumple con la premisa de tener una representación real de los elementos del sensor, pero carece de una sintaxis “moderna” para trabajar con los mismos.

Nota: cuidado que abstraer conceptos de Hardware para que sean “bonitos” es más difícil que morderse la espalda.

Aquí es donde entra el crack de Marcus Hohnert que ha creado una extensión para llegar a este modelo de código para la inicialización de un sensor Kinect.

   1: var sensor = KinectSensor.KinectSensors

   2:                          .FirstOrDefault(_ => _.Status == KinectStatus.Connected);

   3: if (sensor == null) throw new InvalidOperationException("No kinect connected");

   4:  

   5: sensor.EnableColorStream()

   6:       .EnableSkeletonStream()

   7:       .EnableDepthStream()

   8:       .Seated()

   9:       .NearMode()

  10:       .Start();

Impresionante !!!

Fuente: http://passiondev.wordpress.com/2013/05/03/fluent-kinect/

Saludos @ Home

El Bruno

image image image

[#METRO] Metro Studio 2.0 of the friends of SyncFusion


image

Buenas,

Synfusion friends have released version 2.0 of Metro Studio . This application is an excellent collection / AWESOME with over 2500 icons stylish METRO Modern UI Apps. The application is free like the .net Framework source code, and you can download it from http://www.syncfusion.com/downloads/metrostudio. Once you sign up, they send you a download link and a key to unlock and you can now install the application.

image

Once inside the application, we can navigate the icons by categories, or if we do a search to see the results in this format

image

Then, it is possible to create collections of icons, export them, etc. The Edition is perhaps the best part, we can define the size, the padding, the margentes, the Fund and then export the icon to PNG

image

But the best thing is that we have the XAML of each icon PATH!

image

As you know to download it :D

Download: http://www.syncfusion.com/downloads/metrostudio

 

Saludos @ Home

El Bruno

image image image

[#METRO] Metro Studio 2.0 de los amigos de SyncFusion (iconos de W8 a cholon!)


image

Buenas,

los amigos de Synfusion han lanzado la versión 2.0 de Metro Studio. Esta aplicación es una colección EXCELENTE / AWESOME con más de 2500 íconos con estilo METRO Modern UI Apps. La aplicación es gratis como el código fuente del .Net Framework, y la puedes descargar desde http://www.syncfusion.com/downloads/metrostudio. Una vez que te registras, te envían un link de descarga y una clave de desbloqueo y ya puedes instalar la aplicación.

image

Una vez dentro de la aplicación, podemos navegar los íconos por categorías, o si realizamos una búsqueda ver el resultado en este formato

image

Luego, es posible crear colecciones de íconos, exportarlas, etc. La edición es tal vez la mejor parte, podemos definir el tamaño, el padding, los márgentes, el fondo, etc. y luego exportar el ícono a PNG

image

Aunque lo mejor es que tenemos el PATH de XAML de cada ícono !!!

image

Pues ya sabes a descargarlo Risa

Download: http://www.syncfusion.com/downloads/metrostudio

Saludos @ Home

El Bruno

image image image

[#TFS2012] HowTo: Planning a Team Foundation Server 2012 deploy


image

Buenas,

When you have to install a collaboration with Team Foundation Server environment, questions always arise as

  • TFS version should I install?
  • I reached with a Single Server installation, or should I separate data server and application layer?
  • Do I need Sharepoint?, or Reporting Services?
  • How can I measure the hardware in each layer?
  • I believe one or more dedicated servers build?

In addition to these questions, it is time to start to define a strategy for the Organization of Team Projects, here the questions are style

  • I think a single Team Project Collection for the entire organization?
  • I think different PCTs? for example, separating into functional areas
  • If I remove the PCTs, do I organize how modules common to all areas?
  • If I leave a single TPC would how to assure the isolation of the code between different Team Projects?

Starting with these schemes can be something that consume you time and do not have a simple answer. It is more or less like wonder what must now do the Barcelona to be able to recover the quality of previous years (already more than one club would like to have “the crisis” the Barza, ending one of the 4 best clubs of Europe and the League of Spain in the Pocket)

As well, as the Barza is it can ask Pep; and the Team Foundation Server can see it in the Guide Visual Studio Team Foundation Server Planning Guide in CodePlex . This guide contains a series of recommendations for the installation and organization of a TFS2012-based environment, ranging from Hardware requirements to the organization suggested for environments of test, training, etc. As always a picture is worth more than 1001 words.

image

Download: http://vsarplanningguide.codeplex.com/

 

Saludos @ Home

El Bruno

image image image

[#TFS2012] HowTo: Planear un deploy de Team Foundation Server 2012 (casi tan complicado como reflotar al Barza ;)


image

Buenas,

cuando tienes que instalar un entorno de colaboración con Team Foundation Server, siempre surgen dudas como

  • ¿Qué versión de TFS debo instalar?
  • ¿Me alcanza con una instalación Single Server, o debo separar servidor de datos y capa de aplicación?
  • ¿Necesito Sharepoint?, ¿o Reporting Services?
  • ¿Cómo debo dimensionar el hardware en cada capa?
  • ¿Creo uno o varios servidores dedicados de Build?

Además de estas preguntas, llega el momento de comenzar a definir una estrategia para la organización de Team Projects, aquí las preguntas son del estilo

  • ¿Creo un único Team Project Collection para toda la organización?
  • ¿Creo diferentes TPCs? separando por ejemplo, en áreas funcionales
  • Si separo los TPCs, ¿cómo organizo los módulos comunes a todas las áreas?
  • Si dejo un único TPC, ¿cómo aseguro el aislamiento del código entre diferentes Team Projects?

Comenzar con estos planteos puede ser algo que te consuma tiempo y que no tenga una respuesta simple. Es mas o menos como preguntarse qué debe hacer ahora el Barcelona para poder recuperar la calidad de años anteriores (ya más de un club quisiera tener “la crisis” del Barza, terminando entre uno de los 4 mejores clubes de Europa y con la liga de España en el bolsillo)

Pues bien, lo del Barza se lo podemos preguntar a Pep; y lo de Team Foundation Server lo podemos ver en la guía Visual Studio Team Foundation Server Planning Guide en CodePlex. Esta guía contiene una serie de recomendaciones para la instalación y organización de un entorno basado en TFS2012, que van desde los requerimientos de Hardware hasta la organización sugerida para entornos de test, training, etc. Como siempre una imagen vale más que 1001 palabras.

image

 

Download: http://vsarplanningguide.codeplex.com/

Saludos @ Home

El Bruno

image image image

[#NETMF] HowTo: Create a motion sensor (II)


image

Buenas

in the yesterday’s post I commented on an accessory to detect movements using. Net Gadgeteer . Today we will see how with a couple of lines of code more, we can activate the camera when motion is detected, you take a picture and show it in the graphic display.

For this example we will use

With the following diagram

image

And then in the code to see that

  • When motion is detected tells the camera to take a photo (line 21)
  • When the camera takes a photo, it is shown in the graphic display
   1: using System;

   2: using GT = Gadgeteer;

   3:  

   4: namespace GadgeteerApp15

   5: {

   6:     public partial class Program

   7:     {

   8:         void ProgramStarted()

   9:         {

  10:             motion_Sensor.Motion_Sensed += MotionSensorMotionSensed;

  11:             camera.PictureCaptured += CameraPictureCaptured;

  12:         }

  13:  

  14:         void CameraPictureCaptured(GT.Modules.GHIElectronics.Camera sender, GT.Picture picture)

  15:         {

  16:             display_T35.SimpleGraphics.DisplayImage(picture, 5, 5);

  17:         }

  18:  

  19:         void MotionSensorMotionSensed(GT.Modules.GHIElectronics.Motion_Sensor sender, GT.Modules.GHIElectronics.Motion_Sensor.Motion_SensorState state)

  20:         {

  21:             camera.TakePicture();

  22:         }

  23:     }

  24: }

In the next posts to see how to send this information to a processor of movements, and even… well as mount with a model client / server.

Saludos @ Home

El Bruno

image image image

[#NETMF] HowTo: Crear un sensor de movimientos (II)


image

Buenas

en el post de ayer comenté sobre un accesorio para detectar movimientos utilizando .Net Gadgeteer. Hoy veremos como con un par de líneas de código más, podemos activar la cámara para que en el momento que se detecta movimiento, saque una foto y la muestre en el display gráfico.

Para este ejemplo utilizaremos

 

Con el siguiente diagrama

image

Y luego en el código veremos que

  • - cuando se detecta movimiento se indica a la cámara que saque una foto (línea 21)
  • - cuando la cámara saca una foto, la misma se muestra en el display gráfico
   1: using System;

   2: using GT = Gadgeteer;

   3:  

   4: namespace GadgeteerApp15

   5: {

   6:     public partial class Program

   7:     {

   8:         void ProgramStarted()

   9:         {

  10:             motion_Sensor.Motion_Sensed += MotionSensorMotionSensed;

  11:             camera.PictureCaptured += CameraPictureCaptured;

  12:         }

  13:  

  14:         void CameraPictureCaptured(GT.Modules.GHIElectronics.Camera sender, GT.Picture picture)

  15:         {

  16:             display_T35.SimpleGraphics.DisplayImage(picture, 5, 5);

  17:         }

  18:  

  19:         void MotionSensorMotionSensed(GT.Modules.GHIElectronics.Motion_Sensor sender, GT.Modules.GHIElectronics.Motion_Sensor.Motion_SensorState state)

  20:         {

  21:             camera.TakePicture();

  22:         }

  23:     }

  24: }

En los próximos posts veremos como enviar esta información a un procesador de movimientos, e inclusive … pues como montarlo con un modelo cliente / servidor.

Saludos @ Home

El Bruno

image image image

[#NETMF] HowTo: Create a movements sensor (I)


image

Buenas

today’s example does not attempt to replace a Kinect, or much less. However shows us that with a small hardware little more than €12, can create a sensor’s movements when it detects movements, begin to record the input from a camera.

On this basis, we started with the following hardware for example, where we will see the simple which can be create a Motion Detector

with these three elements, we connect the same guided by the following scheme

image

At this point, with the connected sensor we work with it is pretty simple.

Line 10 shows us that we have an event Motion_Sensed () that is activated when the sensor detects motion.

   1: using Gadgeteer.Modules.GHIElectronics;

   2: using Microsoft.SPOT;

   3:  

   4: namespace GadgeteerApp14

   5: {

   6:     public partial class Program

   7:     {

   8:         void ProgramStarted()

   9:         {

  10:             motion_Sensor.Motion_Sensed += MotionSensorMotionSensed;

  11:         }

  12:  

  13:         void MotionSensorMotionSensed(Motion_Sensor sender, Motion_Sensor.Motion_SensorState state)

  14:         {

  15:             Debug.Print("motion detected !");

  16:             // also check >> motion_Sensor.SensorStillActive

  17:         }

  18:     }

  19: }

Well, we can subscribe to this event or can change the focus and do a PULL of the status of the sensor. For this second case we check the Boolean value of the property SensorStillActive (line 15).

The sensor is quite small and has a range of about 7 meters according to official indications that we can readhere .

image

In the next post, add a camera and keep the contents of it on an SD card.

Saludos @ Home

El Bruno

image image image

[#NETMF] HowTo: Crear un sensor de movimientos (I)


image

Buenas

el ejemplo de hoy no intenta reemplazar a un Kinect, ni mucho menos. Sin embargo nos muestra que con un pequeño hardware de poco más de €12, podemos crear un sensor de movimientos que cuando detecte movimientos, comience a grabar el input de una cámara.

Sobre esta base comenzamos con el siguiente hardware para el ejemplo, donde veremos lo simple que puede ser crear un Motion Detector

con estos 3 elementos, conectamos los mismos guiados por el siguiente esquema

 

image

En este punto, con el sensor conectado vemos que el trabajo con el mismo es bastante simple.

La línea 10 nos muestra que tenemos un evento Motion_Sensed() que se activa cuando el sensor detecta movimiento.

   1: using Gadgeteer.Modules.GHIElectronics;

   2: using Microsoft.SPOT;

   3: namespace GadgeteerApp14

   4: {

   5:     public partial class Program

   6:     {

   7:         void ProgramStarted()

   8:         {

   9:             motion_Sensor.Motion_Sensed += MotionSensorMotionSensed;

  10:         }

  11:  

  12:         void MotionSensorMotionSensed(Motion_Sensor sender, Motion_Sensor.Motion_SensorState state)

  13:         {

  14:             Debug.Print("motion detected !");

  15:             // also check >> motion_Sensor.SensorStillActive

  16:         }

  17:     }

  18: }

Pues bien, podemos suscribirnos a este evento o podemos cambiar el enfoque y hacer un PULL del estado del sensor. Para este segundo caso debemos verificar el valor booleano de la propiedad SensorStillActive (línea 15).

El sensor es bastante pequeño y tiene un rango de unos 7 metros según las indicaciones oficiales que podemos leer aquí.

image

En el próximo post, le agregamos una cámara y guardamos el contenido de la misma en una tarjeta SD.

 

Saludos @ Home

El Bruno

image image image