System and method for controlling the spatial resolution of a video surveillance camera in a transport vehicle

The method automates the control of spatial resolution for video surveillance cameras by detecting reference equipment and adjusting digital resolution, addressing imprecision and inefficiencies in existing manual methods.

FR3139223B1Active Publication Date: 2024-08-23SNCF VOYAGEURS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2022008742
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2024-08-23
Estimated Expiration
2042-08-31

Smart Images

  • Figure 00000016_0000
    Figure 00000016_0000
  • Figure 00000016_0001
    Figure 00000016_0001
  • Figure 00000016_0002
    Figure 00000016_0002
Patent Text Reader

Abstract

A method for controlling the spatial resolution of a camera (2), the camera (2) being configured to view a target area (Z) containing a reference device (EQ) and to acquire a current image of the target area (Z), the reference device (EQ) being associated in a database with a bounding shape defining at least one first dimension along a first direction, the method comprising the steps of: positioning on the current image the bounding shape associated with the detected reference device (EQ), the reference device (EQ) being inscribed within the bounding shape; determining a spatial resolution of the camera (2) along the first direction from the maximum number of pixels representing the bounding shape on the current image along the first direction and the first dimension associated with the reference device (EQ). Abstract figure: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: System and method for controlling the spatial resolution of a video surveillance camera in a vehicle transportation Technical field

[0001] = The present invention relates to the field of video surveillance devices and more particularly relates to a system and a method for controlling the resolution spatial of a video surveillance camera in a transport vehicle, in particular a railway vehicle.

[0002] — In a known manner, with reference to [Fig.1], a railway vehicle W comprises several railway cars 1 to accommodate passengers. In each railway car- roviaire l, it is known to mount one or more video surveillance cameras 2 to monitor the interior of railway car 1 and ensure the protection of passengers.

[0003] — With reference to [Fig.2], in the railway car 1, the camera 2 is positioned and precisely oriented to visualize a predetermined target Z zone. As a for example, camera 2 can be positioned and oriented so as to view a P door for access to the outside to see passengers entering and leaving or in a to visualize a passenger space comprising several rows of seats for example.

[0004] In a known manner, each camera 2 comprises an image acquisition member 20 which allows real-time acquisition of images of the target zone Z. Camera 2 is connected to a recording device Enr to store the images.

[0005] In practice, the image acquisition member 20 is characterized by a resolution digital. Resolution determines the number of pixels that form the acquired image by the image acquisition device 20. By definition, a pixel corresponds to the unit of basis of the definition of a digital image, that is to say the smallest element constitutive of the image.

[0006] … The image acquisition device 20 is also characterized by a resolution spatial which corresponds to the number of pixels used to represent a distance given real area or a given real surface. Thus, if the image acquisition device 20 has a spatial resolution of N pixel / meter, this means that a real length of one meter must be represented on the image by N pixels.

[0007] — In practice, to meet certain requirements, each camera 2 must have a predetermined spatial resolution based on the target area Z that it visualizes in rail car 1. For example, camera 2 must have a resolution spatial of 400 pixels per meter when viewing a P access door to outdoors or a resolution of 100 pixels per meter when viewing a passenger space. In order for the images to be used legally, it is necessary to ensure that the spatial resolution is compliant. When installing each camera 2, the spatial resolution is checked to ensure that it meets the required requirements. Similarly, when the rail vehicle W is in motion, due to vibrations for example, the spatial resolution may be changed, which is a disadvantage. In the prior art, to control the spatial resolution of a camera 2, a first operator positions himself in the target zone Z facing the camera 2 and unrolls a tape measure with a length of one meter. The image acquisition member 20 transmits an image of the target zone Z to the recording device Enr. A second operator views the received image on a display screen Ecr, counts the number of pixels which make it possible to represent the tape measure and deduces the spatial resolution in number of pixels per meter. When the spatial resolution is different from the desired spatial resolution, the operator modifies the digital resolution of the camera 2 until the expected spatial resolution is obtained. This method of spatial resolution control is imprecise and tedious. The first operator must ensure the exact length of the unrolled tape measure, and the second operator must accurately count the pixels in the received image. In addition, the control must be repeated for a large number of cameras in the railway vehicle, which is time-consuming and prone to additional errors. Furthermore, the operation requires the intervention of two operators, which is undesirable. The invention was born from a known problem in the railway sector, however it goes without saying that it applies to any transport vehicle equipped with video surveillance cameras whose spatial resolution must be controlled. The invention thus aims to eliminate at least some of these drawbacks by proposing a method for controlling the spatial resolution of a video surveillance camera in a transport vehicle which is reliable, simple, rapid and efficient, while being achievable by a single operator. PRESENTATION OF THE INVENTION The invention relates to a method for controlling the spatial resolution of at least one camera for video surveillance of a transport vehicle, the camera being fixedly mounted in the transport vehicle, the transport vehicle comprising at least one target area to be monitored, the target area comprising at least one reference device, the reference equipment being associated, in a database, with a enclosing shape defining at least a first dimension according to a first direction, the camera being configured to look at the target area and acquire an image current image of the target area, the current image comprising a plurality of pixels organized in at least two directions. The method comprises the steps of: detect, by means of a calculator, on the current image, the equipment of reference, position on the current image the surrounding shape associated with the equipment reference, the reference equipment being entered in the enclosing form, determine a spatial resolution of the camera according to the first direction to leave : of the maximum number of pixels representing the enclosing shape on the current image according to the first direction and of the first dimension associated with the reference equipment, issue an alarm if the spatial resolution along the first direction is in- lower than a reference spatial resolution. The control method according to the invention advantageously allows reliable control of the resolution of a video surveillance camera without requiring the presence of one or more operators, which makes it possible to avoid the risk of error on the part of one of them. The method makes it possible to ensure the detection of a non-compliant spatial resolution. In addition, since the method is carried out by a computer, the latter advantageously makes it possible to control a plurality of cameras of the transport vehicle quickly and simultaneously because it does not require the presence of an operator successively in front of each camera. The control method according to the invention can easily be carried out using the equipment already present in the transport vehicle and does not require the addition of a measuring meter for example, as was the case in the prior art for a railway vehicle. In a preferred embodiment, the enclosing shape is a polygon each side of which is tangent to the reference equipment, which allows the reference equipment to be conveniently inscribed in the enclosing shape. In one embodiment, the enclosing shape is a rectangle, which allows the enclosing shape to be easily positioned on the current image and allows for simplified control of the spatial resolution which is also faster. In a first embodiment, the first direction is a horizontal direction, which allows a simple determination of the number of pixels by the calculator on the current image. An image being represented in a known manner by a matrix of pixels organized in rows and columns, a horizontal direction on the image current allows you to determine the number of pixels on a line. In a second embodiment, the first direction is a vertical direction which also allows a simple determination of the number of pixels by the calculator on the current image. A vertical direction makes it possible to determine the number of pixels on a column. Preferably, in the step of positioning on the current image the encompassing shape associated with the reference equipment, the encompassing shape is placed and scaled so as to register the reference equipment detected on the current image in the encompassing shape associated in the database. Preferably, the control method comprises a step consisting of checking the presence and absence of an individual in the current image. Such a step makes it possible to ensure that the field of vision of the camera is not obscured and that the latter displays all of the reference equipment. Preferably, each step is only performed when no individual is detected on the current image, which makes it possible to limit errors in determining the number of pixels on the current image by the calculator. In a preferred embodiment, the control method comprises a preliminary activation step consisting of: detect a predetermined moment, detect a state of the transport vehicle, the state corresponding to an off state trade mission, and detect that no individual is present in the current image. Regular monitoring can thus easily be implemented and ensures that all the conditions are met for the camera to best view the reference equipment, which eliminates any risk of error in controlling the spatial resolution of the camera. Alternatively, in the preliminary step, a predetermined periodicity is detected. In one embodiment, the reference equipment represents an access door to the exterior of the transport vehicle, allowing control over equipment generally targeted by a camera in a railway vehicle for example and whose dimensions are known. Alternatively, the reference equipment represents a row of seats in the transport vehicle. In one embodiment, the transport vehicle is a rail car of a rail vehicle. The invention also relates to a system for controlling the spatial resolution of a camera for video surveillance of a transport vehicle, the camera being fixed mounting in the transport vehicle, the control system comprising: a camera having a reference spatial resolution, the camera being configured to look at a target area in the transport vehicle and to acquire a current image of the target area, the target area comprising at least least one reference device, the current image comprising a plurality of pixels organized in at least two directions, a database comprising a plurality of reference equipment, the database associating a form for each reference equipment encompassing defining at least a first dimension according to a first direction, a calculator configured for: detect the reference equipment on the current image, position, on the current image, the surrounding shape associated with the reference equipment, the reference equipment being registered in the encompassing form, determine the spatial resolution of the camera according to the first direction from: the maximum number of pixels representing the enclosing shape on the current image in the first direction, and of the first dimension associated with the reference equipment, issue an alarm if the spatial resolution along the first direction is in- lower than a reference spatial resolution. Finally, the invention relates to a railway vehicle comprising a control system as described above. PRESENTATION OF FIGURES The invention will be better understood upon reading the following description, given by way of example, and referring to the following figures, given by way of non-limiting examples, in which identical references are given to similar objects. [Fig. 1] is a schematic representation of a railway vehicle comprising a plurality of railway cars. [Fig.2] is a schematic representation of a railway car of [Fig.1] including a system for controlling the spatial resolution of a camera according to the prior art. [Fig. 3] is a schematic representation of a railway car of [Fig. 1] including a system for controlling the spatial resolution of a camera according to an embodiment of the invention. [Fig.4] is a schematic representation of a current image of a target area including reference equipment. [Fig.5] is a schematic representation of a database of the control system of [Fig.3] comprising a plurality of reference devices and a plurality of associated bounding shapes. [Fig.6] is a schematic representation of the number of pixels used to form a first dimension of an encompassing shape on the current image of [Fig.3]. [Fig.7] is a schematic representation of an enclosing form of the reference equipment of [Fig.4]. [Fig.8] is a schematic representation of the positioning of the enclosing shape of [Fig.7] on the current image of [Fig.3]. [Fig.9] is a schematic representation of a current image including an individual. It should be noted that the figures set out the invention in detail to implement the invention, said figures can of course be used to better define the invention where appropriate. DETAILED DESCRIPTION OF THE INVENTION The invention will be described below for a railway vehicle W, however it goes without saying that it applies to any transport vehicle, in particular to any passenger transport vehicle (bus, boat, etc.). As explained above, with reference to [Fig. 1], a railway vehicle W comprises several railway cars 1 for accommodating passengers. For the sake of brevity and clarity, the invention will be described for a single railway car 1, but it goes without saying that the invention also applies to a railway vehicle W comprising several railway cars 1. According to the invention, with reference to [Fig. 3], the railway car | comprises a target zone Z to be monitored, the target zone Z comprising a reference equipment EQ. A railway car 1 is described comprising a single target zone Z, however it goes without saying that the railway car 1 could comprise a plurality of target zones Z. In this example, the reference equipment EQ is an access door P to the outside of the railway car 1. Alternatively, the reference equipment EQ may be an interior door PI for access to an adjacent railway car 1, a row of seats RS, an advertising poster AP or any equipment usually mounted in a railway car 1. According to the invention, the railway vehicle W comprises a control system S for the spatial resolution of a camera 2 mounted in the railway vehicle W. The camera 2 is configured to allow video surveillance from inside one of the railway cars 1. With reference to [Fig.3], the control system S comprises the camera 2 and a computer 3 connected to a database BD. In this example, for the sake of brevity, a railway car 1 is described comprising a single camera 2, however, it goes without saying that the railway car 1 could comprise several cameras 2. In particular, in one embodiment, the railway car 1] comprises as many cameras 2 as there are target zones Z to be monitored. Still with reference to [Fig. 3], the camera 2 is configured to be fixedly mounted in the railway car 1, for example, on the ceiling. The camera 2 comprises an image acquisition member 20 configured to look at the target zone Z of the railway car 1 and to acquire a current image IM of the target zone Z. The image acquisition member 20 has a configurable digital resolution. As shown in [Fig.4], the current image IM comprises a plurality of pixels Px organized according to a first direction U and a second direction V. As described previously, by definition, a pixel Px corresponds to the smallest constituent element of the image. In other words, in [Fig.4], the pixels Px represent each small square of the large rectangle that forms the current image IM. More precisely, in this example, the current image IM is defined according to a matrix comprising a plurality of rows and columns of pixels Px, extending according to the two orthogonal directions U, V, that is to say in a plane (U, V). In this example, the direction U defines a horizontal direction X and the direction V defines a vertical direction Y, as shown in [Fig.4]. In other words, the direction U corresponds to the rows of the matrix of pixels Px of the current image IM and the direction V, to the columns of the matrix of pixels Px.It goes without saying that the first direction U and the second direction V could just as well extend respectively in the vertical direction Y and the horizontal direction X or even in different directions. According to the invention, the camera 2 must have a reference spatial resolution Rref. By definition, the spatial resolution determines the precision of the current image IM, i.e. the number of pixels Px used to represent a given real length, generally one meter. The spatial resolution depends on the digital resolution of the camera 2 and the distance from the target zone Z, the latter being able to vary significantly depending on the railway cars 1. The reference spatial resolution Rref for a camera 2 depends on the target area Z. In this example, when camera 2 views a door P providing access to the outside, it must have a reference spatial resolution Rref of 400 pixels per meter. Alternatively, camera 2 must have a reference spatial resolution Rref of 100 pixels per meter for example if it displays a passenger space, such as a row of seats RS. In practice, each target zone Z is associated with a reference spatial resolution Rref according to administrative and / or legal criteria related to video surveillance. It is important to check that when a camera 2 observes a given target zone Z, its current spatial resolution Ru corresponds to the reference spatial resolution Rref of said target zone Z. As described above, the control system S comprises a database BD which comprises a plurality of reference equipment (EQ), such as an access door P to the outside, a row of seats RS, an advertising poster AP, With reference to [Fig. 5], the database BD associates with each reference equipment EQ an enclosing shape F. The expression "enclosing shape" F means a closed geometric surface whose perimeter entirely encompasses the reference equipment EQ. Preferably, the enclosing shape F is a polygon each side of which is tangent to the reference equipment EQ. In this example, as shown in Figures 4 to 6, the reference equipment EQ having on the current image IM the shape of a quadrilateral, the enclosing shape F is a rectangle. A rectangular enclosing shape F makes it possible to simplify the control of the spatial resolution as will be presented later. It goes without saying that the enclosing shape F could have a different shape, for example the shape of a polygon comprising a number of sides greater than four.As such, the enclosing shape F could be any shape represented by a multi-sided polygon in a manner analogous to a shape representing an object class in semantic image segmentation. According to the invention, the encompassing shape F (here a rectangle) is defined in the database BD by a first dimension Du. In other words, the encompassing shape F characteristic of a reference equipment EQ has a first predetermined and known dimension Du. Preferably, the encompassing shape F is also defined by a second predetermined dimension Dv. The dimensions Du, Dv are preferably determined in meters. With reference to [Fig.6], as will be presented later, the enclosing shape F is positioned in the current image IM in the plane (U, V). More precisely, in this example, the enclosing shape F of rectangular shape extends along the first direction U and along the second direction V. In the current image IM, the first dimension Du extends along the first direction U, corresponding in this example to the horizontal direction X. Similarly, the second dimension Dv extends along the second direction V, corresponding in this example to the vertical direction NX. More precisely, still with reference to [Fig.6], on the current image IM, the enclosing shape F comprises four reference pixels Px1, Px2, Px3, Px4 (here the vertices of the rectangle) configured to define the position in pixels Px of the four corners of the enclosing shape F on the current image IM. In this example, the first reference pixel Px1 corresponds to the pixel having the co- minimum vertical and horizontal ordinates Umin, Vmin, the second reference pixel Px2 corresponds to the pixel having the co- maximum horizontal ordinate Umax and the minimum vertical coordinate Vmin, the third reference pixel Px3 corresponds to the pixel having the co- minimum horizontal ordinate Umin and the maximum vertical coordinate Vmax, the fourth reference pixel Px4 corresponds to the pixel having the co- maximum vertical and horizontal ordinates Umax, Vmax. The difference between the maximum coordinate Umax, Vmax and the minimum coordinate Umin, Vmin of the reference pixels Px1, Px2, Px3, Px4 makes it possible to define the spatial resolution according to the first dimension Du and the spatial resolution according to the second dimension Dv. As described previously and shown in [Fig.3], the control system S comprises a computer 3 configured to determine the current spatial resolution Ru of the camera 2 according to the first dimension Du. It goes without saying that the computer 3 is just as configured to determine the current spatial resolution of the camera 2 according to the second dimension Dv. For this, with reference to [Fig.7] and [Fig.8], the calculator 3 is configured to: detect on the current IM image the EQ reference equipment, determine, in the database BD, the encompassing form F associated with the EQ reference equipment, and position, on the current image IM, the enclosing shape F so that that the reference equipment EQ is entered in the enclosing form F ( [Fig.8]). More specifically, for the positioning of the enclosing shape F, the computer 3 is configured to place and scale the enclosing shape F, such that the enclosing shape F completely encompasses the reference equipment EQ and each side of the enclosing shape F is adjacent to the periphery of the reference equipment EQ, as shown in [Fig.8]. In other words, by the term "inscribed", it is meant that the enclosing shape F is positioned so that the reference equipment EQ is circumscribed therein, that is to say so that all the generatrices of the enclosing shape F are tangent to the reference equipment EQ. As described previously, the computer 3 is configured to determine the current spatial resolution Ru of the camera 2 along the first direction U from the number of pixels Px representing the bounding shape F on the current image IM along the first direction U and the first dimension Du associated with the bounding shape F of the reference equipment EQ. In practice, the current spatial resolution Ru in the first direction U corresponds to the ratio of the number of pixels Px counted between the minimum coordinates Umin and maximum Umax in the first direction U on the first known dimension Du of the bounding shape F corresponding to the reference equipment EQ. Thus, with a rectangular bounding shape F positioned judiciously, the current spatial resolution Ru is determined quickly. In an example shown in Figure 6, after the reference equipment EQ has been detected and the bounding shape F positioned on the reference image IM, the first dimension Du is measured by calculating the difference between the maximum coordinate and the minimum coordinate: Du = Unnax” Unrnin. On this first dimension Du, there are 9 pixels Px (figure 6 deliberately shows a limited number of pixels for the sake of clarity and readability of the figure, it goes without saying that the number of pixels is in reality preferably significantly greater than in this example). The calculator 9 is then configured to calculate the current spatial resolution Ru along the first direction U according to the formula described previously: R, = P, / Du Preferably, the computer 3 is configured to emit an alarm signal if the spatial resolution Ru along the first direction U is lower than the predetermined reference spatial resolution Ruref. Preferably, the computer 3 is configured to modify the digital resolution of the camera 2, i.e. the number of pixels Px of a current image IM, to measure again the current spatial resolution Ru until it corresponds to the reference spatial resolution Ruref. Thus, the control of the spatial resolution can be carried out by iterations. Preferably, the calculator 3 is configured to modify the digital resolution of the camera 2 as a function of the difference between the reference spatial resolution Ruref and the current spatial resolution Ru in order to obtain the desired reference spatial resolution Ruref. Preferably, with reference to [Fig.9], the computer 3 is configured to detect the presence of an individual IND on the current image IM of the target zone Z. In this embodiment, the computer 3 is configured to start the control system S only when no individual IND is present on the current image IM. In one embodiment, the computer 3 is configured to detect a predetermined time for starting the control system S. Alternatively, the computer 3 is configured to detect a predetermined time interval since a last control. In this example, the computer 3 is configured to detect a state of the railway vehicle W to start the control system S. Such a state corresponds in this example to a state of the railway vehicle W not on a commercial mission, making it possible to ensure that the railway vehicle W does not carry any passengers, for example. Thanks to the control system S according to the invention, the operation is carried out automatically without requiring the presence of two operators and makes it possible to avoid human approximations, as was the case in the prior art. The method is simple and quick to carry out. When the control system S comprises several cameras 2, the control is carried out simultaneously for all the cameras 2, which allows a significant saving of time. The control operation can thus be easily repeated, which makes it possible to detect more efficiently a defect in the spatial resolution of one of the cameras 9. A method for controlling the spatial resolution of a camera 2 according to an embodiment of the invention will now be described, with reference to FIGS. 3 to 9. The camera has a predetermined reference spatial resolution Ruref. In this example, the reference spatial resolution Ruref is 400 pixels Px per meter. The method comprises a preliminary step of detecting a predetermined instant which causes the activation of the control system S and in particular of the computer 3. In this example, in this preliminary step, the computer 3 also detects a signal indicating that the railway vehicle W is not on a commercial mission and therefore that no passengers are on board one of the railway cars 1. The camera 2 which visualizes the target zone Z, then acquires, in a first step E1, a current image IM of the target zone Z. The current image IM is sent, via a wired network to the computer 3. Such a wired network is for example an Ethernet network. It goes without saying that a wireless connection could be suitable. In a second step E2, the computer 3 detects the absence of an individual IND on the current image IM. In the event of detection of the presence of an individual IND on the current image IM, the computer 3 determines in this example a new pre-determined instant allowing a subsequent verification of the presence or absence of an individual IND on board the railway car 1. When the predetermined time, the “off commercial mission” state and the absence of an IND individual have been detected by the computer 3, the latter can begin controlling the spatial resolution of the camera 2. With reference to [Fig.4], the method then comprises a step E3 of detection, by the computer 3, on the current image IM, of the reference equipment EQ, in this example a door P for access to the outside of the railway car 1. This detection step E3 is carried out by a conventional image processing method. In a step E4, the computer 3 then searches, in the database BD, for the detected reference equipment EQ to determine the associated enclosing shape F, as shown in [Fig.5]. In this example, the enclosing shape F associated with the door P is a rectangle. In the database BD, the computer 3 also determines a first dimension Du along a first direction U of the enclosing shape F, for example, 1.6m. With reference to [Fig.7] and [Fig.8], the computer 3 positions, on the current image IM, the bounding shape F associated with the reference equipment EQ, in a step ES. The bounding shape F is positioned, i.e. placed and scaled, so that the reference equipment EQ is inscribed in the bounding shape F, i.e. so that each side of the bounding shape F (in this example each edge of the rectangle) is tangent to each corner of the reference equipment EQ detected and displayed. On the current image IM, the bounding shape F is defined according to the first direction U corresponding to the horizontal direction X, and the second direction V corresponding to the vertical direction Y. The positioning is carried out by an image processing method. The use of a rectangular bounding shape F speeds up the processing. With reference to [Fig.6], the computer 3 then detects, in a step E6, the position of the four pixels Px1, Px2, Px3, Px4 of the encompassing shape F on the current image IM and deduces therefrom the number of pixels Px representing the first dimension Du along the first direction U. In a step E7, the computer 3 determines the current spatial resolution Ru of the camera 2 along the first direction U from the number of pixels Px representing the first dimension Du on the current image IM and the value of the first dimension Du associated with the reference equipment EQ, according to the following mathematical formula: R, = P, / Du. Calculator 3 then compares the calculated current spatial resolution Ru with the reference spatial resolution Ruref and issues an alarm if the calculated spatial resolution Ruref is lower than the reference spatial resolution Ruref. In this example, when the current spatial resolution Ru is lower than the reference spatial resolution Ruref, the computer 3 modifies the digital resolution of the camera 2, i.e. the number of pixels Px of the current image IM and measures the current spatial resolution Ru again until it corresponds to the reference spatial resolution Ruref.

Claims

Claims

1. Method for controlling the spatial resolution of at least one camera (2) for video surveillance of a transport vehicle (VT), the camera (2) being fixedly mounted in the transport vehicle (VT), the transport vehicle (VT) comprising at least one zone target (Z) to be monitored, the target zone (Z) comprising at least one reference equipment (EQ), the reference equipment (EQ) being associated, in a base of data (BD), to an enclosing form (F) defining at minus a first dimension (Du) according to a first direction (U), the camera (2) being configured to look at the target area (Z) and acquire a current image (IM) of the target area (Z), the current image (IM) comprising a plurality of pixels (Px) organized in at least two directions (U, V), the method comprising the steps of: detect, by means of a calculator (3), on the image current (IM), reference equipment (EQ), position the shape on the current image (IM) global ({F) associated with the reference equipment (EQ), the reference equipment (EQ) being registered in the enclosing form (F), determine a spatial resolution (Ru) of the camera (2) according to the first direction (U) from the number maximum number of pixels (Px) representing the shape in- global (F) on the current image (IM) according to the first direction (U) and the first dimension (Du) associated with the reference dc equipment (EQ), issue an alarm if the spatial resolution (Ru) according to the first direction (U) is less than a re- reference spatial solution (Ruref).

2. A control method according to claim 1, wherein the shape en- global (F) is a polygon whose each side is tangent to the reference equipment (EQ).

3. Control method according to one of claims 1 to 2, in which the enclosing shape {F) is a rectangle.

4. Control method according to one of claims 1 to 3, in which the first direction (U) is a horizontal direction (X).

5. Control method according to one of claims 1 to 3, in which the first direction (U) is a vertical direction (Y).

6. Control method according to one of claims 1 to 5, in which, in the step of positioning the shape on the current image (IM) encompassing (F) associated with the reference equipment (EQ), the form en- global (F) is placed and scaled so as to inscribe the reference equipment (EQ) detected on the current image (IM) in the associated encompassing form (F) in the database (BD).

7. Control method according to one of claims 1 to 6, comprising a step of monitoring the presence and absence of an individual (IND) in the current image (IM).

8. A control method according to claim 7, wherein the step of detection, on the current image (IM), of the reference equipment (EQ), the positioning step on the current image (IM), of the form encompassing (F) associated with the reference equipment (EQ), the de- termination of a spatial resolution (Ru) of the camera (2), and the step of issuing an alarm, are only carried out when no individual (IND) is detected on the current image (IM) during the step of presence or absence control.

9. A control method according to claim 8, comprising a pre- activation preliminary consisting of: detect a predetermined moment, detect a state of the transport vehicle (VT), the state cor- corresponding to a state outside the commercial mission, and detect that no individual (IND) is present in the image current (IM).

10. Control method according to one of claims 1 to 9, in which the reference equipment (EQ) represents an access door (P) to outside the transport vehicle (VT).

11. Control method according to one of claims 1 to 10, in which the transport vehicle (VT) is a railway car (1) of a vehicle railway (W).

12. System for controlling (S) the spatial resolution (Ru) of a camera (2) for video surveillance of a transport vehicle (VT), the camera (2) being fixedly mounted in the transport vehicle (VT), the control system (S) comprising: a camera (2) having a reference spatial resolution (Rref), the camera (2) being configured to look at an area target (Z) in the transport vehicle (VT) and to acquire a current image (MI) of the target area (Z), the target area (Z) comprising at least one reference equipment (EQ), the current image (IM) comprising a plurality of pixels (Px) organized in at least two directions (U, V), a database (DB) comprising a plurality reference equipment (EQ), database (DB) associating for each reference equipment (EQ) a enclosing form (F) defining at least one first dimension (Du) according to a first direction (U), a calculator (3) configured to: detect on the current image (IM) the equipment of reference (EQ), position, on the current image (IM), the shape en- global {F) associated with the reference equipment (EQ), the reference equipment (EQ) being registered in the enclosing form (F), determine the spatial resolution (Ru) of the camera (2) according to the first direction (U) from: of the maximum number of pixels (Px) representing the encompassing shape (F) on the current image (IM) in the first direction (U), and of the first dimension (Du) associated with the reference equipment (EQ), issue an alarm if the spatial resolution (Ru) according to the first direction (Du) is less than a spatial resolution reference (Ruref).

13. Rail vehicle (W) comprising a control system (S) according to claim 12.