Detecting Targets using Python - image

I am new to python and I want to develop a code to detect the following targets.
target to detect
target to detect 2
Any links would be appreciated..?

You can use Convolutional Neural Networks (CNN) to classify given image as one of the two.
There are plenty of links for image classification using CNN in the Net.

Related

Matlab and Simulink for home image processing?

I'm trying to learn image processing for a new job--e.g. sharpening, noise reduction, edge detection, white balancing, color reconstruction, scaling--and all I have for my current work MatLab is the basic 2017b package with no additional toolboxes. I'm perfectly willing to pay a few hundred dollars for home use of MatLab plus some toolboxes and the appropriate Simulink package. Simulink seems to be necessary for several of the tasks I mentioned such as sharpening and edge detection. Can someone who does image processing please list what packages I should purchase? I'd be very grateful! I'm starting a Udemy course on image processing but it only does some very basic image manipulation.
Trying to use Matlab 2017b. Doesn't have the necessary functionality do do advanced image processing.

Algorithm to detect doors and windows in an image

I'm working on an educational project where I need to detect objects, mainly doors and windows. I have tried to find specific algorithms to do this.
This is the first step in a project to detect all objects and let a user choose the object he wants. Then in the next step the system will define edges of the object accurately.
I want to detect objects by their color variety with background or with overlapping objects. I need an algorithm to start with. I started learning color spaces and I chose hvs color space. I read many papers and I know how they work, but I'm still confused and don't know what algorithm will really help.
You can use any segmentation algorithm.
You will need to find features from images to use in segmentation, a good approach for feature selection is by using any deep learning technique, i would recommend try CNN, you will find a builtin library "matconvnet" "http://www.vlfeat.org/matconvnet/" for implementing CNN in MATLAB.
you can also find few already build models for segmentation using CNN here http://www.vlfeat.org/matconvnet/pretrained/

Recognition of numbers in images(Matlab)

I am learning image processing and i am trying to start my first project, that is Simple number recognition in an image.
So far i have applied thresholding to the image. Now i would like to know some algorithms by which my system can recognize the number in the image. Preferably the algorithm must be simple and it doesn't have to robust as i am would be generating the image in paint using the same font.
I have looked at the similar questions here on SO and they all point out to using libraries. Remember guys i am trying to learn so please don't point out some libraries.
Are the numbers printed or hand-written?
The Computer Vision System Toolbox includes a function called ocr, which will recognize both, letters and numbers.
If you are looking for hand-written digit recognition, please take a look at this example.

Matlab SVM for getting output in binary form

I need to use SVM for image features extracted. The ouput of SVM should be in binary. Please share the resources if any available. Actually I am working on sclera detection. I manually got the sclera region from the training images and have the features extracted in the form of histogram values of each and every sub region in the image. Now I will extract the same features from the test image. Upon receiving the features from the test image, I need to compare test and training features with SVM on whether that particular block corresponds to sclera or not. If i get an out put in 0 and 1 form, then I shall use the code to segmentation of the region in an easier way.
Look at libsvm for Matlab, which is probably the most widely used free SVM toolbox in Matlab.
There is a useful post about libsvm in Matlab right here. When you download libsvm, it contains several examples for Matlab that I was able to run in a few minutes. You can easily modify one of those examples to get your binary output.

How to segment an image efficiently?

i search a solution to segment a image in different parts (Especial a saliency map (see image)).
I knew about some Solutions like Graph-Based segmentation by Pedro F. Felzenszwalb, but for large images my implementation is very slow.
Is there some other solution?
Greetings,
Destiny
Destiny,
What is the specific goal of this segmentation? Are you just trying to create separate regions in a still image? Are you looking for objects, and segmenting the image to find ROIs for later work?
The more specific you can be about your segmentation goals, the more specifically you can tailor your code. Binarizing your image through thresholding, or separating it into smaller chunks via feature detection, could significantly speed up your code.
The only other general image segmentation algorithm I can think of that is implemented in the OpenCV libraries is the water shed algorithm. You can find it in the docs, or look up Laganiere's OpenCV 2 Computer Vision Application Programming Cookbook, which contains an excellent tutorial on both of these algorithms.

Resources