Reference no: EM13739577
All of your code must be in a single JY file named assignment2.jy. Each of the following levels (except level 0, which is not code) must be attempted in its own function (e.g. level 1 in level1(), etc.).
While you are permitted to create helper/utility functions that may be shared between the different levels, there must not be any direct interactions between the functions of different levels. E.g. level2() must never call level1(), etc. While this may not be ideal, if there is an issue with one level, we can still mark the other levels for what they are.
Level 0: Data preparation
Before any coding, prepare your data based on the given guidelines. You must create at least one character image (needed for level 1) and at least one image containing the text to detect. The text to detect must contain at least two occurrences of the chosen character and as shown must be just a single row of text.
Level 1: Detect instances of one character
Create a JES function named level1() and include the relevant behaviours. Specifically, in this level, you only need to detect just one character from the text and the text is only in a single row. The text image needs to have at least two occurrences of the character that you have chosen to detect.
Level 2: Detect all characters including space
Copy, paste and extend your level1() in a function named level2() so that all characters (uppercase A to Z and space) can be detected.
Hint: There is no need to use lists for level 2 (see level 3) but there will be a lot of code repetition (which is permitted for this level).
Tip 1: Look up "QUICK BROWN FOX..." (or similar) when preparing your text image to detect.
Tip 2: As having one image file per character mask can be tedious, feel free (but it is not a requirement) to create a single image with characters A-Z and "extract" the masks from that. You can manually enter/assume the bounding coordinates of each character.
Level 3: Using lists/arrays
Copy, paste and extend the level2() function in a function named level3() for this level. You must now store the character mask picture objects for A to Z and the space character in a list/array. This should significantly reduce code repetition that you would have in level 2.
What you learned from the research in the articles
: What connections and or confirmations can you make between the results of your interview and what you learned from the research in the articles?
|
What institutions are playing a role in greeces future
: Greece is trying to re-establish its power within a complex system of regional and international organizations. Describe Greece's situation. What institutions are playing a role in Greece's future? Are there other institutions and factors affecting t..
|
Bargaining power of suppliers
: Before writing your response, using the textbook and knowledge you have about the airline industry, complete the industry analysis. Provide a rating for each area and provide a short justification for the rating: Rate High, Medium, Medium to Low, or..
|
Competitors on factors important in the industry
: Question 1: Critical-Success-Factor (CSF) analysis is one of the few analytical tools available to compare one's company with its competitors on factors important in the industry.
|
Create a jes function
: Create a JES function named level1() and include the relevant behaviours. Specifically, in this level, you only need to detect just one character from the text and the text is only in a single row.
|
What is the effective annual rate
: You credit card statement says that you will be charged 1.05% interest a month on unpaid balances. What is the Effective Annual Rate (EAR) being charged
|
Debate about whether high employment rates
: Currently there is a debate about whether high employment rates in the US are the result of cyclical factors or structural factors. Describe this debate? What impact might immigration have on the different types of unemployment?
|
Income taxes affect aggregate demand
: Which of the following was not a cause of the U.S. budget deficits in the 1980s? Which of the following does not qualify as an automatic stabilizer? Income taxes affect aggregate demand. Which of the following constitutes a direct tax?
|
All organizational learning disabilities
: Identify a current organization that is not, in your opinion, a Learning Organization. Your are to develop a presentation and supporting paper that will describe how, through a Systems View
|