# Image processing - Do you have any good ideas? | car license plate correction

**URL:** https://discourse.processing.org/t/image-processing-do-you-have-any-good-ideas-car-license-plate-correction/43647
**Category:** Project Guidance
**Created:** [January 8, 2024, 7:38am UTC](https://discourse.processing.org/t/image-processing-do-you-have-any-good-ideas-car-license-plate-correction/43647 "2024-01-08T07:38:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)
#### Post date: [January 8, 2024, 7:38am UTC](https://discourse.processing.org/t/image-processing-do-you-have-any-good-ideas-car-license-plate-correction/43647/1 "2024-01-08T07:38:01Z")

</div>

Image processing - Do you have any good ideas?  
car license plate correction

 ![fig](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/2/8/28fe5c11ece0a287e02d1687091abdb3bc25bc3b.jpeg)

hello. Thank you for your interest in my writing.

Please refer to the picture.  
The license plate is trapezoid-shaped. It is actually rectangular in shape.  
However, the ‘CCTV’ has a ‘trapezoid’ shape in the direction it is facing.

I want to make this into a ‘rectangle’ in software.  
Do you have any good ideas? Or is there an easy solution?

---

<div class="post-metadata">

### Author: ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)
#### Post date: [January 8, 2024, 6:58pm UTC](https://discourse.processing.org/t/image-processing-do-you-have-any-good-ideas-car-license-plate-correction/43647/2 "2024-01-08T18:58:55Z")

</div>

![fig](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/9/b/9b63729025e01a86d52570d755559d0416b3c9ed.jpeg)

`FILTER_2.copy(FILTER_1, 40*i, round(0.2*parameter_h*i) ,40,400-round(0.9*parameter_h*i), p_x,0,round(1.2*p_w_n),400);`

This was solved using the copy function.
