Category Archives: AI
Dall E – Imagen – Text to photo
Deep learning and AI

Image Recognition (10 Videos):
Deep / Machine learning resources:
- Comparison of deep learning software
- Comparing Top Deep Learning Frameworks: Deeplearning4j, Torch, Theano, TensorFlow, Caffe, Paddle, MxNet, Keras & CNTK
- TensorFlow – An open-source software library for Machine Intelligence
- Caffe – Deep learning Framework
- Google cloud vision API
- Clarifai
- Build amazing apps with the world’s best
image and video recognition API.
- Build amazing apps with the world’s best
- IBM Watson API
- Amazon Rekognition
- Microsoft project Oxford
- Extract rich information from images to categorize and process visual data – and machine-assisted moderation of images to help curate your services.
External Links:
Clarifai Reference:
Step by step how to install python, clarify and run a demo code
- Download & Install Python – Just download and install 2.X
- Windows
- Add to system path:
- c:\python27\
- c:\python27\scripts\
- Add to system path:
- Run example code of Python
- print “Hello World”
- Open command prompt and run the following:
pip install clarifai==2.0.28
- Install guide for clarifai
- After a successful install without error messages, do the following:
- change directory to c:\python27\scripts
- At command prompt run the following: python clarifai config
- Provide clarifai_app_id and clarifai app_secret as follows:
- Under your clarifai account use or create new app. Find HIDE LEGACY AUTHORIZATION
- The app ID and Secret will be there.
- Login to your clarifai account
- Select PREDICT from the following page:
- Copy and paste the following to a python file:
from clarifai.rest import ClarifaiApp app = ClarifaiApp("{client_id}", "{client_secret}") # get the general model model = app.models.get("general-v1.3") # predict with the model model.predict_by_url(url='https://samples.clarifai.com/metro-north.jpg')
- Begginers
- YouTube channel of Siraj Raval
- TFLearn: Deep learning library featuring a higher-level API for TensorFlow
- Machine Learning with Python – Tensorflow demo from Video #43
- Video 52 – Installin CUDA
- Many interesting playlists relating machine learning and many other of sentdex
- Tensorflow API
- Videos – TensorFlow Object Detection API
- Anaconda – Multiple environment for Python
- Presentation:
- DIY Deep Learning for Vision:
a Hands-On Tutorial with Caffe
- DIY Deep Learning for Vision:
- Build Caffe in Windows with Visual Studio 2013 + CUDA 6.5 + OpenCV 2.4.9
- Github
- How to install Caffe in windows in 5 min
- Step 1: download Caffe on both Linux and Windows (caffe-master.zip)
- Step 2: download NVIDIA cuDNN
- Step 3: Extract caffe-master.zip
- Step 4:
- copy caffe-master/windows/CommonSettings.props.example
- to copy caffe-master/windows/CommonSettings.props
- Step 5: Locate at CommonSettings.props file and update there the GPU capabilities according to the following link:
- Step 6: Locate at CommonSettings.props and write there the path to Cuda.
- Fatkun Batch Download Image
- Download batch of images from google search, for model training purposes.
- Joseph Redmond – How computers learn to recognize objects instantly
COCO is a new image recognition, segmentation, and captioning dataset. COCO has several features:
- Object segmentation
- Recognition in Context
- Multiple objects per image
- More than 300,000 images
- More than 2 Million instances
- 80 object categories
- 5 captions per image
- Keypoints on 100,000 people
- Darknet: Open Source Neural Networks in C
- YOLO: Real-Time Object Detection
Steps to install:
- Install Ubuntu 16.04 lts
- Open terminal and install GIT:
- sudo apt-get update
- sudo apt-get install git
- Clone Darknet repo
- git clone https://github.com/pjreddie/darknet.git
- cd darknet
- make
- ./darknet
- You suppose too get hte following output: usage: ./darknet
- Install OpenCV
- sudo apt-get install libopencv-dev python-opencv
- Edit make file and change to OPENCV=1
- Make again
- Test by the following command line:
- ./darknet imtest data/eagle.jpg
How to test Darknet?
- At terminal, at darknet directory write:
- ./darknet
- Result: usage: ./darknet
- ./darknet
- How to test OpenCV?
- Open terminal and paste:
- ./darknet imtest data/eagle.jpg
- A window with eagle picture will appear.
- Open terminal and paste:
- How to test darknet predict and classify?
- Download Extractions.weights.
- Open terminal and paste:
- ./darknet classifier predict cfg/imagenet1k.data cfg/extraction.cfg extraction.weights data/eagle.jpg
- Result: classification of image.
- ./darknet classifier predict cfg/imagenet1k.data cfg/extraction.cfg extraction.weights data/eagle.jpg
- How to test Yolo?
- Download Yolo.weights
- Open terminal and paste:
- ./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg
- Result: image with classification
- ./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg
Darknet Website
- Link: https://pjreddie.com/darknet/yolo/
- Live video:
- ./darknet detector demo cfg/coco.data cfg/yolo.cfg yolo.weights
- Video from file:
- ./darknet detector demo cfg/coco.data cfg/yolo.cfg yolo.weights
- Changing The Detection Threshold
- ./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg -thresh 0
Docker
- Pull darknet
- sudo docker pull loretoparisi/darknet
- Test Docker darknet:
- run darknet
- docker run –rm -it –name darknet loretoparisi/darknet bash
- cd darknet
- ./darknet detector test cfg/coco.data cfg/yolo.cfg /root/yolo.weights data/dog.jpg
- run darknet
- AI
- Machine learning
- Tensorflow
- Deep learning
- Generate models for tensorflow
- Microsoft application for machine learning
- Teachable Machine
- Geektime
- This is a tool to create trained model to be downloaded and used by Tensorflow.
- GitHub-TeachableMachine
- Glitch
- Many Machine learning projects.
Google Home a platform to centralize smart home control

General
- A home that has elements that can be controlled by Voice and / or smartphone app.
- What elements are controlled?
- Lights
- Hot water boiler
- Air conditioner
- TV
- All IR controlled elements
- Many many more
- The next step of evolution for smart-home will be to integrate with Google Home.
- What you will achieve with Google home (google play / app store)?
- Share with other home members the ability to control devices with having them to install 3rd party apps.
- Voice control over the devices.
- Configure your devices by eWelink sonoff or by broadlink.
- Add devices to google home and link accounts of Sonoff and Broadlink to google home.
- Vocie control by smartphone or by google home app the devices at your home.
- Note for Broadlink:
- In order to integrate with Google home, user must use “Intelligent home control” – IHC app.
- At least one scene must be defined at IHC app in order to be able to control the device.
- How to operate the device by voice?
- At google home state:
- “Hey google” (or “OK google”) “turn on” (or “switch on”) [scene name at IHC] .
- At google home state:
- How to connect
- Step 1 – wiring as follows:
- Step 2 – Long click on the button of the Sonoff
- Step 3 – Configure Ewelink app with sonoff device.
- Option 1:
- eWeLink Powr2-hw
- Option 2:
- MouesHouse Smart boiler switch
- AliexpressMoesHouseofficialstore
- How to pair?
- Action: Long press on the switch (about 15 sec).
- Result: Led on Switch is blinking.
- Action: At smarlife app, add a device of type: Switch wifi.
- Result: Switch add wizard starts.
- Action: Follow the wizard.
Boiler heater control
Automation services
SBC and Raspberry PI central links page

Parts and accessories
More
- RASPBERRY PI WITH 3.5 INCH LCD TFT SCREEN
- RASPBERRY PI CAMERA MODULE V2
- INSTALL TENSORFLOW ON RASPBERRY PI AND CLASSIFY IMAGES
- RASPBERRY PI 3 IS HERE
- PI-TOPCEED, THE FIRST $99 RASPBERRY PI DESKTOP!
- RASPBERRY VERIFIED PERIPHERALS
- HOW TO BUILD OPEN-ELEC KODI MEDIA CENTER BASED ON RASPBERRY PI
- ELEMENT 14 – TOUCH SCREEN FOR RASPBERRY PI
- LIST OF PROJECTS – RASPBERRY – ARDUINO
- PIOT 101: RASPBERRY PI + INTERNET OF THINGS
- RASPBERRY – INSTALL NOOBS AND OTHER OPERATING SYSTEMS
- MYSCADA – SUPERVISORY CONTROL AND DATA ACQUISITION
- HOWTO SETUP RASPBERRY PI 2 AS IOT – YOUTUBE
- RASPBERRY PI STAYS HIGH IN SBC SURVEY
- BANANA PI – A HIGHEND SINGLE-BOARD COMPUTER
- RASPBERRY PI 2 VS ORANGE PI VS BANANA PRO
- MEDIA CENTER – RASPBERRY PI – KODI – XBMC
- WHAT’S ORANGE PI PLUS?
- RASPBERRY PI MODEL B
- How to install OpenCV of Raspberry pi
Board development and Design
- TOP 5 BEST CROSS-PLATFORM MOBILE DEVELOPMENT TOOLS
- WIRINGPI – GPIO LIBRARY
- WYLIODRIN – GREAT IDE FOR RASPBERRY, ARDUINO AND MORE SBC
- WEBIOPI – INTERNET OF THINGS FRAMEWORK
- FRITZING – AN OPEN-SOURCE HARDWARE INITIATIVE
- SCRATCH GPIO – RASPBERRY – FIRST STEPS
- TOP SINGLE BOARD COMPUTERS (SBC) DEVELOPING ENVIRONMENTS (IDE)
- WIRING – AN OPEN-SOURCE PROGRAMMING FRAMEWORK FOR MICROCONTROLLERS
- ELECTRONICS DESIGNER RESOURCES