Question

In: Computer Science

Please discuss the answer with details: (Machine learning using CNN) I need those questions to answer...

Please discuss the answer with details: (Machine learning using CNN)

I need those questions to answer for fruit detection system apply for project report. Please discuss broadly.


3.Why a fruit detection system using neural network (Cnn) is needed?
4.what Methods to use in a fruit detection system using neural network (Cnn)?
How to use TensorFlow to make a fruit detection system using neural network (Cnn)

Solutions

Expert Solution

3.Answer

A Convolutional neural network (CNN) is a neural network that has one or more convolutional layers and are used mainly for image processing, classification, segmentation and also for other auto correlated data.

Why CNN are hugely popular is because of their architecture , the best thing is there is no need of feature extraction. The system learns to do feature extraction and the core concept of CNN is, it uses convolution of image and filters to generate invariant features which are passed on to the next layer.

CNN applied to different automatic processing tasks of fruit images: classification, quality control, and detection. In the last two years (2019–2020), the use of CNN for fruit recognition has greatly increased obtaining excellent results, either by using new models or with pre-trained networks for transfer learning.

Recent work in deep neural networks has led to the development of a state-of-the-art object detector termed Faster Region-based CNN (Faster R-CNN). We adapt this model, through transfer learning, for the task of fruit detection using imagery obtained from two modalities: colour (RGB) and Near-Infrared (NIR). Early and late fusion methods are explored for combining the multi-modal (RGB and NIR) information. This leads to a novel multi-modal Faster R-CNN model, which achieves state-of-the-art results compared to prior work with the F1 score,. In addition to improved accuracy, this approach is also much quicker to deploy for new fruits, as it requires bounding box annotation rather than pixel-level annotation (annotating bounding boxes is approximately an order of magnitude quicker to perform).

4.Answer

1.Fruit Detection Using a Conditional Random Field

we use a CRF to model colour and visual texture features from multi-spectral images led to the impressive performance for fruit segmentation. The multi-spectral images contain both colour (RGB) and Near-Infrared (NIR) information. The CRF uses both colour and texture features. The colour features are constructed by directly converting the RGB values to the HSV colour space. Visual texture features are extracted from the NIR channel. NIR images are used to calculate texture features, as they were found to be more consistent than the colour imagery. Three sets of visual texture features are used:

(i) Sparse Autoencoder (SAE) features

(ii) Local Binary Pattern (LBP)

(iii) a Histogram of Gradients (HoG) .

Each feature captures a different property, such as the distribution of the local gradient, edges and texture, respectively. It appears that the LBP feature can capture information, such as the smooth surface of fruits, and provides an efficient method for encoding visual texture.

2.Fruit Detection Using Faster R-CNN

Despite the recent progress being made using deep convolutional neural networks on large-scale image classification and detection , accurate object[fruit] detection still remains a challenging problem in the computer vision and machine learning fields. This task requires not only detecting which objects are in a scene, but also where they are located. Accurate region proposal algorithms thus play significant roles in the object detection task.

There are recent works, such selective search, which merges super pixels based on low-level features, and EdgeBoxes, making use of edge information to generate region proposals. However, these methods require as much running time as the detection to hypothesise object locations. Faster R-CNN was proposed to overcome this challenge by introducing the Region Proposal Network , which shares convolutional features with the classification network, and two networks are concatenated as one network that can be trained and tested through an end-to-end process. By doing that, the running time for region proposal generation takes around 10 ms, and this framework can maintain a 5 fps detection rate and outperform the state-of-the-art object detection accuracy using very deep models.

The Faster R-CNN work of uses colour (RGB) images to perform general object detection. It consists of two parts: (i) region proposal

(ii) a region classifier.

The region proposal step produces a set of NP proposed regions (bounding boxes) where the object(s) of interest could reside within the image. The region classifier step then determines if the region belongs to an object class of interest; the classifier could be a 2-class or N-class classifier. To train the Faster R-CNN for our task, we perform fine-tuning . This requires labelled (annotated) bounding box information for each of the classes to be trained.

Multi-Modal Fusion

Here, we present the two methods, late and early fusion, that we use to combine the multi-modal (RGB and NIR) imagery that we have. Late fusion combines the classification decisions from the two modalities. Early fusion alters the structure of the input layer of the VGG network.

Late Fusion

Late fusion combines the classification information from the two modalities, colour and NIR imagery. Using the independently-trained models for each modality

Each modality m produces Nm,P region proposals. To combine the two modalities, these region proposals are combined to form a single set of NP* = m × Nm,P region proposals. A score sm,p is then proposed for the p-th proposed region of the m-th modality. A single score for the p-th region is produced by averaging the response across the modalities,

sp=∑m=1Msm,p

The score is a C-dimensional variable, where C is the number of classes to be classified.

TensorFlow to make a fruit detection system using neural network(cnn)

These are the steps used to training the CNN (Convolutional Neural Network).

Steps:

Step 1: Upload Dataset

Step 2: The Input layer

Step 3: Convolutional layer

Step 4: Pooling layer

Step 5: Convolutional layer and Pooling Layer

Step 6: Dense layer

Step 7: Logit Layer..


Related Solutions

Please answer all of the questions in as much details as you can. You need at...
Please answer all of the questions in as much details as you can. You need at least 2-3 sentences to answer the question, 2-3 sentences to provide details and examples. 1. Why do researchers prefer to use the word gender rather than sex when referring to social or cultural categories? 2. Define human sexuality? What are some of the sources that may influence an individual’s value system? 3. List some of the beliefs and behaviors about sex and sexuality that...
Please answer all of the questions in as much details as you can. You need at...
Please answer all of the questions in as much details as you can. You need at least 2-3 sentences to answer the question, 2-3 sentences to provide details and examples. 1. Why do researchers prefer to use the word gender rather than sex when referring to social or cultural categories? 2. Define human sexuality? What are some of the sources that may influence an individual’s value system? 3. List some of the beliefs and behaviors about sex and sexuality that...
Please i need answer on those questions. 1-Have you ever requested hard copies of your medical...
Please i need answer on those questions. 1-Have you ever requested hard copies of your medical records? Why/why not? Describe that experiences i.e. authorization, time on task, fees involved. 2. Do you maintain a hardcopy folder for each family member? Why/why not? Describe your system and share an organizational tip for others to emulate. 3. Do you use the electronic patient portal to maintain your medical records? Why/why not. Describe your back-up system and share an organizational tip for others...
Please answer those questions. Those are about the magnetic force experiment. Q1. Discuss how the Helmholtz...
Please answer those questions. Those are about the magnetic force experiment. Q1. Discuss how the Helmholtz coils creates a magnetic field and what direction it is (You will have to assume a direction of current for this part). Q2. Discuss how the magnetic torque is created on the 100 turn coil and what it does.
please i need a computer typing answer with details as possible 1-What is a substrate (futile)...
please i need a computer typing answer with details as possible 1-What is a substrate (futile) cycle? Describe an example of a pathology that develops from a substrate cycle.
Hi,I need the fastest possible answer, I need solution for this issue with all the details...
Hi,I need the fastest possible answer, I need solution for this issue with all the details just nu .BR/Ha Q. Answer whether the following examples of Foreign Direct Investment (FDI) describe horizontal or vertical FDI. Explain your answers. a) Volvo builds a car factory in Austin, Texas, which is similar to Volvo’s factory in Gothenburg. The main purpose is to avoid US import tariffs. b) H&M relocates production of its clothes from Sweden to Bangladesh to reduce wage costs. (5...
Hi,I need the fastest possible answer, I need solution for this issue with all the details...
Hi,I need the fastest possible answer, I need solution for this issue with all the details just nu .BR/Ha 1-Give an overview of the studies testing discrimination in education.
Please answer the below questions ( I need answers for all the below questions). Thank you...
Please answer the below questions ( I need answers for all the below questions). Thank you True or False Write true if the statement is true or false if the statement is false. _______ The heart consists mainly of muscle. _______ Blood pressure is highest in veins. _______ Atherosclerosis is the buildup of plaque inside arteries. _______ Platelets are blood cells that fight infections. _______ Peripheral gas exchange takes place in the lungs. _______ Food travels from the mouth to...
please answer all 4 questions. i don't need a long answer. please explain them briefly and...
please answer all 4 questions. i don't need a long answer. please explain them briefly and correctly. Thank you in advance. 1. What does the term qualitative analysis mean? 2. The confirmatory reactions that identify nitrate and nitrite both produce brown NO2 gas. What criterion will you use to determine which anion produced the gas? 3. The confirmation reaction for the halides involves the addition of chlorine water. Describe how you will know which, if any, of the anions is...
I need an answer to all three questions, please. Q1: Which of the following was not...
I need an answer to all three questions, please. Q1: Which of the following was not a policy response to the Economic crisis associated with the COVID-19 Crisis? Select one: a. The Fed lowered the policy rate by roughly 1.5 percentage points to nearly zero. b. The U.S. Congress passed a roughly $3 Trillion economic stimulus package. c. The Commonwealth of Massachusetts relaxed the balanced budget rule in the State Constitution. d. The Fed introduced facilities to keep markets liquid...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT