F ULL SYSTEM TEST AND RESULT

Một phần của tài liệu Luận văn a jetson xavier based smart parking (Trang 67 - 74)

In this section we will present the test cases we wrote for our system as well as their results. We will have a total of 2 main test cases focusing on the detection of parking space and 2 main test cases for license plate recognition using the edge devices in conjunction with the server and client app and website moni- toring of said detection. We will also have 2 test cases focusing on the process of creating and completing a booking

5.4.1.TESTCASE1: PARKINGSPACE DETECTION OFEMPTY SPACES DESCRIPTION

• Empty parking space detection and monitor

• Pre-condition: All 5 spaces of area C5 of Ho Chi Minh City University of Technology parking lot are occupied in the database. Prepare a video of 5 empty parking spaces

PROCEDURE

• Website and mobile application get data from server.

• Connect the Jetson Xavier to a Wifi hotspot.

5

58 5.RESULT AND EVALATION

• Start the detection file on Jetson Xavier with the prepared video.

• Send detection results to the server every 3 seconds or changing in the number of vehicles.

• Server receive the result from edge device.

• Website and mobile application get data from server.

EXPECTEDRESULT

• Edge device sends correct detection information (all empty) every 3 sec- onds to the server.

• Server receives edge’s information every 3 seconds and updates it to the database.

• Website and mobile application update parking lot data with all spaces empty

RESULT

• Pass

5.4.2.TESTCASE2: PARKINGSPACE DETECTION OFOCCUPIEDSPACES DESCRIPTION

• Occupied parking space detection and monitor

• Pre-condition: All 5 spaces of area C5 of Ho Chi Minh City University of Technology parking lot are empty in the database. Prepare a video of 1 empty and 4 occupied parking spaces.

PROCEDURE

• Website and mobile application get data from server.

• Connect the Jetson Xavier to a Wifi hotspot.

• Start the detection file on Jetson Xavier with the prepared video.

• Send detection results to the server every 3 seconds or changing in the number of vehicles.

• Server receive the result from edge device.

• Website and mobile application get data from server.

5

EXPECTEDRESULT

• Edge device sends correct detection information (1 empty and 4 occupied parking spaces) every 3 seconds to the server.

• Server receives edge’s information every 3 seconds and updates it to the database.

• Website and mobile application update parking lot data with parking zone status with 4 occupied and the 1 empty.

• Application will provide user for booking other parking zones.

RESULT

• Pass

5.4.3.TESTCASE3: LICENSEPLATERECOGNIZATIONCHECK IN DESCRIPTION

• Check in for customer by detecting their license plates.

• Pre-condition: Customer book completely a parking lot with given their license plate number. Prepare a video of a vehicle having the license plate number.

PROCEDURE

• Website and mobile application get data from server.

• Connect the Jetson Xavier to a Wifi hotspot.

• Start the detection file on Jetson Xavier with the prepared video.

• Send detection results to the server.

• Server receive the result from edge device.

• Website and mobile application get data from server.

EXPECTEDRESULT

• Edge device sends correct detection information (user’s license plate num- ber) to the server.

• Server receives edge’s information and updates it to the database.

• Website and mobile application update booking data status.

• Application ask user for confirming their license plate number.

5

60 5.RESULT AND EVALATION

RESULT

• Pass

5.4.4.TESTCASE4: LICENSEPLATERECOGNIZATIONCHECK OUT DESCRIPTION

• Check out for customer by detecting their license plates.

• Pre-condition: Customer end the time consuming in parking lot with given their license plate number on the booking data. Prepare a video of a vehicle having the license plate number.

PROCEDURE

• Website and mobile application get data from server.

• Connect the Jetson Xavier to a Wifi hotspot.

• Start the detection file on Jetson Xavier with the prepared video.

• Send detection results to the server.

• Server receive the result from edge device.

• Website and mobile application get data from server.

EXPECTEDRESULT

• Edge device sends correct detection information (user’s license plate num- ber) to the server.

• Server receives edge’s information and updates it to the database.

• Website and mobile application update booking data status.

• Application ask user for paying and confirming the result.

RESULT

• Pass

5.4.5.TESTCASE5: CREATINGBOOKING DESCRIPTION

• Allow user to make booking with the system.

• Pre-condition: Parking zone C5 has enough empty lots for suitable book- ing. Customer does not currently have any booking. Prepare a video of 3 empty and 2 occupied parking spaces.

5

PROCEDURE

• Website and mobile application get data from server.

• Customer A uses Mobile application and proceed to book a lot of area C5.

• Mobile application send request to create new booking of area C5.

• Server create new booking and change status and send response to mo- bile application.

• Mobile application receive response and shows that user booked success- fully.

• Start the detection file on Jetson Xavier with the prepared video.

• Send detection results (3 empty and 2 occupied) to the server.

• Server receive the result from edge device and update status of parking zone for keep booking ticket.

EXPECTEDRESULT

• Mobile application sends correct information to server.

• Server receives booking information and response after 3s at most.

• Mobile application update parking lot status from 3 free space to 2 free space and send user to the home screen with the current booking shown

• Edge device sends correct detection information (3 empty and 2 occu- pied) to the server.

• Server update correctly database with 2 empty space and 1 space booked, 2 space occupied.

RESULT

• Pass

5.4.6.TESTCASE6: COMPLETING BOOKING DESCRIPTION

• Allow customers to mark a booking as completed with the system

• Pre-condition: Parking zone C5 has enough empty lots for suitable book- ing. Customer has a current booking in this parking zone. Prepare a video of 3 empty and 2 occupied parking spaces.

5

62 5.RESULT AND EVALATION

PROCEDURE

• Customer A click complete Booking in the app.

• Mobile App sends request to server.

• Server receives App request.

• Server update Database.

• Mobile application receives response and shows user that booking com- pleted successfully.

• Start the detection file on Jetson Xavier with the prepared video.

• Send detection results (3 empty and 2 occupied) to the server.

• Server receive the result from edge device.

• Server update the database accordingly.

EXPECTEDRESULT

• Server update database correctly: 2 empty, 1 booked and 2 occupied.

• Server update user complete booking list and change current booking to already booked.

• Server updates all booking status of customer and send signal for update significant data such as license plate number of customer in Edge device.

RESULT

• Pass

5.4.7.TESTCASE: EDGE DEVICE STABILITY/CONNECTION CONSISTENCY TEST

DESCRIPTION

• Check the stability of edge device during long running time.

PROCEDURE

• Connect edge device to a Wifi hotspot.

• Run the detection file on a image to make it act like running on a endless video.

• Leave the device running.

5

EXPECTEDRESULT

• Edge device send the requests to server every 3 seconds.

• Server get the updated information without losing packet or get error.

• Edge device do not automatically shutdown because of heat problem.

RESULT

• Pass

6

Một phần của tài liệu Luận văn a jetson xavier based smart parking (Trang 67 - 74)

Tải bản đầy đủ (PDF)

(79 trang)