(Original article) Significant progress in the discussion (Daily Record)

Source: Internet
Author: User

Abstract
Although I have already studied it twice, the final result of the commentary is still unexpired and due to busy with the discussion, so the blog is rarely updated, today, we have completed one of the "anti-manual earthquake" functions, which is the largest progress in this month.

Introduction
What I want to do is to use the CMOS camera on de2 to obtain the content represented by the QR code two-digit condition. There are several points to overcome:

1. hardware integration:
Using solid hardware integration, run the niosii softcore CPU on the de2 platform, and then add the μ c/OS-II to control the hardware by the solid body, this part of control and Animation programs related to the aveon bus has been resolved during the learning period. Please refer to the most difficult battle of your programming career: develop the CCD motion program (IC design) (de2) (nioii) on de2 ).

2. Anti-manual earthquake function:
When using cmos to capture QR code, it is easy to blur the image due to a mobile earthquake. This will affect the quality of the QR code solution, so we hope that we can use the motion detection technology to automatically press the quick response when it is no longer in motion.

3. Use hardware to parse the QR code:
Currently, we can see QR code decoding, including C samples, C ++ samples, and Java samples. However, these solutions are implemented in the form of samples, due to the limited speed of embedded CPU operations, if the amount of QR code resources is large, the need to use manual solution cannot be resolved to real time, at this time, only the hardware acceleration method is used to solve the QR code.

Today, I am very happy to announce that the "anti-manual earthquake" function has been completed. I mainly used the technical solutions for removing detection and motion detection, and I got it from the beginning, it took more than a month to solve the following problems:

1. Check that the power of the Tilde is not enough.
Apart from the use of C statement for the first notebook program, both anti-manual earthquake and QR code solution should be written in OpenGL. I can hardly understand the power of the speech, in particular, the clock driven idea of hardware is very different from the actual system. Therefore, it is also difficult to find out how to solve the problem by using the kernel.

2. I don't know whether SignalTap is a good thing.
When the hacker experiences a bug, the most important thing is the debug tool. In addition, I used the debugging tool to remove the problem, take Quartus II and Modelsim as the two tools, but one of the major problems of these two tools is that debug cannot be performed, and the value of a register cannot be seen at runtime, whether there are changes... wait, until the professor reminded me of SignalTap, I knew where the problem was, soTools are really important !! Cannot rely solely on eye debug.

3. I didn't think of the huge influence.
In the past, when I was writing experiences, I never got into the question of "fail". Although I knew I was going to renew my skills, I wanted to say that I would do it later, however, I did not expect that the main reason for the loss of mobile phone defense was that the reason for the loss was that the "failed operation" was too large, which caused motion detection.AlgorithmI decided to report a loss. After I first went to the trial today, the motion detection was completed successfully, so that I could develop a hardware environment, "too many" is so important.

Future work
In fact, the biggest challenge is to solve the problem of QR code by Using OpenGL. At present, we haven't seen any examples of using OpenGL, so we have to dig 100% ourselves, it is hoped that this part will be successfully completed in the future and will be profitable in July.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.